Hacker News new | past | comments | ask | show | jobs | submit login

1. Low Contrast Text: use Google Lighthouse [1]

2. Missing Alternative Text for Images: use attributes alt=, aria-label=, aria-labelledby=

3. Empty Links: use attributes aria-label=, aria-labelledby=

4. Empty Buttons: use attributes aria-label=, aria-labelledby=

5. Missing Form Input Labels: use <label>s

6. Missing Document Language: use lang=

Like many problems with the modern web, the solution is to use well formed HTML5 with the aria-label* attributes used to address edge cases.

[1] https://developers.google.com/web/tools/lighthouse




Applications are open for YC Winter 2021

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

Search: