aria-valuemin
{{AccessibilitySidebar}}
The aria-valuemin
attribute defines the minimum allowed value for a range widget.
Description
The aria-valuemin
attribute defines the minimum value allowed for range widgets. It is similar to the min
attribute of {{HTMLElement('progress')}}
, {{HTMLElement('meter')}}
, and {{HTMLElement('input')}}
of type range
, number
and all the date-time types.
When creating a range type role, including meter
, scrollbar
, slider
, and spinbutton
on a non-semantic element, the aria-valuemin
enables defining a minimum that is less than the maximum value and is a required attribute of slider
, scrollbar
and spinbutton
.
Declaring the minimum and maximum values allows assistive technologies to convey the size of the range to users.
The maximum value is defined with aria-valuemax
.
[!WARNING] The
range
role itself should NOT be used as it is an “abstract”. Thearia-valuemin
attribute is used on all of the range roles subtypes.
Values
<number>
- : A decimal number, below the maximum value.
Associated interfaces
{{domxref("Element.ariaValueMin")}}
- : The
ariaValueMin
property, part of the{{domxref("Element")}}
interface, reflects the value of thearia-valuemin
attribute.
- : The
{{domxref("ElementInternals.ariaValueMin")}}
- : The
ariaValueMin
property, part of the{{domxref("ElementInternals")}}
interface, reflects the value of thearia-valuemin
attribute.
- : The
Associated roles
Used in roles:
Inherited into roles:
Specifications
{{Specifications}}