From d161d08ba6eba31686eee65f35f54bc425725e79 Mon Sep 17 00:00:00 2001 From: "U-CPHDOMAIN\\dtr" Date: Thu, 21 Sep 2023 18:59:25 -0400 Subject: [PATCH] Inapplicable Example 4: - reducing verbosity. - removing most commentary on "hidden" vs. "presentational". - removing all commentary on "marked as decorative". --- ...onal-children-no-focusable-content-307n5z.md | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/_rules/presentational-children-no-focusable-content-307n5z.md b/_rules/presentational-children-no-focusable-content-307n5z.md index 1ef8653d4b..a2b1f6627c 100755 --- a/_rules/presentational-children-no-focusable-content-307n5z.md +++ b/_rules/presentational-children-no-focusable-content-307n5z.md @@ -200,21 +200,7 @@ The applicability of this rule does not include elements with an explicit #### Inapplicable Example 4 -The applicability of this rule does not include hidden elements. It only includes presentational elements (through roles with [presentational children][]). These two terms - "hidden" and "presentational" - are often confused. When an element is "hidden", that means that it is completely omitted from the accessibility tree. When an element is "presentational", that means that its semantic role is omitted from the accessibility tree, but its content remains. - -The [ARIA 1.2 specification]https://www.w3.org/TR/wai-aria-1.2/#presentation) mentions this confusion: - - -Adding to this confusion is a third term: "decorative". The words "decorative" and "presentational" are often used interchangeably, but that usage is inaccurate. The word "decorative" often appears in a sentence such as "marking an image as decorative" - that is, by adding `alt=""` to an `` element. "Decorative" in that context does mean "hidden" - and "hidden", again, is different from "presentational" - so using "decorative" and "presentational" interchangeably is inaccurate. At the time of writing (August 2023), the ACT definition of "[marked as decorative][]" unfortunately encourages this inaccurate usage: it states that An element is marked as decorative if ... it has an explicit role of none or presentation. - -At any rate: this example shows that this rule does not apply to hidden elements. +This example shows that the applicability of this rule does not include hidden elements. The applicability only includes presentational elements (through roles with [presentational children][]). (The difference between "hidden" and "presentational" is discussed in the [ARIA 1.2 specification](https://www.w3.org/TR/wai-aria-1.2/#presentation)). This example is inapplicable, but if it didn't have aria-hidden="true", then it would fail the rule. ```html