Progress bar
The dropdown React Carbon component has been tested against the latest W3C Web Content Accessibility Guidelines (WCAG) 2.1 Level A and AA success criteria.
Accessibility considerations
- If the progress bar is to show loading of a specific part or region of the
application, set
aria-busy="true"
andaria-describedby="[progressbar-id]"
on the related element to ensure assistive technologies can correctly convey this relation to the user. - Only hide the label when it is absolutely clear to the user which process the progress bar represents. Note that you are still required to pass an appropriate label which will be read by screen readers.
Resources
- The W3C WAI-ARIA: “progressbar” role guidance covers the usage of ARIA names, state and roles.
- IBM Accessibility Requirements:
- 1.3.1 Info and Relationships (WCAG Success Criteria 1.3.1)
- 4.1.2 Name, Role, Value (WCAG Success Criteria 4.1.2)
Accessibility testing
Automated, manual and screen reader accessibility verification test has been performed on the progress bar React Carbon Component.
Automated test
Automated test environment
Results
- macOS Big Sur version 11.13.1 with VoiceOver
- Chrome version 92.0.4515.131
- IBM Equal Access Accessiblity Checker 3.1.9 - 21 July 2021 ruleset
- Carbon React version 7.42.0
- Chrome version 92.0.4515.131
- IBM Equal Access Accessiblity Checker 3.1.9 - 21 July 2021 ruleset
- Carbon React version 7.42.0
IBM Equal Access Accessiblity Checker:
- No violations
- No violations