Skip to content

Addition: update allowances for label element #556

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

Merged
merged 3 commits into from
Jul 23, 2025

Conversation

scottaohara
Copy link
Member

@scottaohara scottaohara commented Jul 23, 2025

Closes #492

This update keeps the same allowances for when a label element is associated with a labelable element. But for instances where an author just uses the label element without associating it with a labelable element, then the ARIA allowances should replicate the span element.

test case


Preview | Diff

This update keeps the same allowances for when a `label` element is associated with a labelable element.  But for instances where an author just uses the `label` element without associating it with a labelable element, then the ARIA allowances should replicate the `span` element.
@scottaohara scottaohara added Allowed roles Pertaining to the allowed roles of HTML elements Allowed aria-* attributes needs implementation commitment Cannot merge into spec until implementations in conformance checkers has been confirmed. needs changelog entry once 2 implementations land, we can merge and note it in our changelog. labels Jul 23, 2025
@patrickhlauke patrickhlauke merged commit fcce1ac into gh-pages Jul 23, 2025
2 checks passed
@patrickhlauke patrickhlauke deleted the update-label-elm-allowances branch July 23, 2025 18:56
@patrickhlauke patrickhlauke restored the update-label-elm-allowances branch July 23, 2025 18:56
@patrickhlauke patrickhlauke deleted the update-label-elm-allowances branch July 23, 2025 18:56
@scottaohara scottaohara restored the update-label-elm-allowances branch July 23, 2025 19:18
scottaohara added a commit that referenced this pull request Jul 23, 2025
@scottaohara scottaohara deleted the update-label-elm-allowances branch July 23, 2025 20:03
@scottaohara scottaohara removed the needs changelog entry once 2 implementations land, we can merge and note it in our changelog. label Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Allowed aria-* attributes Allowed roles Pertaining to the allowed roles of HTML elements needs implementation commitment Cannot merge into spec until implementations in conformance checkers has been confirmed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revise allowed roles for label element
2 participants