WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Semi-inert modals

for

From: Bryan Garaventa
Date: Apr 5, 2022 4:38PM


No problem, that does sound correct to me.

As long as you use the correct role and supporting attributes for the dialog markup, move focus into the dialog when it's rendered, manage tabbing correctly while focus is within the dialog, provide an intuitive mechanism/active element for closing or submitting the dialog, then move focus back to the triggering element if applicable after the dialog is removed, you should then have an accessible dialog.

Of course, you still need to make sure that everything the dialog contains is accessible, so please don't forget that part.

All the best,
Bryan


Bryan Garaventa
Principal Accessibility Architect
Level Access, Inc.
<EMAIL REMOVED>
415.624.2709 (o)
www.LevelAccess.com