You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The optimum attribute and related feature is only relevant to sighted users 1. Is there a use-case for making a style hook out of it? e.g. set [data-optimum] when the value is in the "optimum" segment (high, medium, or low, as determined by high/low/min/max props)
Reminds me a bit of mui/material-ui#22472 about the Stat component and which Sebastian asked about Meter. I guess success would be if it Base UI Meter component helps build a Stat component.
A generic stat like this is prob not an appropriate use of <meter>. Meter is typically used to indicate how much of x is left. Like a battery indicator or disk space indicator. But in any case, we'll just implement it based on ARIA and other guidelines and people can build on it however they want.
Meter pattern: https://www.w3.org/WAI/ARIA/apg/patterns/meter/
TBD
optimum
attribute and related feature is only relevant to sighted users 1. Is there a use-case for making a style hook out of it? e.g. set[data-optimum]
when the value is in the "optimum" segment (high, medium, or low, as determined byhigh
/low
/min
/max
props)Footnotes
https://www.htmhell.dev/adventcalendar/2022/5/ ↩
The text was updated successfully, but these errors were encountered: