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

Keyboard navigation is not confined to open modals #65

Open
owi92 opened this issue Jul 12, 2022 · 1 comment
Open

Keyboard navigation is not confined to open modals #65

owi92 opened this issue Jul 12, 2022 · 1 comment
Labels
type:bug Something isn't working

Comments

@owi92
Copy link
Contributor

owi92 commented Jul 12, 2022

Issue
When using the keyboard's tab-key to navigate through modals (new-event and new-series were tested), the focus is not confined to that modal and it is possible to tab through the background and rest of the page, while the modal is still open.
In this case it is not possible to exit the modal by pressing 'Esc' or using any other modal-specific key combinations. Eventually the user will cycle back into the modal, but I think this behaviour is generally undesirable.
This might be an issue with tabindex, but I can't confirm yet.

Furthermore, in Firefox, it is not possible to use the tab key to focus the 'previous' and 'next' buttons in the modal's footer as the focus will skip over it - this is, however, working in Chrome (this also appears to be somewhat fixed in Firefox with the new admin-picard ui, though for now tab navigation there is kinda weird as well).
Turns out, this was prevented by a local setting.

To Reproduce

  1. Open new-event or new-series modal
  2. Navigate through the window using the tab-key
    3. When using Firefox, try reaching the footer
  3. Try closing the window with 'Esc' while focus is on background (in any browser)

Environment Information

  • OS: MacOS 12.4
  • Browser: Firefox 102.0.1, Chrome 103.0.x
  • Opencast version with minor release: develop, 12.x
@JulianKniephoff JulianKniephoff transferred this issue from opencast/opencast Jan 25, 2023
@ziegenberg ziegenberg added the type:bug Something isn't working label May 23, 2024
@ziegenberg
Copy link
Member

This was partly fixed in #288.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
No open projects
Status: Todo
Development

No branches or pull requests

4 participants