metapzl
metapzl
Jason hit the nail on the head. The issue here is not about focus. The issue here is that the callout needs a proper role in order for Narrator to...
My proposed fix changes aria-activedescendant={ (isOpen && (selectedIndex as number) >= 0 ? (id + '-list' + selectedIndex) : null) } into aria-activedescendant={ isOpen && (this.state.currentPendingValueValidIndex as number) >= 0...
@d-khoury it looks like @oengusmacinog didn't actually fix this; the PR #5461 has an explicit comment saying > Note only ContextualMenu has been converted, not ContextualMenuItem due to time constraints....
Does this do what you want, by the way? @Basek https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/FloatingPicker
Not just usage strings, we should not have two different aria labels at all! It should be a role=switch with aria-checked=true|false (ARIA 1.1) or role=checkbox with aria-checked=true|false (ARIA 1.0).
@dzearing -- if this PR looks good, feel free to assign to me
@ThomasMichon Um. What. The *correct element* needs to have focus, and the correct metadata needs to be used to convey the correct thing. Do you mind sharing the errant HTML...
I have bigger issues with the SwatchColorPicker... and that's even with its visual representation. 5424, as an issue, though, is either with Narrator or runs deeper. The role used for...
> in any scenario where completion of the dropdown is optional, it is currently not possible for a keyboard navigation user to tab over the field without selecting a value....
> Make the placeholder the first, hidden item in the list, and make that the default selected item. This will allow us to provide an accesible experience while maintaining our...