Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

fix(AlertBehavior) add missing aria-describedby to AlertBehavior when… #2208

Merged
merged 10 commits into from
Feb 9, 2020

Conversation

delprzemo
Copy link
Contributor

@delprzemo delprzemo commented Jan 3, 2020

This PR fixes issue with lack of aria-describedby in AlertBehavior when dismiss action is defined and type is different than warning/danger

Fixes #2197

@DustyTheBot
Copy link
Collaborator

DustyTheBot commented Jan 3, 2020

Warnings
⚠️ 1 perf regressions detected

Perf comparison

Status Scenario Fluent TPI Fabric TPI Ratio Iterations Ticks
🔧 Avatar.Fluent 0.72 0.49 1.47:1 2000 1439
🔧 Button.Fluent 1.61 0.21 7.67:1 1000 1607
🔧 Checkbox.Fluent 1.89 0.32 5.91:1 1000 1894
🔧 Dialog.Fluent 0.43 0.22 1.95:1 5000 2135
🔧 Dropdown.Fluent 4.66 0.49 9.51:1 1000 4656
🔧 Icon.Fluent 0.31 0.05 6.2:1 5000 1557
🔧 Image.Fluent 0.13 0.08 1.63:1 5000 629
🔧 Slider.Fluent 2.4 0.38 6.32:1 1000 2396
🔧 Text.Fluent 0.06 0.03 2:1 5000 298
🦄 Tooltip.Fluent 0.48 24.08 0.02:1 5000 2392

🔧 Needs work     🎯 On target     🦄 Amazing

Potential regressions comparing to master

Scenario Current PR Ticks Baseline Ticks Ratio
AvatarMinimalPerf.default 607 782 0.78:1
Perf tests with no regressions
Scenario Current PR Ticks Baseline Ticks Ratio
ItemLayoutMinimalPerf.default 1848 0 Infinity:1
GridMinimalPerf.default 1144 900 1.27:1
DropdownManyItemsPerf.default 608 504 1.21:1
IconMinimalPerf.default 1392 1181 1.18:1
Button.Fluent 1607 1394 1.15:1
PortalMinimalPerf.default 316 277 1.14:1
SliderMinimalPerf.default 2638 2420 1.09:1
Dialog.Fluent 2135 1957 1.09:1
AlertMinimalPerf.default 752 695 1.08:1
PopupMinimalPerf.default 462 431 1.07:1
Avatar.Fluent 1439 1347 1.07:1
ListMinimalPerf.default 837 786 1.06:1
Tooltip.Fluent 2392 2259 1.06:1
AnimationMinimalPerf.default 577 549 1.05:1
DialogMinimalPerf.default 2149 2076 1.04:1
SegmentMinimalPerf.default 1632 1569 1.04:1
TreeMinimalPerf.default 1114 1072 1.04:1
Image.Fluent 629 605 1.04:1
ChatWithPopoverPerf.default 779 756 1.03:1
MenuMinimalPerf.default 2272 2202 1.03:1
RefMinimalPerf.default 187 181 1.03:1
TableMinimalPerf.default 716 693 1.03:1
CustomToolbarPrototype.default 5020 4870 1.03:1
ToolbarMinimalPerf.default 940 910 1.03:1
Checkbox.Fluent 1894 1835 1.03:1
Dropdown.Fluent 4656 4526 1.03:1
Icon.Fluent 1557 1508 1.03:1
ButtonMinimalPerf.default 1562 1524 1.02:1
InputMinimalPerf.default 1283 1264 1.02:1
ProviderMergeThemesPerf.default 1433 1402 1.02:1
VideoMinimalPerf.default 876 860 1.02:1
HierarchicalTreeMinimalPerf.default 809 803 1.01:1
CheckboxMinimalPerf.default 8379 8370 1:1
HeaderSlotsPerf.default 1617 1624 1:1
LoaderMinimalPerf.default 3037 3034 1:1
ProviderMinimalPerf.default 758 759 1:1
ButtonSlotsPerf.default 2313 2326 0.99:1
ChatMinimalPerf.default 1876 1893 0.99:1
HeaderMinimalPerf.default 524 530 0.99:1
MenuButtonMinimalPerf.default 1761 1785 0.99:1
Text.Fluent 298 300 0.99:1
AttachmentSlotsPerf.default 4237 4310 0.98:1
TextAreaMinimalPerf.default 3790 3870 0.98:1
TooltipMinimalPerf.default 2780 2841 0.98:1
DividerMinimalPerf.default 1096 1127 0.97:1
AttachmentMinimalPerf.default 1227 1279 0.96:1
LabelMinimalPerf.default 1712 1776 0.96:1
SplitButtonMinimalPerf.default 14899 15489 0.96:1
EmbedMinimalPerf.default 8094 8505 0.95:1
RadioGroupMinimalPerf.default 441 466 0.95:1
StatusMinimalPerf.default 917 971 0.94:1
Slider.Fluent 2396 2558 0.94:1
ReactionMinimalPerf.default 3058 3287 0.93:1
AccordionMinimalPerf.default 191 208 0.92:1
ListCommonPerf.default 1320 1431 0.92:1
DropdownMinimalPerf.default 4382 4816 0.91:1
FormMinimalPerf.default 771 848 0.91:1
LayoutMinimalPerf.default 566 629 0.9:1
ChatDuplicateMessagesPerf.default 652 731 0.89:1
BoxMinimalPerf.default 239 273 0.88:1
CarouselMinimalPerf.default 2124 2518 0.84:1
FlexMinimalPerf.default 338 404 0.84:1
ImageMinimalPerf.default 504 631 0.8:1
TextMinimalPerf.default 245 306 0.8:1

Generated by 🚫 dangerJS

@delprzemo
Copy link
Contributor Author

delprzemo commented Jan 5, 2020

Need a tip how can I fix screener tests in that case.
child "apiKey" fails because ["apiKey" is not allowed to be empty]
Shouldn't that be handled by environment variables on the agent machines?

Edit. After checking screener.yml I guess it may be related to branch and PR via fork

Copy link
Contributor

@jurokapsiar jurokapsiar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@delprzemo sorry for the delay, this looks good. please update the branch to master and check if the changelog entry gets to the unreleased section. thanks for your contribution!

delprzemo pushed a commit to delprzemo/fluent-ui-react that referenced this pull request Jan 31, 2020
@delprzemo
Copy link
Contributor Author

@delprzemo sorry for the delay, this looks good. please update the branch to master and check if the changelog entry gets to the unreleased section. thanks for your contribution!

@jurokapsiar No problem. Branch updated to master - changelog entry in the unreleased section. I don't have write access so could you merge it?

@jurokapsiar jurokapsiar merged commit 9ca7217 into microsoft:master Feb 9, 2020
@jurokapsiar
Copy link
Contributor

foreced push despite failing screener - currently the integration does not work for forked repos. This PR does not introduce any visual changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AlertBehavior does not add aria-describedby to the dismiss action
3 participants