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

Radius control: the range input is unlabelled #42098

Closed
afercia opened this issue Jul 1, 2022 · 0 comments · Fixed by #42118
Closed

Radius control: the range input is unlabelled #42098

afercia opened this issue Jul 1, 2022 · 0 comments · Fixed by #42118
Assignees
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Package] Components /packages/components [Type] Bug An existing feature does not function as intended

Comments

@afercia
Copy link
Contributor

afercia commented Jul 1, 2022

Description

In the Radius control, the slider input (type=range) is unlabelled. All form controls need to be labelled.

Step-by-step reproduction instructions

  • edit a block that supports the radius control e.g.: Columns
  • make sure the Radius control is enabled in the 'Dimensions
  • use the Chrome dev tools to inspect the source of the Radius control that is displayed in the sidebar
  • select the radius slider input (type=range)
  • observe there's no associated label element or any aria-label / aria-labelledby
  • in the Chrome dev tools, go to the Accessibility tab
  • observe the accessible 'Name' under the computed properties is empty:

Screenshot 2022-07-01 at 16 41 49

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@afercia afercia added [Type] Bug An existing feature does not function as intended [Package] Components /packages/components [a11y] Labelling labels Jul 1, 2022
@afercia afercia self-assigned this Jul 4, 2022
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jul 4, 2022
@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label May 17, 2023
@priethor priethor added [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). and removed [a11y] Labelling labels Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Package] Components /packages/components [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants