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

[core] feat(MultistepDialog): improve steps a11y, treat as tabs #6046

Conversation

bvandercar-vt
Copy link
Contributor

@bvandercar-vt bvandercar-vt commented Mar 28, 2023

Fixes #6057

Checklist

  • Includes tests
  • [N/A] Update documentation

Changes proposed in this pull request:

MultistepDialog:

  • fix steps tabIndex
  • allow Enter keypress to take effect on step when it is focused
  • improve accessibility by improving roles to tablist

Copy link
Contributor

@adidahiya adidahiya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice one, I can confirm this works in the docs preview build (this wasn't possible before):

2023-04-18 13 16 06

thanks again for adding unit tests

@adidahiya adidahiya changed the title fix(MultistepDialog): steps tab-ability [core] feat(MultistepDialog): improve steps a11y, treat them as tabs Apr 18, 2023
@adidahiya adidahiya changed the title [core] feat(MultistepDialog): improve steps a11y, treat them as tabs [core] feat(MultistepDialog): improve steps a11y, treat as tabs Apr 18, 2023
@adidahiya adidahiya merged commit acd8de1 into palantir:develop Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot tab to previous step button in MultiStepDialog
2 participants