From 8db2d9bdd9dd4e66d3988c8bd9b225471c813378 Mon Sep 17 00:00:00 2001 From: Jean-Yves Moyen Date: Thu, 17 Jun 2021 11:06:32 +0200 Subject: [PATCH] Replace 'included in the accessibility tree' with 'hidden state is false' (#1631) --- _rules/role-attribute-valid-value-674b10.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_rules/role-attribute-valid-value-674b10.md b/_rules/role-attribute-valid-value-674b10.md index 1fefb8ec085..fcd50bdadc3 100755 --- a/_rules/role-attribute-valid-value-674b10.md +++ b/_rules/role-attribute-valid-value-674b10.md @@ -33,7 +33,7 @@ acknowledgments: This rule applies to any `role` attribute for which all the following are true: - the attribute has a value that is neither empty ("") nor only [ASCII whitespace][]; and -- the attribute is specified on an HTML or SVG element that is [included in the accessibility tree][]. +- the attribute is specified on an HTML or SVG element whose [hidden state][] is "false". ## Expectation @@ -166,15 +166,15 @@ This `role` attribute is only [ASCII whitespace][]. #### Inapplicable Example 5 -This `role` attribute is specified on an element which is not [included in the accessibility tree][]. +This `role` attribute is specified on an element whose [hidden state][] is "true". ```html ``` [ascii whitespace]: https://infra.spec.whatwg.org/#ascii-whitespace 'Definition of ASCII whitespace' +[hidden state]: #hidden-state 'Definition of Hidden State' [implicit role]: #implicit-role 'Definition of Implicit Role' -[included in the accessibility tree]: #included-in-the-accessibility-tree 'Definition of included in the accessibility tree' [role attribute]: https://www.w3.org/TR/role-attribute/ 'Specification of the Role attribute' [sc131]: https://www.w3.org/TR/WCAG21/#info-and-relationships 'Success Criterion 1.3.1 Info and Relationship' [semantic role]: #semantic-role 'Definition of Semantic Role'