Rule: Verify aria-valuetext value.

Rule ID Widget 11
Conformance Required
Definition Verify that aria-valuetext describes the value of a range control.
Purpose
  • Range roles identify a value between a minimum or maximum value and whether the value can be changed by the user (e.g. scrollbar, slider or spinbutton).
  • When aria-valuetext is used in conjunction with aria-valuenow, screen readers render the value of aria-valuetext.
  • The advantage of using aria-valuetext is providing a better description of the value, for example a media player control could define the time position in a video (e.g. 2 minutes and 20 seconds).
Conformance Required
WCAG Success Criteria

Success Criterion 4.1.2 Name, Role, Value

Rule Category ARIA Widgets
Rule Scope Element
Techniques
  • The aria-valuetext attribute must be used in conjunction with the aria-valuenow attribute.
  • Use the aria-valuetext to provide an alternative to the percentage typically spoken by assistive technologies (e.g. "32 dollars", "78 degrees")
Information Links