Skip to content
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

Stepper lacks accessibility #43689

Open
jacklaurencegaray opened this issue Sep 10, 2024 · 3 comments
Open

Stepper lacks accessibility #43689

jacklaurencegaray opened this issue Sep 10, 2024 · 3 comments
Assignees
Labels
accessibility a11y component: stepper This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material v7.x

Comments

@jacklaurencegaray
Copy link
Contributor

jacklaurencegaray commented Sep 10, 2024

Summary

When navigating the Stepper component with voice assistant and keyboard-only navigation, it doesn't read out which step you're currently in when you go to the next step. It also doesn't hint the user how many steps there are in total.

Examples

No response

Motivation

No response

Search keywords: Stepper lacks accessibility

@jacklaurencegaray jacklaurencegaray added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Sep 10, 2024
@zannager zannager added the component: stepper This is the name of the generic UI component, not the React module! label Sep 10, 2024
@siriwatknp siriwatknp added accessibility a11y package: material-ui Specific to @mui/material v7.x and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Sep 11, 2024
@siriwatknp
Copy link
Member

Thanks for reporting the issues. This is one of the thing to improve for sure, ref https://ishadeed.com/article/stepper-component-html-css/.

@jacklaurencegaray
Copy link
Contributor Author

Thanks for reporting the issues. This is one of the thing to improve for sure, ref https://ishadeed.com/article/stepper-component-html-css/.

Seems like this example website is also inaccessible, it achieves the Stepper as a UI but voice assistant + keyboard navigation is still not there. The current Stepper in MUI in production is even better than this one imo. Here are a few specs I feel could make the Stepper more accessible for voice-overs:

when focusing on the whole stepper: tell the user they are in a stepper, tell them how many steps there are
when focusing on a step: tell the user which step they're in and in what order (e.g you are in 2nd step)
when finishing the steps: tell them they've finished all steps

@aarongarciah
Copy link
Member

Thanks for reporting, @jacklaurencegaray. We'll most probably migrate components to Base UI in Material UI v7. Until then, we'll accept community contributions for improvements in the Stepper component (as long as they don't introduce breaking changes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility a11y component: stepper This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material v7.x
Projects
None yet
Development

No branches or pull requests

5 participants