WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: JAWS, modals, and aria-labelledby

for

From: Bryan Garaventa
Date: Jul 28, 2015 9:57PM


Hi,
Technically for a modal dialog, the accessible name assigned via aria-label/labelledby is reflective of the dialog title, and isn't meant to convey all of the static content for the dialog. All of the static content is supposed to be assigned using aria-describedby on the same element as role=dialog and aria-label/labelledby. So, the label is the dialog title, and the description is the static text for the dialog.

(E.G http://whatsock.com/training/matrices/#dialog )

All the best,
Bryan