Skip to content

Commit e286d57

Browse files
authored
Add 1.1.1 secondary requirement to marked-as-decorative rule
1 parent 6be0845 commit e286d57

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_rules/element-marked-decorative-is-not-exposed-46ca7f.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ rule_type: atomic
55
description: |
66
This rule checks that elements marked as decorative either are not included in the accessibility tree, or have a presentational role.
77
accessibility_requirements:
8+
wcag20:1.1.1: # Non-text content (A)
9+
secondary: This success criterion is **less strict** than this rule. Only when this rule is applied to decorative content does a failure of 1.1.1 occur.
810
input_aspects:
911
- Accessibility tree
1012
- CSS styling
@@ -42,7 +44,7 @@ Elements are normally [marked as decorative][] to convey the intention of the au
4244

4345
Whenever such a conflict occurs, this indicates at the very least mismatching intentions. Such a conflict should be avoided.
4446

45-
When these conflicts arise on [decorative][] [non-text content][], this is also a failure of [Success Criterion 1.1.1: Non-text Content][sc111] because [decorative][] [non-text content][] must be implemented in a way that allows assistive technologies to ignore it. When these conflicts arise on text content, or on content which is not [decorative][], this is not a failure of WCAG. Therefore this rule is not mapping to any specific WCAG Success Criterion, and is not an accessibility requirement for WCAG.
47+
When these conflicts arise on [decorative][] [non-text content][], this is also a failure of [Success Criterion 1.1.1: Non-text Content][sc111] because [decorative][] [non-text content][] must be implemented in a way that allows assistive technologies to ignore it. When these conflicts arise on text content, or on content which is not [decorative][], this is not a failure of WCAG. Therefore this rule mappings to Non-text Content as a secondary requirement.
4648

4749
## Test Cases
4850

0 commit comments

Comments
 (0)