php-coder / mystamps

The site about post stamps where you can create a virtual collection
https://my-stamps.ru
GNU General Public License v2.0
20 stars 33 forks source link

Improve site accessibility by adding role and aria-* attributes #1493

Open php-coder opened 3 years ago

php-coder commented 3 years ago

Read:

php-coder commented 3 years ago

Tools that might be helpful:

php-coder commented 3 years ago

All <div class="alert"> should also have role="alert" attribute.

php-coder commented 3 years ago

We also can try ChromeVox (https://support.google.com/chromebook/answer/7031755) or VoiceOver (https://webaim.org/articles/voiceover/).

php-coder commented 3 years ago

Add aria-invalid="true" (https://getbootstrap.com/docs/3.3/css/#forms-control-validation)

php-coder commented 3 years ago

Use <header> tag (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header).

php-coder commented 3 years ago

Use <main> tag (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main).

php-coder commented 12 months ago

Takeaways from https://youtu.be/gHb2bAwuwHM

Π‘ΠΌ. Ρ‚Π°ΠΊΠΆΠ΅: https://evilmartians.com/chronicles/html-best-practices-for-login-and-signup-forms