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

Prompts panel: Save button for prompt name not accessible by keyboard and missing accessible name #5535

Closed
kangabell opened this issue Jan 28, 2025 · 0 comments · Fixed by #5614
Assignees
Labels
♿ a11y Accessibility

Comments

@kangabell
Copy link
Collaborator

There is a button with a floppy disk icon on it that is unlabeled and I cannot tab to it with a keyboard.

WCAG Criteria

2.5.3 Label in Name - A

Testing Method

Manual

Screenshot

floppy disk icon to the right of text box

Code Snippet

<button type="button" class="rounded p-2 hover:bg-gray-300/50 dark:hover:bg-gray-700"><svg viewBox="64 64 896 896" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="icon-md" width="1.2em" height="1.2em" fill="currentColor" xmlns="http://www.w3.org/2000/svg">...</svg></button>

Recommended Action

Don't hide the save button until the user has exited the entire form area, not just the text input. Separating the edit button from the save button so they are unique elements may simplify this process. Also, add button text or an aria-label that says "save name" or similar.

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

Successfully merging a pull request may close this issue.

3 participants