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

Message input field: Cannot exit image preview dialog using keyboard only #5528

Open
kangabell opened this issue Jan 28, 2025 · 0 comments
Open
Labels
♿ a11y Accessibility

Comments

@kangabell
Copy link
Collaborator

kangabell commented Jan 28, 2025

After adding an image to the chat and opening the preview dialog for it, there is no apparent way to exit with a keyboard only. Focus is trapped inside the dialog and the only way to exit is to refresh the browser page and start over.

Test Environment

http://159.89.83.1/c/new

WCAG Criteria

2.1.2 No Keyboard Trap - A

Testing Method

Manual - VO/Safari/MacOS

Screen Recording

https://share.zight.com/rRudNmQN
In this video, after opening the image preview, I try to get out of it using keyboard only (tab forward, tab backward, hit Enter key, hit Escape key, etc.), but can’t. Trapped!

Recommended Action

Add a keyboard-accessible close button to this dialog. Additionally, it is recommended that the Escape key can be used to close the dialog as well.

@berry-13 berry-13 added the ♿ a11y Accessibility label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
♿ a11y Accessibility
Projects
None yet
Development

No branches or pull requests

2 participants