Skip to content

feat(components/tabs): wizard keyboard nav and roles#558

Merged
Blackbaud-ErikaMcVey merged 5 commits intomainfrom
wizard-dom-accessibility
Sep 26, 2022
Merged

feat(components/tabs): wizard keyboard nav and roles#558
Blackbaud-ErikaMcVey merged 5 commits intomainfrom
wizard-dom-accessibility

Conversation

@Blackbaud-ErikaMcVey
Copy link
Copy Markdown
Contributor

@Blackbaud-ErikaMcVey Blackbaud-ErikaMcVey commented Sep 23, 2022

Updates include:

  • not setting tab roles (tab, tablist) when the tabset is in wizard mode
  • updating keyboard nav
    • clicking tab on a tab button (or wizard button) now goes immediately to the tab content (or whatever is next if nothing in the tab content) instead of needing to click through all tabs to get to the content
    • left/right arrow keys are used to navigate the tab buttons
    • hitting left on the first tab goes to the last, hitting right on the last goes to the first (so they loop)
    • disabled tabs are skipped
    • home key goes to the first tab (or nearest one that is not disabled)
    • end key goes to the last tab (or nearest one that is not disabled)

@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented Sep 23, 2022

@Blackbaud-ErikaMcVey Blackbaud-ErikaMcVey marked this pull request as ready for review September 23, 2022 18:11
@blackbaud-sky-build-user
Copy link
Copy Markdown
Collaborator

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.

3 participants