Read This First
No ARIA is better than Bad ARIA. Before using any ARIA, read this to understand why.
How to build accessibility semantics into web patterns and widgets
No ARIA is better than Bad ARIA. Before using any ARIA, read this to understand why.
A meter is a graphical display of a numeric value that varies within a defined range. For example, a meter could be used to depict a device's current battery percentage or a car's fuel level.
meter should not be used to represent a value like the current world population since it does not have a meaningful maximum limit.meter should not be used to indicate progress, such as loading or percent completion of a task.
To communicate progress, use the progressbar role instead.
Not applicable.
aria-valuemin and aria-valuemax representing the current value of the meter.aria-valuemax.aria-valuemin.aria-valuenow as a percentage.
If conveying the value of the meter only in terms of a percentage would not be user friendly, the aria-valuetext property is set to a string that makes the meter value understandable.
For example, a battery meter value might be conveyed as aria-valuetext="50% (6 hours) remaining".
meter.
Otherwise, the element with role meter has a label provided by aria-label.
This is an unpublished draft preview that might include content that is not yet approved. The published website is at w3.org/WAI/.