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

fix(aria-allowed-role): add form to allowed roles of form element #4588

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

matuzo
Copy link
Contributor

@matuzo matuzo commented Sep 26, 2024

The ARIA in HTML spec allows a form element to have role=form, but axe does not allow it. This PR adds form to the allowedRoles of form.

@matuzo matuzo requested a review from a team as a code owner September 26, 2024 05:06
@CLAassistant
Copy link

CLAassistant commented Sep 26, 2024

CLA assistant check
All committers have signed the CLA.

@straker
Copy link
Contributor

straker commented Sep 26, 2024

Thanks for the pr. However this fix is different than the bug where axe-core does not require an accessible name on the role=form element, so I removed the closes part of your comment.

@straker
Copy link
Contributor

straker commented Oct 3, 2024

Approved for security

@straker straker merged commit 8aa47ac into dequelabs:develop Oct 3, 2024
20 of 22 checks passed
straker pushed a commit that referenced this pull request Oct 16, 2024
@straker straker mentioned this pull request Oct 16, 2024
WilcoFiers added a commit that referenced this pull request Oct 16, 2024
###
[4.10.1](v4.10.0...v4.10.1)
(2024-10-16)

### Bug Fixes

- **aria-allowed-role:** add form to allowed roles of form element
([#4588](#4588))
([d462d67](d462d67)),
closes
[/github.com/dequelabs/axe-core/blob/develop/lib/standards/html-elms.js#L264](https://github.com/dequelabs//github.com/dequelabs/axe-core/blob/develop/lib/standards/html-elms.js/issues/L264)
- **axe.d.ts:** add typings for preload options object
([#4543](#4543))
([72e269f](72e269f))
- **button-name,input-button-name,input-img-alt:** allow label to give
accessible name
([#4607](#4607))
([364eb72](364eb72)),
closes [#4472](#4472)
[#3696](#3696)
[#3696](#3696)
- **get-ancestry:** add nth-child selector for multiple siblings of
shadow root ([#4606](#4606))
([bdd94a2](bdd94a2)),
closes [#4563](#4563)
- **rules:** Change "alternate text" to "alternative text"
([#4582](#4582))
([31e0f61](31e0f61))
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.

3 participants