mui / mui/base-ui

[meter] Support `<meter>` element's high/low/optimum attributes

Open
#1,434 2 comments 1 reaction 0 assignees View on GitHub
component: meter type: new feature
Dominant language
TypeScript
Stars
10.9k
Forks
543
Avg merge
1d 20h
Merged PRs (30d)
101

Description

Split from https://github.com/mui/base-ui/pull/743

The HTML `` element is able to segment the range into high/medium/low segments and indicate which "pole" is optimum for sighted users, but there's no ARIA equivalent.

The native functionality of HTML meter which uses `high` `low` and `optimum` attributes have poor browser support: https://www.htmhell.dev/adventcalendar/2022/5/

One way the Meter component could support this is by providing this in `aria-valuetext` as suggested in https://github.com/w3c/aria/issues/451#issuecomment-252804380

This is expected to be considered for ARIA 1.3/1.4: https://github.com/w3c/aria/issues/1336

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.