4 ms·
I don't know who else is doing it but my team and I always use semantic HTML, including dialog elements It is, unfortunately, the least I can do to respect the
by micromodel 2y ago
I don't know who else is doing it but my team and I always use semantic HTML, including dialog elements
It is, unfortunately, the least I can do to respect the user, since I have no control over the decision to load horrible tracking scripts onto their browser.
- RobMurray 2y agoI really wish everyone would use semantic HTML wherever possible. The gains for accessibility are huge. Take a JS dialog or pop-up menu, for example. You would think it would be easy for everyone to use, but a screen reader user might not even be aware that it’s there in the first place. Even when they do, they still need to find it in a linear and possibly very cluttered representation of the page. It could be right next to the "open menu" button, at the bottom of the page, or somewhere else entirely. The menu/dialog could also disappear as soon as they move the focus in an attempt to find it! These are all things I put up with regularly. I think anything that makes accessibility easier for developers is a good thing, especially if it just works without having to think about accessibility.