Fluentui: FocusTrapZone's trapping elements need to be hidden

Created on 30 Jul 2020  路  3Comments  路  Source: microsoft/fluentui

The focus trap zone uses focusable <div>s to trap focus (called "bumpers"). Because these are tab stops, the screen reader ascribes special behaviors to them. But they aren't actually meant to be noticed by the user. Therefore, they should have aria-hidden="true" added to them.

https://github.com/microsoft/fluentui/blob/e7b119a05ef8a4aa254df00320f3672298617ade/packages/office-ui-fabric-react/src/components/FocusTrapZone/FocusTrapZone.tsx#L113

Accessibility FocusTrapZone Fluent UI react Fixed Type

Most helpful comment

Agreed. @phkuo - feel free to shoot a PR :)

All 3 comments

@smhigley - Thoughts on the right a11y behavior here?

@phkuo You willing to submit a PR 馃槃 ?

Agreed. @phkuo - feel free to shoot a PR :)

:tada:This issue was addressed in #14376, which has now been successfully released as [email protected].:tada:

Handy links:

Was this page helpful?
0 / 5 - 0 ratings