aria-valuemin
Characteristics
Type:
- String
Related Concepts:
- XForms
- range
Used in Roles:
- range
Inherits into Roles:
- progressbar
- scrollbar
- slider
- spinbutton
Value:
- number
Sets or retrieves the minimum value that a user can provide.
The aria-valuemin and aria-valuemax properties together specify the allowable range of an entry field, whereas the aria-valuenow property specifies the value currently selected.
A range widget may start with a given value, which can be decreased until a minimum value, defined by this property, is reached.
Declaring the minimum and maximum values allows alternate devices to react to arrow keys, validate the current value, or simply let the user know the size of the range. If the aria-valuenow has a known maximum and minimum, the author should provide properties for aria-valuemax and aria-valuemin.
Authors must ensure the value of aria-valuemin is less than or equal to the value of aria-valuemax.
Note For cross-browser compatibility, always use the aria attribute syntax to access and modify aria properties, for example object.setAttribute("aria-valuenow", newValue).
Syntax
HTML <element aria-valuemin="p" ... > JavaScript object.setAttribute("aria-valuemin",value);var value = object.getAttribute("aria-valuemin");
Microsoft Active Accessibility Properties:
- MinimumProperty (RangeValue Pattern)
UI Automation Properties:
- valuemin
UI Automation AriaProperties Property:
- N/A