dialog icon indicating copy to clipboard operation
dialog copied to clipboard

Accessibility error: ARIA hidden element must not contain focusable elements

Open Ke1sy opened this issue 3 years ago • 0 comments

Description: The issue is that the div elements are focusable and have the attribute "aria-hidden="true" at the same time. image image Tools: axe Devtools, Chrome Proposed solution: When the dialog is visible: set "aria-hidden="false" and tabIndex="0" When the dialog is not visible: set "aria-hidden="true" and tabIndex="-1"

Ke1sy avatar Apr 21 '22 08:04 Ke1sy