3 ms·
Ironically, it's because of the ARIA Authoring Practices guidelines[1], which include exactly this sort of nonsense[2]. [1] https://www.w3.org/TR/wai-aria-prac
by inopinatus 6y ago
Ironically, it's because of the ARIA Authoring Practices guidelines[1], which include exactly this sort of nonsense[2].
[1] https://www.w3.org/TR/wai-aria-practices/ https://www.w3.org/TR/wai-aria-practices/
[2] https://www.w3.org/TR/wai-aria-practices/#examples https://www.w3.org/TR/wai-aria-practices/#examples
- ogre_codes 6y agoI was listening to a podcast and they were talking about using semantic HTML instead of piles of divs. One of the things they mentioned was that a survey of public web sites showed that the presence of ARIA in html was usually a sign that a site would have poor usability. Mostly because it's a sign that the site has abandoned standard HTML and went their own way and tried to patch things up by smearing aria properties everywhere.
- TheCoelacanth 6y agoThat seems like a misinterpretation of ARIA guidelines. I'm pretty sure the guidelines are meant as "if you are going to use a div as a button, do this", not "do this instead of using a button".
- inopinatus 6y agoQuite so.