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

Accessibility: aria-relevant causes too much speech #376

Open
bert-github opened this issue Sep 3, 2021 · 0 comments
Open

Accessibility: aria-relevant causes too much speech #376

bert-github opened this issue Sep 3, 2021 · 0 comments

Comments

@bert-github
Copy link

When using a screen reader and advancing to the next slide, the screen reader first speaks the contents of the previous slide before speaking the contents of that next slide. That means it takes time before you hear the new slide. And it doesn't seem useful to repeat the slide you just left.

Shower tells screen readers to speak the current slide by creating an element with aria-live=assertive and putting a copy of the current slide in it. However, it also sets the attribute aria-relevant=all on that element, which causes screen reader to speak not just the new content, but also the content that was just removed.

Shower should probably not set aria-relevant=all, but leave aria-relevant at its default value (aria-relevant="additions text", see https://www.w3.org/TR/wai-aria-1.2/#aria-relevant).

The code that sets this attribute appears to be on line 6 in core/lib/modules/a11y.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant