Test Cases Passed Passed Example 1 Open in a new tab This img element with an empty alt attribute which is not included in the accessibility tree is purely decorative.

Happy new year!

Passed Example 2 Open in a new tab This img element that is ignored by assistive technologies because aria-hidden is set to true is purely decorative.

Happy new year!

Passed Example 3 Open in a new tab This img element that is ignored by assistive technologies because it has an explicit semantic role of none is purely decorative.

Happy new year!

ignore me Passed Example 4 Open in a new tab This svg element that is ignored by assistive technologies because it has no attribute that would give it an accessible name is purely decorative.

Happy new year!

Passed Example 5 Open in a new tab This canvas element that is ignored by assistive technologies because it has no attribute that would give it an accessible name is purely decorative.

Happy new year!

Failed Failed Example 1 Open in a new tab This img element with an empty ("") alt is not purely decorative. Failed Example 2 Open in a new tab This img element which is not included in the accessibility tree because aria-hidden is set to true is not purely decorative. Failed Example 3 Open in a new tab This img element which is not included in the accessibility tree because it has an explicit semantic role of none is not purely decorative. W3C logo Failed Example 4 Open in a new tab This svg element which has a semantic role of graphics-document and an empty ("") accessible name is not purely decorative.

Best W3C logo:

Failed Example 5 Open in a new tab This canvas element which has no semantic role and an empty ("") accessible name is not purely decorative. Inapplicable Inapplicable Example 1 Open in a new tab This img element is included in the accessibility tree because the alt attribute is not empty (""). W3C Inapplicable Example 2 Open in a new tab This img element is neither visible nor included in the accessibility tree. Inapplicable Example 3 Open in a new tab This img element is not visible because it is positioned off screen. Inapplicable Example 5 Open in a new tab This svg element has a semantic role of img and an accessible name from its aria-label attribute. Inapplicable Example 6 Open in a new tab This canvas element is not visible because it is completely transparent. Inapplicable Example 7 Open in a new tab This canvas element has a semantic role of img and an accessible name from its aria-label attribute. Inapplicable Example 8 Open in a new tab This img element is visible but included in the accessibility tree. Note: While it might be better for the PDF icon to be ignored by assistive technologies, because assistive technologies will announce "PDF" twice, the image is not purely decorative. Having assistive technologies ignore it is not required by Success Criterion 1.1.1 Non-text content. PDF PDF document Inapplicable Example 9 Open in a new tab This is a div element with a background image. Background images must be tested separate from this rule.

Happy new year!

Inapplicable Example 10 Open in a new tab This img element has an src attribute which will cause the image request state to be Broken.
Shadow DOM Passed Test 1
Shadow DOM Passed Test 2
Shadow DOM Passed Test 3
Shadow DOM Passed Test 4
Shadow DOM Passed Test 5
Shadow DOM Failed Test 1
Shadow DOM Failed Test 2
Shadow DOM Failed Test 3
Shadow DOM Failed Test 4
Shadow DOM Failed Test 5
Shadow DOM Inapplicable Test 1
Shadow DOM Inapplicable Test 2
Shadow DOM Inapplicable Test 3
Shadow DOM Inapplicable Test 4
Shadow DOM Inapplicable Test 5
Shadow DOM Inapplicable Test 6
Shadow DOM Inapplicable Test 7
Shadow DOM Inapplicable Test 8
Shadow DOM Inapplicable Test 9
Shadow DOM Inapplicable Test 10