Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
JAWS still exposes document elements when aria-modal dialog is open #179
Following up on testing #91, the virtual cursor and hot keys are limited to navigating the contents of a
Expected that elements beneath the modal dialog would be hidden from JAWS while the modal dialog remained active.
Can access links, headings, and various other elements of the base document if opening their respective JAWS element dialog modals (e.g. Insert + F6).
FWIW, NVDA 2018.4.1 does not list any elements within their elements dialog, aside from those within the opened modal dialog.
VoiceOver on macOS 10.14.3 with Safari work similarly to JAWS 2019, in that the VoiceOver rotor also exposes elements beneath the modal dialog.
JAWS version and build number
JAWS 2019 (latest build as of March 2019)
Operating System and version
Browser and version:
IE11, Firefox 65.0.2, Chrome 72
July 2019 update
2 - While waiting for this issue to be resolved, a workaround using aria-hidden cab be applied as follows:
Example code (elided): Using aria-hidden.
When a dialog is not visible set aria-hidden="false", or remove the attribute, on the container element for any non-dialog content:
The aria-hidden technique only works if the dialog contents is not a child of the DOM node that hosts the aria-hidden attribute. The technique is detrimental if a dialog is invoked or injected into the content as a child node. The element is enjoying increasing support and may eliminate the need for these ARIA attributes and polyfills/hacks.
i have yet to see evidence of increasing support (for the
As mentioned, the
The problem with aria-modal is not solved in IE 11. In the example https://www.w3.org/TR/wai-aria-practices-1.1/examples/dialog-modal/dialog.html aria-modal=true or aria-modal=false has no effect on the output. Decisive is the role=dialog, which limits linear reading to the pop-up. If role=dialog is removed, the whole page can also be read with aria-modal=true. Therefore the #91 should be opened again.