Re:Future CSS: State Container Queries
by lelandfe on Thursday June 29, 2023 @12:10AM
(#36516205)
I've been exploring using dialog for modals - what a11y issues does it have?
[ Parent
| on HN ]
There is currently a debate about these supposed a11y issues. Some are about what happens to focus after dismissal, some are about related elements and announcements, some are about buggy implementations and non support from screen readers.
However it is my belief that these were mostly true 2-3 years ago but the myth has remained. And people still belief there are issues.
I've heard from actual screen reader users that these supposed issues are mostly non-issue. And pale in comparison from people implementing their own.
Re:Future CSS: State Container Queries
by jakelazaroff on Friday June 30, 2023 @08:41AM
(#36533827)
* * *
> 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”