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
There is no ARIA role bar and no role spinner. An automated accessibility checker would have picked this up. You can see a full list of roles at the ARIA 1.1 spec. As it stands now, this constitutes a WCAG failure.
I suggest rebuilding this to expose correct roles, states, and properties so the browser accessibility APIs can convey the progress bar to assistive technology users.
The text was updated successfully, but these errors were encountered:
For anyone who doesn't want to use a fork, you can fix this issue by using Nprogress.configure(). You need to update the template with a custom one without the invalid aria roles. You will also need to update barSelector and spinnerSelector as they try to select via the role by default. Here is what I used:
The animated line has this construct:
The spinner has this construct:
There is no ARIA role
bar
and no rolespinner
. An automated accessibility checker would have picked this up. You can see a full list of roles at the ARIA 1.1 spec. As it stands now, this constitutes a WCAG failure.I suggest rebuilding this to expose correct roles, states, and properties so the browser accessibility APIs can convey the progress bar to assistive technology users.
The text was updated successfully, but these errors were encountered: