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

Update copytextbtn to fix a11y issues #13073

Merged
merged 8 commits into from
Apr 17, 2023
Merged

Conversation

gcamacho079
Copy link
Contributor

Description

The previous markup was flagged in an automated test for having a focusable element nested inside another focusable element; tabindex="-1" on the readonly input was not resolving the issue, so the markup has been updated to resolve that issue.

This PR also ensures the handle name is part of the accessible button name, and the 'Copy to clipboard' is appended to the end as visually-hidden text.

Related issues

@gcamacho079 gcamacho079 requested review from benjamindavid and a team as code owners April 11, 2023 17:57
# Conflicts:
#	src/web/assets/cp/dist/cp.js
#	src/web/assets/cp/dist/cp.js.map
#	src/web/assets/cp/dist/css/cp.css
#	src/web/assets/cp/dist/css/cp.css.map
#	src/web/assets/pluginstore/dist/js/app.js
#	src/web/assets/pluginstore/dist/js/app.js.map
[ci skip]
@brandonkelly brandonkelly self-requested a review as a code owner April 17, 2023 22:31
@brandonkelly brandonkelly merged commit fe0c4f5 into 4.5 Apr 17, 2023
@brandonkelly brandonkelly deleted the a11y/show-field-handle branch April 17, 2023 22:34
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 this pull request may close these issues.

2 participants