4 ms·
Looks like the sibling comment is correct and that <dialog> a11y has improved recently: https://adrianroselli.com/2020/10/dialog-focus-in-screen-readers.html#Up
by jakelazaroff 3y ago
Looks like the sibling comment is correct and that <dialog> a11y has improved recently: https://adrianroselli.com/2020/10/dialog-focus-in-screen-readers.html#Update01 https://adrianroselli.com/2020/10/dialog-focus-in-screen-rea...
I still would be careful using it! MDN has a section on accessibility considerations: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog#accessibility_considerations https://developer.mozilla.org/en-US/docs/Web/HTML/Element/di...
The W3C also has a pretty great set of examples of how to make complex widgets like dialogs accessible (not that a11y is just a checklist): https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/ https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/
- lelandfe 3y ago> I still would be careful using it! MDN has a section on accessibility considerations In fact, it seems pretty unequivocal: “The native HTML <dialog> element should be used in creating modal dialogs”