Skip to content

Spacer block: height in pixels field label should be properly associated #6918

Closed

Description

The new "Spacer" block has a "height in pixels" field in the sidebar. This label should be properly associated with the field.

  • labels are not just for visual purposes
  • they give the control a name
  • when clicked, they focus the associated control
  • there's no need for an aria-label attribute if the <label> element is descriptive enough
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions