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

[Accessibility] Info Page: Details modal is not keyboard accessible #996

Open
nwanduka opened this issue Jul 2, 2024 · 1 comment
Open
Labels

Comments

@nwanduka
Copy link
Contributor

nwanduka commented Jul 2, 2024

Describe the bug
The details modal on the Info page is not keyboard accessible. There are two interactive components on it: the cancel icon at the top right of the modal and the cancel button at the bottom right. None of the components are accessible using the tab key.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Info' on the nav bar
  2. Click on 'Details'
  3. Press the tab key on your keyboard
  4. See error

Expected behavior
Users should be able to close the details modal entirely using their keyboard.

@nwanduka nwanduka added the bug label Jul 2, 2024
@nwanduka
Copy link
Contributor Author

Update:. Turns our both buttons in the details modal are keyboard accessible. However, there's a problem with the focus order when the modal is active. Currently:

  1. When the details modal opens, keyboard focus does not automatically move to any element within the modal.
  2. Instead, when users start tabbing, the focus begins on elements of the main page that are visually hidden behind the modal.
  3. Users must tab through all these hidden main page elements before reaching the interactive elements within the modal (such as the cancel icon and button)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant