Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[Terra-List] Added prop to Disable Tab Key Navigation for List Item #3944

Merged
merged 9 commits into from
Oct 23, 2023

Conversation

supreethmr
Copy link
Contributor

@supreethmr supreethmr commented Oct 17, 2023

Summary

List items are considered as group of items and as per A11y standards group items should only be navigated with arrow keys and not with tab key. in order to achieve tab key navigation should be disabled for list-item.

What was changed:
A prop has been introduced to disable the Tab Key Navigation by changing tabindex to -1 from 0 for selectable list item.
To keep the change passive to existing terra-list consumer prop has been added to disable tab key navigation

Ensure Form Mode instructions as been removed from translations As per suggestion provided by UX A11y team

Why it was changed:
To Fix A11y failure found during fusion pass through.

Testing

This change was tested using:

  • WDIO
  • Jest
  • Visual testing (please attach a screenshot or recording)
  • Other (please describe below)
  • No tests are needed

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details

This PR resolves:

UXPLATFORM-9757


Thank you for contributing to Terra.
@cerner/terra

@supreethmr supreethmr requested a review from a team as a code owner October 17, 2023 18:19
@github-actions github-actions bot temporarily deployed to preview-pr-3944 October 20, 2023 09:02 Destroyed
@supreethmr supreethmr merged commit f976f8a into main Oct 23, 2023
22 checks passed
@supreethmr supreethmr deleted the listTabFix branch October 23, 2023 11:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants