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

a11y: Accessibility fix for floating dropdown #899

Conversation

rmotwani-c-eightfold
Copy link
Contributor

SUMMARY:

Added Tab event for option selection, Focus border and props for Floating ui to maintain focus.

GITHUB ISSUE (Open Source Contributors):

JIRA TASK (Eightfold Employees Only):

Jira task - https://eightfoldai.atlassian.net/browse/ENG-113537

CHANGE TYPE:

  • Bugfix Pull Request
  • Feature Pull Request

TEST COVERAGE:

  • Tests for this change already exist
  • I have added unittests for this change

TEST PLAN:

  • With NVDA on, go to Select component and add dropDown props with "portal = true".
  • use arrow keys to navigate between option and observe if there is a focus border visible.
  • Use Enter, Space and Tab to select the option.

Copy link

codesandbox-ci bot commented Oct 24, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@rmotwani-c-eightfold rmotwani-c-eightfold merged commit 34a3a08 into EightfoldAI:main Oct 28, 2024
3 of 4 checks passed
rmotwani-c-eightfold added a commit that referenced this pull request Nov 8, 2024
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.

2 participants