We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://www.w3.org/WAI/standards-guidelines/act/rules/23a2a8/#test-cases
<img role="presentation" style="width:72px; height:48px; background-image: url(/test-assets/shared/background.png)" />
<img role="none" src="/test-assets/shared/background.png" />
These test cases do not follow the latest spec in ARIA in HTML https://www.w3.org/TR/html-aria/ (see screenshot below) which says that
img
role=" presentation
alt=""
So, either the spec needs to change or test cases 6 & 7 need to change.
The Checker rules "aria_role_valid" and "img_alt_valid" currently fail both of these test cases with a couple of issue messages each:
none
<img>
presentation
The help guidance for "aria_role_valid" says:
ARIA in HTML https://www.w3.org/TR/html-aria/ (see screenshot below)
The text was updated successfully, but these errors were encountered:
Close this issue as dup of act-rules/act-rules.github.io#2062
Sorry, something went wrong.
No branches or pull requests
https://www.w3.org/WAI/standards-guidelines/act/rules/23a2a8/#test-cases
<img role="presentation" style="width:72px; height:48px; background-image: url(/test-assets/shared/background.png)" />
<img role="none" src="/test-assets/shared/background.png" />
These test cases do not follow the latest spec in ARIA in HTML https://www.w3.org/TR/html-aria/ (see screenshot below)
which says that
img
without an alt attribute, then No aria-* attributes allowed except aria-hidden="true"role=" presentation
is only allowed whenalt=""
is also providedimg
without an alt attribute, then No role other than img, so "presentation" or "none" would not be valid in the test casesimg
with alt="some text" allows many roles, none of which include "presentation" or "none"So, either the spec needs to change or test cases 6 & 7 need to change.
Background - Equal Access Accessibility Checker
The Checker rules "aria_role_valid" and "img_alt_valid" currently fail both of these test cases with a couple of issue messages each:
none
is not valid for the element<img>
presentation
is not valid for the element<img>
and may be ignored by the browser since the element may be focusableThe help guidance for "aria_role_valid" says:
What to do
ARIA in HTML https://www.w3.org/TR/html-aria/ (see screenshot below)
The text was updated successfully, but these errors were encountered: