meter-name-present
Meters have an accessible name
automaticWCAG 1.1.1 (A)confidence: highseverity: seriousperceivable
Checks that elements with role="meter" expose a non-empty accessible name.
Applies to. Applies to elements carrying role="meter" (the attribute must name that role alone, not a fallback list) that are included in the accessibility tree. An element with the matching implicit role but no role attribute is out of scope.
Expectation. The element has a non-empty accessible name from aria-label, from an aria-labelledby that resolves to non-empty text, or from title. role="meter" is name-from-author-only, so subtree text is never accepted: text sitting inside a custom meter widget is not reliably exposed as its name.
Examples
pass
<div role="meter" aria-valuenow="80" aria-label="Disk usage"></div>
`aria-label` names the meter.
fail
<div role="meter" aria-valuenow="80"></div>
No accessible name from any supported mechanism.