Skip to content
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

Certain types of notifications should be aria-live=assertive #5768

Closed
10 tasks
rolfsmeds opened this issue Apr 18, 2023 · 0 comments · Fixed by #7758
Closed
10 tasks

Certain types of notifications should be aria-live=assertive #5768

rolfsmeds opened this issue Apr 18, 2023 · 0 comments · Fixed by #7758
Assignees
Labels
a11y Accessibility issue enhancement New feature or request vaadin-notification

Comments

@rolfsmeds
Copy link
Contributor

What is the problem?

Notifications are currently always aria-live=polite, which can delay their announcement by screen readers significantly. Certain types of notifications, e.g. errors, should probably be announced immediately as they occur, as the continued use of the application may be affected.

An API should be introduced to notifications that allows the developer to change them to be aria-live="assertive".

Java API proposal: setAssertive(true)
WC API propsal: assertive boolean attribute/property

Browsers

  • Chrome
  • Firefox
  • Safari
  • Safari on iOS
  • Edge

Screen Readers

  • None
  • NVDA
  • JAWS
  • VoiceOver on MacOS
  • VoiceOver on iOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility issue enhancement New feature or request vaadin-notification
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants