New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Progress Bar Examples have accessibility issues #36714
Comments
Yeah, would make sense to give them an accName...something generic for these demo ones anyway. maybe even a little callout about doing so |
thanks Patrick. I'll make a PR to add the aria-label. I don't think we need to add an additional note about it because it already has this near the top which covers it:
|
@coliff already started making a PR, so no worries :) |
ah ok - great thanks. I got stuck at naming the aria-labels anyway :-D |
ditto...i think i'm just going to go with something generic like "example" or similar. and something a bit more creative for the stacked bars example |
* also expands advice in progress.md, explicitly mentions giving them an accName, and includes the callout about using color to convey meaning * updates cheat sheets, but note that for the RTL one, my arabic is...lacking. we should get somebody who knows what they're doing to translate those `aria-label`s properly Closes #36714
Prerequisites
Describe the issue
The provided examples at: https://getbootstrap.com/docs/5.2/components/progress/ have accessibility issues reported by both Google Lighthouse and Webhint.io
I think that the progress bar should have a non-empty
aria-label
attribute or atitle
.REF:
https://dequeuniversity.com/rules/axe/4.4/aria-progressbar-name?application=axeAPI
Let me know what you think, I'd be happy to open a PR...
(I realise this might be flagged as an accessibility issue incorrectly and maybe the
aria-valuenow
,aria-valuemax
andaria-valuetext
attributes are enough? cc @patrickhlauke )Reduced test cases
Webhint screenshot:
Lighthouse screenshot:
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Microsoft Edge
What version of Bootstrap are you using?
v5.2.0-beta1
The text was updated successfully, but these errors were encountered: