shoelace-style/shoelace
View on GitHubA11y issue: sl-range tooltip is read by screen reader on every update to value
Open
#2,406 opened on Mar 19, 2025
buggood first issuehelp wanted
Repository metrics
- Stars
- (13,867 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Describe the bug
<sl-range> has an accessibility bug where narrator will announce the text of the slider's tooltip any time it changes. This causes a problem for video and audio players that use sl-range for the track position: narrator announces the position of the video/audio as it's playing over and over again.
Here's a video showing the problem (sound on):
https://github.com/user-attachments/assets/13372537-6a7f-4ad0-b0a2-bd8ead9506d4
https://judahtemp.b-cdn.net/sl-range-a11y-narrator-bug.mp4
To Reproduce
Steps to reproduce the behavior:
- Create a page with
<sl-range>on it. - Change the sl-range value every second.
- Bug: Narrator on Windows will announce the new sl-range value every time it changes because of sl-range tooltip.
Demo
Screenshots
Browser / OS
- OS: Windows, though this may also be present on Mac.
- Browser: Chrome
- Browser version: 134