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

Enable "Copy", "Expand All" and "Collapse All" to be focusable #1281

Closed
lornajane opened this issue May 29, 2020 · 0 comments · Fixed by #1294
Closed

Enable "Copy", "Expand All" and "Collapse All" to be focusable #1281

lornajane opened this issue May 29, 2020 · 0 comments · Fixed by #1294

Comments

@lornajane
Copy link
Contributor

The buttons to copy/expand/collapse the response examples aren't buttons! As <span> tags, they can be clicked with a mouse but not with any other tools, such as keyboard or screenreader. This is part of #1279.

Screenshot from 2020-05-29 10-35-52

From the Accessibility tab in Firefox:

Clickable elements must be focusable and should have interactive semantics. Learn more

These could be more useful as <a> tags with the same onClick events attached.

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 a pull request may close this issue.

1 participant