dequelabs / axe-core

Accessibility engine for automated Web UI testing
https://www.deque.com/axe/
Mozilla Public License 2.0
5.9k stars 773 forks source link

Should role=slider allow aria-valuetext as an alternative to aria-valuenow? #4515

Closed WilcoFiers closed 3 months ago

WilcoFiers commented 3 months ago

According to WAI-ARIA, aria-valuenow is required for role=slider, even if it has aria-valuetext. From NVDA, JAWS and VO testing it looks like aria-valuetext works well as an alternative. While slider is intended as a value input mechanic, it is often used in video players. Their time value is better expressed with text than it is with a number. Having a number there at all may be more confusing than helpful.