aria-modal usage note needs more information on how misuse will impact assistive technology users #2204
Labels
editorial
Changes to prose that don't alter intended meaning, e.g., phrasing, grammar. May fix inaccuracies.
Pattern Page
Related to a page documenting a Pattern
The following note on https://www.w3.org/TR/wai-aria-practices-1.1/ mentions severe negative ramifications of aria-modal misuse.
"Because marking a dialog modal by setting aria-modal to true can prevent users of some assistive technologies from perceiving content outside the dialog, users of those technologies will experience severe negative ramifications if a dialog is marked modal but does not behave as a modal for other users. So, mark a dialog modal only when both:
I found this note hard to enforce because I could not articulate the severe negative ramifications of aria-modal misuse with an example.
I work with a team that has created a modal user experience for non-sighted screen reader users and a non modal experience for sighted mouse users by using aria-modal="true" without preventing mouse usage outside of the dialog and without visually obscuring the content outside of the dialog.
I think an example(s) will educate me and help demonstrate why this should not be done.
The text was updated successfully, but these errors were encountered: