-
Notifications
You must be signed in to change notification settings - Fork 34
Improve site accessibility by adding role and aria-* attributes #1493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
All |
We also can try ChromeVox (https://support.google.com/chromebook/answer/7031755) or VoiceOver (https://webaim.org/articles/voiceover/). |
Add |
Use |
Use |
…omponent This change is also needed by #1484: - the "role" attribute makes the alert "searchable" by screen.getByRole() - the "aria-label" attribute makes the form "searchable" by screen.getByRole() (testing-library/dom-testing-library#474 (comment)) Part of #1493
Takeaways from https://youtu.be/gHb2bAwuwHM
См. также: https://evilmartians.com/chronicles/html-best-practices-for-login-and-signup-forms |
Read:
area-label
: https://stackoverflow.com/questions/22039910/what-is-aria-label-and-how-should-i-use-itaria-describedby
: https://stackoverflow.com/questions/4582694/what-is-the-meaning-of-the-aria-describedby-property (see the example with Logout especially)The text was updated successfully, but these errors were encountered: