Difference between revisions of "ARIA Dialog Role with modal true"

From Level Access Web Labs
Jump to navigation Jump to search
Line 53: Line 53:
 
</html>
 
</html>
 
* JAWS 18 hides other content outside no matter what aria-modal is set to.
 
* JAWS 18 hides other content outside no matter what aria-modal is set to.
 +
* iOS 10+ attempts to block access to content outside the modal but fails by prevent access to some of the dialog as well!
 +
 
[[Category:ARIA]]
 
[[Category:ARIA]]

Revision as of 22:40, 8 June 2017

Notes

This example provides a popup with a role of dialog with an aria-labelledby and aria-describedby reference. Focus is not restricted to the dialog in this example.

Don't set focus to role dialog as screen reader virtual cursor is not working right with arrows if focus is set to role dialog.

Warning: aria-modal="true" causes huge problems with iOS 10.x/10.2. If it is added the dialog title and instructions are not accessible in the reading order.

Example

  • JAWS 18 hides other content outside no matter what aria-modal is set to.
  • iOS 10+ attempts to block access to content outside the modal but fails by prevent access to some of the dialog as well!