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

Bug: axe-core/cli validator does not report missing name on element with role="form" (ARIA 1.2) #329

Closed
spectranaut opened this issue Aug 12, 2021 · 1 comment

Comments

@spectranaut
Copy link

Product: cli

Motivation:

ARIA 1.2 introduces the following imperative in the role form definition: Authors MUST give each element with role form a brief label that describes the purpose of the form..

Replication of error:

If you run the AXE cli (axe-core 4.3.2 in chrome-headless with --tags cat.aria) on an HTML with the following HTML you will see no errors.

<div id="form-1" role="form" class="fail">bar 1</div>

Expectation:

You should see an error because the element #form-1 does not have an accessible name.

@Zidious
Copy link
Contributor

Zidious commented Sep 7, 2021

Thank you for submitting this find.

I have raised this within axe-core, ref: dequelabs/axe-core#3150

@Zidious Zidious closed this as completed Sep 7, 2021
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

No branches or pull requests

2 participants