Skip to content

Accessibility issue in FocusTrapZone #8697

Description

@cnamal

Accessibility insights shows the following error with FocusTrapZones:

aria-hidden-focus: ARIA hidden element must not contain focusable elements WCAG 4.1.2

I believe the issue is on the following line:
https://github.com/OfficeDev/office-ui-fabric-react/blob/24937f2580a0bd608c7114d1afd43b4536f8c74d/packages/office-ui-fabric-react/src/components/FocusTrapZone/FocusTrapZone.tsx#L74

I don't think the aria-hidden is necessary since the divs it's applied to are empty, though I might be mistaken.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions