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
To my knowledge, ARIA doesn't support a role of either bar or spinner. A full list of roles can be found here. My concern is that, from the accessibility side of things, it may be teaching folks to use roles which don't convey any meaningful information to assistive technology like a screen reader.
There is a progressbar role, which seems closer to what you're after. I guess since a spinner is a kind of indeterminate progressbar you could also use that role, combined with the recommendation from the spec:
The author should supply values for aria-valuenow, aria-valuemin, and aria-valuemax, unless the value is indeterminate, in which case the author should omit the aria-valuenow attribute.
The text was updated successfully, but these errors were encountered:
I was recently looking through a list of the most used ARIA roles according to HTTP Archive and found that the 15th most common one is
role="bar"
. Doing some BigQuery sleuthing I discovered that much of the usage may be coming from this library.To my knowledge, ARIA doesn't support a role of either
bar
orspinner
. A full list of roles can be found here. My concern is that, from the accessibility side of things, it may be teaching folks to use roles which don't convey any meaningful information to assistive technology like a screen reader.There is a
progressbar
role, which seems closer to what you're after. I guess since a spinner is a kind of indeterminateprogressbar
you could also use that role, combined with the recommendation from the spec:The text was updated successfully, but these errors were encountered: