From 961fcadd7022eebe75be575cf1590cd877e74ce8 Mon Sep 17 00:00:00 2001 From: Todd Libby Date: Mon, 26 Sep 2022 05:39:39 -0700 Subject: [PATCH 01/16] Update heading order ACT-TF feedback. Added aria-level to Failed example 3. --- _rules/heading-descriptive-b49b2e.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 255e7ae9a08..20f323488bb 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -199,7 +199,7 @@ Heading marked up with `role="heading"` that does not describe the topic or purp ```html - Weather + Weather

We are open Monday through Friday from 10 to 16

From 40148fdabc5b33c0bd1d03b8ee75c4cb1dc2f1e5 Mon Sep 17 00:00:00 2001 From: Todd Libby Date: Mon, 26 Sep 2022 10:28:04 -0700 Subject: [PATCH 02/16] ACT-TF recommended changes Changes with Passed/failed/inapplicable examples --- _rules/heading-descriptive-b49b2e.md | 69 +++++++++------------------- 1 file changed, 21 insertions(+), 48 deletions(-) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 20f323488bb..1972ad2b114 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -27,21 +27,11 @@ acknowledgments: ## Applicability -This rule applies to any [semantic][semantic role] `heading` element that is either [visible][] or [included in the accessibility tree][]. +This rule applies to any [semantic][semantic role] `heading` element that is [included in the accessibility tree][]. -## Expectation 1 +## Expectation -For each target element at least one of the following is true: - -- the target element is not [visible][]; or -- the target element describes the topic or purpose of the first [palpable content][] which is non-[decorative][], [visible][], and after the target element in tree order in the [flat tree][]. - -## Expectation 2 - -For each target element at least one of the following is true: - -- the target element is not [included in the accessibility tree][]; or -- the target element describes the topic or purpose of the first [palpable content][] which is non-[decorative][], [included in the accessibility tree][], and after the target element in tree order in the [flat tree][]. +Each target element describes the topic or purpose of the first non-[decorative][] [palpable content][], [included in the accessibility tree][], and after the target element in tree order in the [flat tree][]. **Note:** Headings do not need to be lengthy. A word, or even a single character, may suffice. @@ -55,8 +45,11 @@ Implementation of [Presentational Roles Conflict Resolution][] varies from one b ## Background +Visible headings that are not in the accessibility tree are a failure of [Success Criterion 1.3.1 Info and Relationships][sc131]. These are not tested by this rule but they can still fail [Success Criterion 2.4.6 Headings and Labels][sc246]. + ### Bibliography +- [Understanding Success Criterion 1.3.1: Info and Relationships](https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html) - [Understanding Success Criterion 2.4.6: Headings and Labels](https://www.w3.org/WAI/WCAG21/Understanding/headings-and-labels.html) - [G130: Providing descriptive headings](https://www.w3.org/WAI/WCAG21/Techniques/general/G130) - [H42: Using h1-h6 to identify headings](https://www.w3.org/WAI/WCAG21/Techniques/html/H42) @@ -91,17 +84,6 @@ Heading marked up with `role="heading"` that describes the topic or purpose of t #### Passed Example 3 -Heading marked up with `role="heading"` that describes the topic or purpose of the following [palpable content][], with a default aria-level assigned. - -```html - - Opening Hours -

We are open Monday through Friday from 10 to 16

- -``` - -#### Passed Example 4 - Heading marked up with `h1` element with an image that describes the topic or purpose of the following [palpable content][]. ```html @@ -113,7 +95,7 @@ Heading marked up with `h1` element with an image that describes the topic or pu ``` -#### Passed Example 5 +#### Passed Example 4 Heading marked up with `h1` element that is a single character that describes the topic or purpose of the following [palpable content][]. @@ -133,7 +115,7 @@ Heading marked up with `h1` element that is a single character that describes th ``` -#### Passed Example 6 +#### Passed Example 5 Heading marked up with `role="heading"` that describes the topic or purpose of the following [palpable content][]. The heading is positioned off screen but is [included in the accessibility tree][]. @@ -146,18 +128,7 @@ Heading marked up with `role="heading"` that describes the topic or purpose of t ``` -#### Passed Example 7 - -Heading marked up with `h1` element that describes the topic or purpose of the following [palpable content][]. The heading is [visible][], but is not [included in the accessibility tree][]. - -```html - -

Opening Hours

-

We are open Monday through Friday from 10 to 16

- -``` - -#### Passed Example 8 +#### Passed Example 6 This heading describes the first [palpable content][] after it (the first `p` element). The next [palpable content][] (the second `p` element) is not considered by this rule. @@ -219,6 +190,17 @@ Heading marked up with `h1` element that does not describe the topic or purpose #### Failed Example 5 +Heading marked up with `h1` element that describes the topic or purpose of the following [palpable content][]. The heading is [visible][], but is not [included in the accessibility tree][]. + +```html + +

Opening Hours

+

We are open Monday through Friday from 10 to 16

+ +``` + +#### Failed Example 6 + This heading does not describe the first [palpable content][] after it (the first `p` element). The next [palpable content][] (the second `p` element) is not considered by this rule. ```html @@ -254,16 +236,6 @@ Heading that is neither [visible][] to users, nor [included in the accessibility #### Inapplicable Example 3 -Empty heading marked up with `h1` is not [visible][]. - -```html - -

- -``` - -#### Inapplicable Example 4 - Empty heading marked up with `role="heading"` is not [visible][]. ```html @@ -277,6 +249,7 @@ Empty heading marked up with `role="heading"` is not [visible][]. [included in the accessibility tree]: #included-in-the-accessibility-tree 'Definition of included in the accessibility tree' [palpable content]: https://html.spec.whatwg.org/multipage/dom.html#palpable-content 'HTML definition of Palpable Content' [presentational roles conflict resolution]: https://www.w3.org/TR/wai-aria-1.1/#conflict_resolution_presentation_none 'Presentational Roles Conflict Resolution' +[sc131]: https://www.w3.org/TR/WCAG21/#info-and-relationships ' Success Criterion 1.3.1 Info and Relationships' [sc246]: https://www.w3.org/TR/WCAG21/#headings-and-labels 'Success Criterion 2.4.6 Headings and Labels' [semantic role]: #semantic-role 'Definition of semantic role' [visible]: #visible 'Definition of visible' From e3ed42122fcc632f4b01bdf0d50e56f7674c2968 Mon Sep 17 00:00:00 2001 From: Todd Libby Date: Mon, 26 Sep 2022 12:12:01 -0700 Subject: [PATCH 03/16] Revert empty heading to inapplicable --- _rules/heading-descriptive-b49b2e.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 1972ad2b114..94fcaff4797 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -236,6 +236,16 @@ Heading that is neither [visible][] to users, nor [included in the accessibility #### Inapplicable Example 3 +Empty heading marked up with `h1` is not [visible][]. + +```html + +

+ +``` + +#### Inapplicable Example 4 + Empty heading marked up with `role="heading"` is not [visible][]. ```html From 6ac47baabb1ee0eba378f18772d8c0463f269d07 Mon Sep 17 00:00:00 2001 From: Todd Libby Date: Sat, 1 Oct 2022 09:18:24 -0700 Subject: [PATCH 04/16] Move Passed example 3 to Inapplicable example 5 Made the heading empty with `aria-hidden` and make the example inapplicable. --- _rules/heading-descriptive-b49b2e.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 94fcaff4797..1b8fe9dafbf 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -190,17 +190,6 @@ Heading marked up with `h1` element that does not describe the topic or purpose #### Failed Example 5 -Heading marked up with `h1` element that describes the topic or purpose of the following [palpable content][]. The heading is [visible][], but is not [included in the accessibility tree][]. - -```html - -

Opening Hours

-

We are open Monday through Friday from 10 to 16

- -``` - -#### Failed Example 6 - This heading does not describe the first [palpable content][] after it (the first `p` element). The next [palpable content][] (the second `p` element) is not considered by this rule. ```html @@ -254,6 +243,17 @@ Empty heading marked up with `role="heading"` is not [visible][]. ``` +#### Inapplicable Example 5 + +Heading marked up with `h1` element that is not [visible][], and is not [included in the accessibility tree][]. + +```html + +

+

We are open Monday through Friday from 10 to 16

+ +``` + [decorative]: https://www.w3.org/TR/WCAG21/#dfn-pure-decoration 'WCAG definition of Pure decoration' [flat tree]: https://drafts.csswg.org/css-scoping/#flat-tree 'Definition of flat tree' [included in the accessibility tree]: #included-in-the-accessibility-tree 'Definition of included in the accessibility tree' From ce9cf43104557c08fb38636eb02f4a189982c52e Mon Sep 17 00:00:00 2001 From: Todd Libby Date: Fri, 4 Nov 2022 20:50:29 -0700 Subject: [PATCH 05/16] Update _rules/heading-descriptive-b49b2e.md Co-authored-by: Wilco Fiers --- _rules/heading-descriptive-b49b2e.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 1b8fe9dafbf..28e0fbbda84 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -31,7 +31,12 @@ This rule applies to any [semantic][semantic role] `heading` element that is [in ## Expectation -Each target element describes the topic or purpose of the first non-[decorative][] [palpable content][], [included in the accessibility tree][], and after the target element in tree order in the [flat tree][]. +Each target element describes the topic or purpose of the first node after the test target for which all the following are true: +- The node is not [decorative][]; and +- The node is [palpable content][] (such as text nodes or elements like `h1`, `p`, `img`. etc.); and +- The node is [included in the accessibility tree]. + +The order of elements is determined by the [flat tree][]. **Note:** Headings do not need to be lengthy. A word, or even a single character, may suffice. From 3868414f44d59c31ddca72ef0a92441e95b0b5d4 Mon Sep 17 00:00:00 2001 From: Todd Libby Date: Fri, 4 Nov 2022 20:50:41 -0700 Subject: [PATCH 06/16] Update _rules/heading-descriptive-b49b2e.md Co-authored-by: Kathy Eng --- _rules/heading-descriptive-b49b2e.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 28e0fbbda84..5d09c1745e6 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -50,7 +50,7 @@ Implementation of [Presentational Roles Conflict Resolution][] varies from one b ## Background -Visible headings that are not in the accessibility tree are a failure of [Success Criterion 1.3.1 Info and Relationships][sc131]. These are not tested by this rule but they can still fail [Success Criterion 2.4.6 Headings and Labels][sc246]. +Headings that are in the accessibility tree and not visible are a failure of [Success Criterion 1.3.1 Info and Relationships][sc131]. These are not tested by this rule but they can still fail [Success Criterion 2.4.6 Headings and Labels][sc246]. ### Bibliography From 19c876406f0a97436fa62bccc7c9231c80ccc128 Mon Sep 17 00:00:00 2001 From: Wilco Fiers Date: Wed, 14 Dec 2022 16:00:24 +0100 Subject: [PATCH 07/16] Update heading-descriptive-b49b2e.md --- _rules/heading-descriptive-b49b2e.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 5d09c1745e6..2ff15fd67df 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -31,10 +31,7 @@ This rule applies to any [semantic][semantic role] `heading` element that is [in ## Expectation -Each target element describes the topic or purpose of the first node after the test target for which all the following are true: -- The node is not [decorative][]; and -- The node is [palpable content][] (such as text nodes or elements like `h1`, `p`, `img`. etc.); and -- The node is [included in the accessibility tree]. +Each target element describes the topic or purpose of the first [perceivable content][] after the test target that is not [decorative][]. The order of elements is determined by the [flat tree][]. @@ -50,7 +47,7 @@ Implementation of [Presentational Roles Conflict Resolution][] varies from one b ## Background -Headings that are in the accessibility tree and not visible are a failure of [Success Criterion 1.3.1 Info and Relationships][sc131]. These are not tested by this rule but they can still fail [Success Criterion 2.4.6 Headings and Labels][sc246]. +Headings that are visible but not in the accessibility tree are a failure of [Success Criterion 1.3.1 Info and Relationships][sc131]. These are not tested by this rule but they can still fail [Success Criterion 2.4.6 Headings and Labels][sc246]. ### Bibliography From 672c8d1e8abf5e3d15a00deb593a9e67b1509561 Mon Sep 17 00:00:00 2001 From: Todd Libby Date: Fri, 6 Jan 2023 07:09:06 -0700 Subject: [PATCH 08/16] Update heading-descriptive-b49b2e.md Rearranged examples and left the old inapplicable examples 2 and 5 commented out just in case they need to be there. --- _rules/heading-descriptive-b49b2e.md | 44 ++++++++++++++-------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 2ff15fd67df..dbb9d59f5e9 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -142,6 +142,26 @@ This heading describes the first [palpable content][] after it (the first `p` el ``` +#### Passed Example 7 + +Empty heading marked up with `h1` is not [visible][]. + +```html + +

+ +``` + +#### Passed Example 8 + +Empty heading marked up with `role="heading"` is not [visible][]. + +```html + +

+ +``` + ### Failed #### Failed Example 1 @@ -214,7 +234,7 @@ No heading. ``` -#### Inapplicable Example 2 + [decorative]: https://www.w3.org/TR/WCAG21/#dfn-pure-decoration 'WCAG definition of Pure decoration' [flat tree]: https://drafts.csswg.org/css-scoping/#flat-tree 'Definition of flat tree' From 89db74e07e987eec6649566c74758294fe7c1050 Mon Sep 17 00:00:00 2001 From: Todd Libby Date: Mon, 9 Jan 2023 08:54:29 -0700 Subject: [PATCH 09/16] Update heading-descriptive-b49b2e.md --- _rules/heading-descriptive-b49b2e.md | 59 +++++++++------------------- 1 file changed, 19 insertions(+), 40 deletions(-) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index dbb9d59f5e9..29ba09811ef 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -27,7 +27,7 @@ acknowledgments: ## Applicability -This rule applies to any [semantic][semantic role] `heading` element that is [included in the accessibility tree][]. +This rule applies to any [semantic][semantic role] `heading` element that is [included in the accessibility tree][] and has a non-empty (`””`) [accessible name][]. ## Expectation @@ -142,26 +142,6 @@ This heading describes the first [palpable content][] after it (the first `p` el ``` -#### Passed Example 7 - -Empty heading marked up with `h1` is not [visible][]. - -```html - -

- -``` - -#### Passed Example 8 - -Empty heading marked up with `role="heading"` is not [visible][]. - -```html - -

- -``` - ### Failed #### Failed Example 1 @@ -201,60 +181,58 @@ Heading marked up with `role="heading"` that does not describe the topic or purp #### Failed Example 4 -Heading marked up with `h1` element that does not describe the topic or purpose of the following [palpable content][]. The heading is [visible][], but is not [included in the accessibility tree][]. +This heading does not describe the first [palpable content][] after it (the first `p` element). The next [palpable content][] (the second `p` element) is not considered by this rule. ```html -

Weather

+

Weather

We are open Monday through Friday from 10 to 16

+

It is going to rain tomorrow

``` -#### Failed Example 5 +### Inapplicable -This heading does not describe the first [palpable content][] after it (the first `p` element). The next [palpable content][] (the second `p` element) is not considered by this rule. +#### Inapplicable Example 1 + +There is no heading. ```html -

Weather

We are open Monday through Friday from 10 to 16

-

It is going to rain tomorrow

``` -### Inapplicable - -#### Inapplicable Example 1 +#### Inapplicable Example 2 -No heading. +Heading is not [included in the accessibility tree][]. ```html +

Opening Hours

We are open Monday through Friday from 10 to 16

``` - +``` [decorative]: https://www.w3.org/TR/WCAG21/#dfn-pure-decoration 'WCAG definition of Pure decoration' [flat tree]: https://drafts.csswg.org/css-scoping/#flat-tree 'Definition of flat tree' @@ -265,3 +243,4 @@ Heading marked up with `h1` element that is not [visible][], and is not [include [sc246]: https://www.w3.org/TR/WCAG21/#headings-and-labels 'Success Criterion 2.4.6 Headings and Labels' [semantic role]: #semantic-role 'Definition of semantic role' [visible]: #visible 'Definition of visible' +[accessible name]: #accessible-name 'Definition of accessible name' From ed3d8bf159b21aae67848c628aa1605255a66a76 Mon Sep 17 00:00:00 2001 From: Todd Libby Date: Mon, 9 Jan 2023 08:56:47 -0700 Subject: [PATCH 10/16] Update heading-descriptive-b49b2e.md --- _rules/heading-descriptive-b49b2e.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 29ba09811ef..3af91a8e9bf 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -244,3 +244,4 @@ Semantic heading has an empty [accessible name][]. [semantic role]: #semantic-role 'Definition of semantic role' [visible]: #visible 'Definition of visible' [accessible name]: #accessible-name 'Definition of accessible name' +[perceivable content]: #perceivable-content 'Definition of perceivable content' From 08425a3d555fb32ecf61475bd411acadb58d1e58 Mon Sep 17 00:00:00 2001 From: Todd Libby Date: Mon, 9 Jan 2023 08:59:52 -0700 Subject: [PATCH 11/16] Update heading-descriptive-b49b2e.md --- _rules/heading-descriptive-b49b2e.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 3af91a8e9bf..49f9aba9889 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -64,7 +64,7 @@ Headings that are visible but not in the accessibility tree are a failure of [Su #### Passed Example 1 -Heading marked up with `h1` element that describes the topic or purpose of the following [palpable content][]. +Heading marked up with `h1` element that describes the topic or purpose of the following [perceivable content][]. ```html @@ -75,7 +75,7 @@ Heading marked up with `h1` element that describes the topic or purpose of the f #### Passed Example 2 -Heading marked up with `role="heading"` that describes the topic or purpose of the following [palpable content][]. +Heading marked up with `role="heading"` that describes the topic or purpose of the following [perceivable content][]. ```html @@ -86,7 +86,7 @@ Heading marked up with `role="heading"` that describes the topic or purpose of t #### Passed Example 3 -Heading marked up with `h1` element with an image that describes the topic or purpose of the following [palpable content][]. +Heading marked up with `h1` element with an image that describes the topic or purpose of the following [perceivable content][]. ```html @@ -99,7 +99,7 @@ Heading marked up with `h1` element with an image that describes the topic or pu #### Passed Example 4 -Heading marked up with `h1` element that is a single character that describes the topic or purpose of the following [palpable content][]. +Heading marked up with `h1` element that is a single character that describes the topic or purpose of the following [perceivable content][]. ```html @@ -119,7 +119,7 @@ Heading marked up with `h1` element that is a single character that describes th #### Passed Example 5 -Heading marked up with `role="heading"` that describes the topic or purpose of the following [palpable content][]. The heading is positioned off screen but is [included in the accessibility tree][]. +Heading marked up with `role="heading"` that describes the topic or purpose of the following [perceivable content][]. The heading is positioned off screen but is [included in the accessibility tree][]. ```html @@ -132,7 +132,7 @@ Heading marked up with `role="heading"` that describes the topic or purpose of t #### Passed Example 6 -This heading describes the first [palpable content][] after it (the first `p` element). The next [palpable content][] (the second `p` element) is not considered by this rule. +This heading describes the first [perceivable content][] after it (the first `p` element). The next [perceivable content][] (the second `p` element) is not considered by this rule. ```html @@ -146,7 +146,7 @@ This heading describes the first [palpable content][] after it (the first `p` el #### Failed Example 1 -Heading marked up with `h1` element that does not describe the topic or purpose of the following [palpable content][]. +Heading marked up with `h1` element that does not describe the topic or purpose of the following [perceivable content][]. ```html @@ -157,7 +157,7 @@ Heading marked up with `h1` element that does not describe the topic or purpose #### Failed Example 2 -Heading marked up with `role="heading"` that does not describe the topic or purpose of the following [palpable content][]. +Heading marked up with `role="heading"` that does not describe the topic or purpose of the following [perceivable content][]. ```html @@ -168,7 +168,7 @@ Heading marked up with `role="heading"` that does not describe the topic or purp #### Failed Example 3 -Heading marked up with `role="heading"` that does not describe the topic or purpose of the following [palpable content][]. The heading is positioned off screen and is [included in the accessibility tree][]. +Heading marked up with `role="heading"` that does not describe the topic or purpose of the following [perceivable content][]. The heading is positioned off screen and is [included in the accessibility tree][]. ```html @@ -181,7 +181,7 @@ Heading marked up with `role="heading"` that does not describe the topic or purp #### Failed Example 4 -This heading does not describe the first [palpable content][] after it (the first `p` element). The next [palpable content][] (the second `p` element) is not considered by this rule. +This heading does not describe the first [perceivable content][] after it (the first `p` element). The next [perceivable content][] (the second `p` element) is not considered by this rule. ```html @@ -237,7 +237,6 @@ Semantic heading has an empty [accessible name][]. [decorative]: https://www.w3.org/TR/WCAG21/#dfn-pure-decoration 'WCAG definition of Pure decoration' [flat tree]: https://drafts.csswg.org/css-scoping/#flat-tree 'Definition of flat tree' [included in the accessibility tree]: #included-in-the-accessibility-tree 'Definition of included in the accessibility tree' -[palpable content]: https://html.spec.whatwg.org/multipage/dom.html#palpable-content 'HTML definition of Palpable Content' [presentational roles conflict resolution]: https://www.w3.org/TR/wai-aria-1.1/#conflict_resolution_presentation_none 'Presentational Roles Conflict Resolution' [sc131]: https://www.w3.org/TR/WCAG21/#info-and-relationships ' Success Criterion 1.3.1 Info and Relationships' [sc246]: https://www.w3.org/TR/WCAG21/#headings-and-labels 'Success Criterion 2.4.6 Headings and Labels' From 22fe1cefe6e7c1beb3833ef329d569a61819eb49 Mon Sep 17 00:00:00 2001 From: Todd Libby Date: Thu, 19 Jan 2023 09:26:06 -0700 Subject: [PATCH 12/16] Update heading-descriptive-b49b2e.md Changed Failed example 3, "and" to "but". `The heading is positioned off screen but is [included in the accessibility tree][].` --- _rules/heading-descriptive-b49b2e.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 49f9aba9889..fde7db73303 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -168,7 +168,7 @@ Heading marked up with `role="heading"` that does not describe the topic or purp #### Failed Example 3 -Heading marked up with `role="heading"` that does not describe the topic or purpose of the following [perceivable content][]. The heading is positioned off screen and is [included in the accessibility tree][]. +Heading marked up with `role="heading"` that does not describe the topic or purpose of the following [perceivable content][]. The heading is positioned off screen but is [included in the accessibility tree][]. ```html From f5ade3660da4b4d5bdbd01452365452b7c0af2f6 Mon Sep 17 00:00:00 2001 From: "Trevor R. Bostic" <32486143+tbostic32@users.noreply.github.com> Date: Thu, 16 Feb 2023 08:57:15 -0500 Subject: [PATCH 13/16] Update heading-descriptive-b49b2e.md Adding assumption additional assumption about visible content. --- _rules/heading-descriptive-b49b2e.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index fde7db73303..3bc0d842838 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -41,6 +41,8 @@ The order of elements is determined by the [flat tree][]. This rule assumes that the [flat tree][] order is close to the reading order, as elements are rendered on the page. Due to positioning, it is possible to render a document in an order that greatly differs from the tree order, in which case the content which is visually associated with a heading might not be the content following it in tree order and this rule might fail while [Success Criterion 2.4.6 Headings and Label][sc246] is still satisfied. +This rule also assumes that the content the heading is intended to describe is visible and not hidden from AT. Otherwise, cases such as expandable content using a heading might fail this rule while [Success Criterion 2.4.6 Headings and Label][sc246] is still satisfied. + ## Accessibility Support Implementation of [Presentational Roles Conflict Resolution][] varies from one browser or assistive technology to another. Depending on this, some [semantic][semantic role] `heading` elements can fail this rule with some technology but users of other technologies would not experience any accessibility issue. From 85bc819e34181ab18fd9f9fe81209e0f972f7a9c Mon Sep 17 00:00:00 2001 From: "Trevor R. Bostic" <32486143+tbostic32@users.noreply.github.com> Date: Thu, 16 Feb 2023 09:05:47 -0500 Subject: [PATCH 14/16] Update _rules/heading-descriptive-b49b2e.md --- _rules/heading-descriptive-b49b2e.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 3bc0d842838..67a2878a60d 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -41,7 +41,7 @@ The order of elements is determined by the [flat tree][]. This rule assumes that the [flat tree][] order is close to the reading order, as elements are rendered on the page. Due to positioning, it is possible to render a document in an order that greatly differs from the tree order, in which case the content which is visually associated with a heading might not be the content following it in tree order and this rule might fail while [Success Criterion 2.4.6 Headings and Label][sc246] is still satisfied. -This rule also assumes that the content the heading is intended to describe is visible and not hidden from AT. Otherwise, cases such as expandable content using a heading might fail this rule while [Success Criterion 2.4.6 Headings and Label][sc246] is still satisfied. +This rule also assumes that the content the heading is intended to describe is [visible][] and not hidden from AT. Otherwise, cases such as expandable content using a heading might fail this rule while [Success Criterion 2.4.6 Headings and Label][sc246] is still satisfied. ## Accessibility Support From 4cf53ab17d71c13be1d4bab64e96f72309d5d30f Mon Sep 17 00:00:00 2001 From: Todd Libby Date: Thu, 16 Feb 2023 09:23:03 -0700 Subject: [PATCH 15/16] Update heading-descriptive-b49b2e.md --- _rules/heading-descriptive-b49b2e.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 67a2878a60d..1bd52fc61a9 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -41,7 +41,7 @@ The order of elements is determined by the [flat tree][]. This rule assumes that the [flat tree][] order is close to the reading order, as elements are rendered on the page. Due to positioning, it is possible to render a document in an order that greatly differs from the tree order, in which case the content which is visually associated with a heading might not be the content following it in tree order and this rule might fail while [Success Criterion 2.4.6 Headings and Label][sc246] is still satisfied. -This rule also assumes that the content the heading is intended to describe is [visible][] and not hidden from AT. Otherwise, cases such as expandable content using a heading might fail this rule while [Success Criterion 2.4.6 Headings and Label][sc246] is still satisfied. +This rule also assumes that the content the heading is intended to describe is visible and not hidden from AT. Otherwise, cases such as expandable content using a heading might fail this rule while [Success Criterion 2.4.6 Headings and Label][sc246] is still satisfied. ## Accessibility Support From 08c39d1dca56741348ae1884fbc19787b4f79ea7 Mon Sep 17 00:00:00 2001 From: Todd Libby Date: Thu, 16 Feb 2023 09:27:17 -0700 Subject: [PATCH 16/16] Update heading-descriptive-b49b2e.md --- _rules/heading-descriptive-b49b2e.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 1bd52fc61a9..75f980130ba 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -41,7 +41,7 @@ The order of elements is determined by the [flat tree][]. This rule assumes that the [flat tree][] order is close to the reading order, as elements are rendered on the page. Due to positioning, it is possible to render a document in an order that greatly differs from the tree order, in which case the content which is visually associated with a heading might not be the content following it in tree order and this rule might fail while [Success Criterion 2.4.6 Headings and Label][sc246] is still satisfied. -This rule also assumes that the content the heading is intended to describe is visible and not hidden from AT. Otherwise, cases such as expandable content using a heading might fail this rule while [Success Criterion 2.4.6 Headings and Label][sc246] is still satisfied. +This rule also assumes that the content the heading is intended to describe is [visible][] and not hidden from AT. Otherwise, cases such as expandable content using a heading might fail this rule while [Success Criterion 2.4.6 Headings and Label][sc246] is still satisfied. ## Accessibility Support