ChoiceGroup A11y Pass
Tracking all of the issues brought up with the 10/23 accessibility pass on ChoiceGroup control Details on individual bugs can be found on SharePoint
- [x] ~~Bug 1: [Accessibility][Usable]: Screen starts scrolling down after navigating last 'Mark displayed items as read after' drop down items using down arrow key.~~ Doesn't repro anymore.
- [x] ~~Bug 2: [Accessibility][Keyboard navigation]: Focus order is not correct while navigating 'ChoiceGroup with dropdown' radio buttons.~~ Fixed in #8107.
- [x] ~~Bug 3: [Accessibility][Programmatic access]: 'Required' text is not visually present for 'Here is a custom label' mandatory field.~~ Fixed in #8118.
- [x] ~~Bug 4: [Accessibility][Programmatic access]: Name of the drop down under 'ChoiceGroup with dropdown' section is not provided.~~ Fixed in #8107.
- [x] ~~Bug 5: [Accessibility][Usable]: Narrator focus is not visible while navigating through radio buttons.~~ Fixed in #8126.
- [x] ~~Bug 6: [Accessibility][Usable]: Scan mode focus goes on some hidden content after 'Show code' button.~~ Doesn't repro anymore.
- [x] ~~Bug 7: [Accessibility][Screen reader]: Radio buttons have two scan mode focus.~~ By design.
- [x] ~~Bug 8: [Accessibility][Screen reader]: Narrator does not convey collapsed state of 'Mark displayed items as read after' drop down.~~ Duplicate of #5752.
- [x] ~~Bug 9: [Accessibility][Programmatic access]: 'Selected state' is not defined for 'ChoiceGroup with icons- week radio button.~~ Fixed in #8112.
- [x] ~~Bug 10: [Accessibility][Programmatic access]: 'Role=application' should not be implemented.~~ By design.
- [x] ~~Bug 11: [Accessibility][Usable][Suggestion]: Radio group could be better labelled using 'field set' and 'legends'.~~ By design.
Component: ChoiceGroup @micahgodbolt
Bug 2
Hi @TestAccessibilityGIT can you provide more detail on what do you mean by "focus order not being correct". What are your expectations for the focus order while navigating "ChoiceGroup with dropdown" radio buttons?
Bug 3
Hi @TestAccessibilityGIT, can you tell me what exactly do you mean by "'Required' text not visually present"?
Bug 4
Hi @TestAccessibilityGIT, just wanted to check if you meant that the "label" and "aria-label" attributes in the dropdown were not set when you say "name of dropdown under 'ChoiceGroup with dropdown' section is not provided".
Bug 2 Hi @khmakoto when we have selected "Option B" under "ChoiceGroup with dropdown" then on tabbing, focus should land on "Option B". But here focus is landing on "Mark displayed items as read after 5 seconds" which doesn't seems to be logical.
Bug 3 Hi @khmakoto, by "require/mandatory" field we mean * sign which generally displayed to show that it's mandatory/required to be field. '*' has been implemented for other choices but not in case of "Here is a custom label".
Bug 4
Hi @khmakoto, here screen reader is reading the "Pick one" label which is actually the label for group of radio groups. In this case screen reader should read the name as "Mark displayed items as read after" then the selected options.
Bug 5 and 6 Hi @khmakoto, please turn on screen reader in scan mode then follow the steps mentioned in bug report. Please let us know if you still find any issue which reproducing this issue.
I'll cross out Bug 10 since in the code we have comments specifying that we need role=application assigned on the containing div because JAWS doesn't recognize OnKeyDown without this role.
Crossing out Bug 1 as it seems that this issue has been fixed and doesn't repro anymore.
Bug 3
Hi @TestAccessibilityGIT, on the Sharepoint Sheet, in the 'Expected result' section of this bug, you say:
'Required' attribute should not be implemented on each radio options. Screen reader shouId convey this information on selected option in forward navigation/backward navigation.
Would the fix here be to only implement the required attribute on the selected radio options and leave it out of the other ones?
Crossing out Bug 8 as it is an underlying issue with the Dropdown component that is being tracked in #5752.
+Amit
Bug 3
After going through the spec I've found out the recommendation for required is to have the prop set on all radio buttons of a group:

Given this, I'll just fix the first part of the issue.
Bug3:
As a best screen reader experience and coding practice we should implement radio group as fieldset and legend as mentioned in Bug 11, Upon implementing this screen reader will read required only once if we provide aria-required=true attribute in legend/fieldset. Implementing Required in each radio button will confuse the user as he can select only one radio button at a time and also here for disabled radio button as well its being read as required which is confusing.
Crossing out Bug 6 as it seems that this issue has been fixed and doesn't repro anymore.
:tada:This issue was addressed in #8112, which has now been successfully released as [email protected].:tada:
Handy links:
:tada:This issue was addressed in #8126, which has now been successfully released as [email protected].:tada:
Handy links:
:tada:This issue was addressed in #8118, which has now been successfully released as [email protected].:tada:
Handy links:
:tada:This issue was addressed in #8107, which has now been successfully released as [email protected].:tada:
Handy links:
+Amit
From: Humberto Makoto Morimoto Burgos [email protected] Sent: Friday, March 1, 2019 9:01:50 AM To: OfficeDev/office-ui-fabric-react Cc: Arvind Prakash (HCL America Inc); Mention Subject: Re: [OfficeDev/office-ui-fabric-react] ChoiceGroup A11y Pass (#6844)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOfficeDev%2Foffice-ui-fabric-react%2Fissues%2F6844%23event-2174584393&data=02%7C01%7Cv-arvpra%40microsoft.com%7Cb908dc9df4f347ad490208d69e679914%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636870565124408880&sdata=ZtOBaLrErzLrKth%2Buzqo6aov5Du%2Bvaqd%2BYGIB0Gkles%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUUZoL-8ft7ZZ5w1vojCq7lV9St_Qoryks5vSVz-gaJpZM4X5G2U&data=02%7C01%7Cv-arvpra%40microsoft.com%7Cb908dc9df4f347ad490208d69e679914%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636870565124418878&sdata=XuDArggjKP5lRpPTrO7h0eVXBfX6YiGFs6YvPhV0slg%3D&reserved=0.