Stepper and Stepper Item - Ensure custom controls provide proper textual name, role, and state information - (2036570226) #5602
Labels
4 - verified
Issues that have been released and confirmed resolved.
a11y
Issues related to Accessibility fixes or improvements.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
c-stepper
Issues that pertain to the calcite-stepper component
estimate - 5
A few days of work, definitely requires updates to tests.
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Milestone
Module:
31 Stepper and Stepper Item
Violation:
Ensure custom controls provide proper textual name, role, and state information
WCAG Reference:
Instance ID:
2036570226
Severity:
7
Description:
[Issue]
The current step information is not communicated to JAWS users
[User Impact]
Screen reader users will have difficulty determining the purpose and state of these controls.
[Code Reference]
Note:
[Suggestion]
Ensure custom controls provide proper textual name, role, and state information.
A control's state indicates several possible pieces of information. Common states include expanded, current, selected, checked, and disabled. Most are indicated with similarly named ARIA attributes. Certain states can only be used with certain roles. For a list of roles and their allowed states, see the ARIA specification: https://www.w3.org/TR/wai-aria/#role_definitions
A proper ordered list can also be used with a list item that includes every step and it's respective text. Visually hidden text can be used to indicate the current and completed steps.
[Compliant Code Example]
[Recommended Reading]
More information on how to indicate progress, reference approach 4 in "Multi-page forms" best practices:
https://www.w3.org/WAI/tutorials/forms/multi-page/
More information about the correct use of ARIA states, roles and properties can be found on the Level Access website:
https://www.levelaccess.com/how-not-to-misuse-aria-states-properties-and-roles/
Media Type:
Custom Controls
Additional Resources:
The text was updated successfully, but these errors were encountered: