Bug: axe-core/cli validator reports incorrect error on aria-errormessage (ARIA 1.2) · Issue #328 · dequelabs/axe-core-npm · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ARIA 1.2 introduces the following imperative in the role aria-errormessage definition: When aria-errormessage is pertinent, authors MUST ensure the content is not hidden so users can navigate to and examine the error message. Similarly, when aria-errormessage is not pertinent, authors MUST either ensure the content is hidden or remove the aria-errormessage attribute or its value.
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 some errors, but it seems like incorrect ones.
Violation of "aria-valid-attr-value" with 3 occurrences!
Ensures all ARIA attributes have valid values. Correct invalid elements at:
- #input-1
- #input-2
- #input-3
The failure summary is: Fix all of the following:\n aria-errormessage value id-message-1 must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",
Expectation:
You should see an error about how the divs have a hidden value, and you should see this error on all four examples listed above. The error reported seems incorrect according to the 1.2 specification.
The text was updated successfully, but these errors were encountered:
Product: cli
Motivation:
ARIA 1.2 introduces the following imperative in the role aria-errormessage definition:
When aria-errormessage is pertinent, authors MUST ensure the content is not hidden so users can navigate to and examine the error message. Similarly, when aria-errormessage is not pertinent, authors MUST either ensure the content is hidden or remove the aria-errormessage attribute or its value.
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 some errors, but it seems like incorrect ones.The error is:
The failure summary is:
Fix all of the following:\n aria-errormessage value
id-message-1must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",
Expectation:
You should see an error about how the divs have a hidden value, and you should see this error on all four examples listed above. The error reported seems incorrect according to the 1.2 specification.
The text was updated successfully, but these errors were encountered: