3 ms·
I 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
by RobMurray 2y ago
I 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.