WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: aria-hidden for content outside modal dialog?

for

From: Jonathan Avila
Date: Oct 16, 2015 11:40AM


> Therefore it is best to use aria-hidden="true" on all page content outside of a modal dialog.
> There have been discussions on whether it is sufficient to lock the keyboard navigation within the dialog, and to clearly mark it as such for assistive technologies (use the dialog role and an accessible name provided through aria-label or aria-labelledby).

As a side note -- according to the ARIA spec aria-hidden of true should be ignored by user agents and assistive technology when applied to focusable content. So even though aria-hidden should be applied to everything behind the modal, in theory it won't really be hiding the focusable content of the page from AT.

Jonathan

-- 
Jonathan Avila 
Chief Accessibility Officer
SSB BART Group 
<EMAIL REMOVED>
Phone 703.637.8957  
Follow us: Facebook | Twitter | LinkedIn | Blog | Newsletter