Remove aria-live="polite" when slider is not focused
See original GitHub issue.slick-list
has aria-live="polite"
on it, which tells screen readers to speak the content inside whenever it changes. This is great for the most part, but not ideal when you’re not interacting with the slider.
For example, imagine a screen reader scrolling down the page, past the slider, and still having the slide content read to them because aria-live
exists on the element. It would be confusing to say the least.
I propose removing the aria attribute unless an element inside the slider is focused.
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
ARIA live regions - Accessibility - MDN Web Docs - Mozilla
aria -live="polite" indicates that the screen reader should wait until the user is idle before presenting updates to the user. This is the...
Read more >Developers - Remove aria-live="polite" when slider is not focused -
.slick-list has aria-live="polite" on it, which tells screen readers to speak the content inside whenever it changes. This is great for the most...
Read more >Using Aria-live - CCC Accessibility Center
The first one is aria-live="off." Assistive technologies should not announce updates unless the assistive technology is currently focused on that region.
Read more >Hiding and updating content - web.dev
When an element has an aria-live attribute, the part of the page containing it and its descendants is called a live region.
Read more >Using aria-live - AccessibilityOz
drag and drop, resize, hide. and show, open and shut, ... build non-native widgets,. such as modems, in page tabs, ... div aria...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
PR to remove aria live #2843
Closed by https://github.com/kenwheeler/slick/pull/2843