Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Using the correct semantic element goes a huge way for people using screen readers and other assistive tech. One of the things I hate most about react/vue is how casually people use divs for everything from inputs to images. Over 20% of people use some assistive tech, whether that be zoom, contrast controls, screen readers, etc. Even if you can't test all this, being aware of it when building/coding is a huge step forward.


I wrote a small tool to test for this https://github.com/prettydiff/semanticText




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: