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

Token Widget Label #6804

Closed
wants to merge 2 commits into from
Closed

Token Widget Label #6804

wants to merge 2 commits into from

Conversation

Wagner3UB
Copy link
Contributor

Added aria-label to CreatableSelect inside the TokenWidget to better accessibility.

PR for Volto 17: #6786

@Wagner3UB Wagner3UB self-assigned this Mar 4, 2025
@Wagner3UB Wagner3UB mentioned this pull request Mar 4, 2025
Copy link

netlify bot commented Mar 4, 2025

Deploy Preview for plone-components canceled.

Name Link
🔨 Latest commit 2226684
🔍 Latest deploy log https://app.netlify.com/sites/plone-components/deploys/67c6e23ad518cf0008234893

@@ -64,6 +64,7 @@ exports[`renders a token widget component 1`] = `
>
<input
aria-autocomplete="list"
aria-label="My field"
aria-labelledby="fieldset-default-field-label-my-field"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it okay to have both aria-label and aria-labelledby?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, you are right. The problem was that this file is already fixed, so the modification I made now was not necessary. I will close this one and leave only v17 open. I will replicate the modification made to this file for the v17 one, to be compliant.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Wagner3UB Ah okay!

@Wagner3UB Wagner3UB closed this Mar 5, 2025
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