ARIA Dialog Role with modal true

From Level Access Web Labs
Revision as of 18:50, 7 June 2017 by Javila (talk | contribs)
Jump to navigation Jump to search


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.


  • JAWS 18 hides other content outside no matter what aria-modal is set to.