From 0267d32dd02eac7232934605ecae48d835361161 Mon Sep 17 00:00:00 2001 From: Kathy Eng Date: Mon, 21 Aug 2023 19:38:09 -0400 Subject: [PATCH 1/8] Update visible-label-in-accessible-name-2ee8b8.md --- _rules/visible-label-in-accessible-name-2ee8b8.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/visible-label-in-accessible-name-2ee8b8.md b/_rules/visible-label-in-accessible-name-2ee8b8.md index c17073622e7..0a5d80d6567 100755 --- a/_rules/visible-label-in-accessible-name-2ee8b8.md +++ b/_rules/visible-label-in-accessible-name-2ee8b8.md @@ -38,7 +38,7 @@ This rule applies to any element for which all the following is true: ## Expectation -For each target element, all [text nodes][] in the [visible text content][] either match or are contained within the [accessible name][] of this target element, except for characters in the [text nodes][] used to express [non-text content][]. Leading and trailing [whitespace][] and difference in case sensitivity should be ignored. +For each target element, all and only the [text nodes][] in the [visible text content][] either match or are contained within the [accessible name][] of this target element, except for characters in the [text nodes][] used to express [non-text content][]. Leading and trailing [whitespace][] and difference in case sensitivity should be ignored. ## Assumptions From ffd53a2f3710c0fb088761e0d09fbf224d96b0ba Mon Sep 17 00:00:00 2001 From: Kathy Eng Date: Mon, 21 Aug 2023 19:54:35 -0400 Subject: [PATCH 2/8] Update visible-label-in-accessible-name-2ee8b8.md --- .../visible-label-in-accessible-name-2ee8b8.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/_rules/visible-label-in-accessible-name-2ee8b8.md b/_rules/visible-label-in-accessible-name-2ee8b8.md index 0a5d80d6567..943bdbbf1cd 100755 --- a/_rules/visible-label-in-accessible-name-2ee8b8.md +++ b/_rules/visible-label-in-accessible-name-2ee8b8.md @@ -97,7 +97,7 @@ This button has [visible][] text that is contained within the [accessible name][ #### Passed Example 5 -This button has [visible][] text that does not need to be contained within the [accessible name][], because the "x" text node is [non-text content][]. +This button has [visible][] text that does not need to be contained within the [accessible name][], because the "x" text node is [non-text content][]. Note: this example passes this rule because characters in the text nodes used to express non-text content are not included in the Expectation, but it would need to meet SC 1.1.1 Non text content. ```html @@ -143,6 +143,22 @@ This link has [visible][] text with mathematical symbols, that does not match th Proof of 2×2=4 ``` +#### Failed Example 4 + +This link has [visible][] text does not match the [accessible name][] because there is a hyphen in the accessible name. + +```html +nonstandard +``` + +#### Failed Example 5 + +This link has [visible][] text does not match the [accessible name][] because there are extra spaces in the accessible name. + +```html +123.456.7890 +``` + ### Inapplicable #### Inapplicable Example 1 From c929457363c0e71614d2ce7795c77a3c58618295 Mon Sep 17 00:00:00 2001 From: Kathy Eng Date: Mon, 21 Aug 2023 20:07:25 -0400 Subject: [PATCH 3/8] Update visible-label-in-accessible-name-2ee8b8.md --- _rules/visible-label-in-accessible-name-2ee8b8.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_rules/visible-label-in-accessible-name-2ee8b8.md b/_rules/visible-label-in-accessible-name-2ee8b8.md index 943bdbbf1cd..7b2f02fea52 100755 --- a/_rules/visible-label-in-accessible-name-2ee8b8.md +++ b/_rules/visible-label-in-accessible-name-2ee8b8.md @@ -38,7 +38,7 @@ This rule applies to any element for which all the following is true: ## Expectation -For each target element, all and only the [text nodes][] in the [visible text content][] either match or are contained within the [accessible name][] of this target element, except for characters in the [text nodes][] used to express [non-text content][]. Leading and trailing [whitespace][] and difference in case sensitivity should be ignored. +For each target element, all the [text nodes][] in the [visible text content][] match in sequence and are contained within the [accessible name][] of this target element, except for characters in the [text nodes][] used to express [non-text content][]. Leading and trailing [whitespace][] and difference in case sensitivity should be ignored. ## Assumptions @@ -97,10 +97,10 @@ This button has [visible][] text that is contained within the [accessible name][ #### Passed Example 5 -This button has [visible][] text that does not need to be contained within the [accessible name][], because the "x" text node is [non-text content][]. Note: this example passes this rule because characters in the text nodes used to express non-text content are not included in the Expectation, but it would need to meet SC 1.1.1 Non text content. +This button has [visible][] text that does not need to be contained within the [accessible name][], because the "x" text node is [non-text content][]. Note: this would need to meet SC 1.1.1 Non text content. ```html - + ``` #### Passed Example 6 From 9590ae3174691417d13a0096e4330a95d8d27357 Mon Sep 17 00:00:00 2001 From: Kathy Eng Date: Mon, 21 Aug 2023 20:08:32 -0400 Subject: [PATCH 4/8] Update _rules/visible-label-in-accessible-name-2ee8b8.md --- _rules/visible-label-in-accessible-name-2ee8b8.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/visible-label-in-accessible-name-2ee8b8.md b/_rules/visible-label-in-accessible-name-2ee8b8.md index 7b2f02fea52..548d9451d95 100755 --- a/_rules/visible-label-in-accessible-name-2ee8b8.md +++ b/_rules/visible-label-in-accessible-name-2ee8b8.md @@ -38,7 +38,7 @@ This rule applies to any element for which all the following is true: ## Expectation -For each target element, all the [text nodes][] in the [visible text content][] match in sequence and are contained within the [accessible name][] of this target element, except for characters in the [text nodes][] used to express [non-text content][]. Leading and trailing [whitespace][] and difference in case sensitivity should be ignored. +For each target element, all [text nodes][] in the [visible text content][] match in sequence and are contained within the [accessible name][] of this target element, except for characters in the [text nodes][] used to express [non-text content][]. Leading and trailing [whitespace][] and difference in case sensitivity should be ignored. ## Assumptions From f19e9eb5b2ef410d72b00d73ed07534142434ac5 Mon Sep 17 00:00:00 2001 From: Kathy Eng Date: Thu, 9 Nov 2023 11:16:02 -0500 Subject: [PATCH 5/8] Update _rules/visible-label-in-accessible-name-2ee8b8.md --- _rules/visible-label-in-accessible-name-2ee8b8.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/visible-label-in-accessible-name-2ee8b8.md b/_rules/visible-label-in-accessible-name-2ee8b8.md index 548d9451d95..fdd092122d7 100755 --- a/_rules/visible-label-in-accessible-name-2ee8b8.md +++ b/_rules/visible-label-in-accessible-name-2ee8b8.md @@ -38,7 +38,7 @@ This rule applies to any element for which all the following is true: ## Expectation -For each target element, all [text nodes][] in the [visible text content][] match in sequence and are contained within the [accessible name][] of this target element, except for characters in the [text nodes][] used to express [non-text content][]. Leading and trailing [whitespace][] and difference in case sensitivity should be ignored. +For each target element, all [text nodes][] in the [visible text content][] match characters and are contained within the [accessible name][] of this target element, except for characters in the [text nodes][] used to express [non-text content][]. Leading and trailing [whitespace][] and difference in case sensitivity should be ignored. ## Assumptions From b4d18a5c6e6df48887527862bcf799388c362df3 Mon Sep 17 00:00:00 2001 From: Kathy Eng Date: Thu, 9 Nov 2023 11:18:02 -0500 Subject: [PATCH 6/8] Update _rules/visible-label-in-accessible-name-2ee8b8.md --- _rules/visible-label-in-accessible-name-2ee8b8.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/visible-label-in-accessible-name-2ee8b8.md b/_rules/visible-label-in-accessible-name-2ee8b8.md index fdd092122d7..2fd671b92f3 100755 --- a/_rules/visible-label-in-accessible-name-2ee8b8.md +++ b/_rules/visible-label-in-accessible-name-2ee8b8.md @@ -38,7 +38,7 @@ This rule applies to any element for which all the following is true: ## Expectation -For each target element, all [text nodes][] in the [visible text content][] match characters and are contained within the [accessible name][] of this target element, except for characters in the [text nodes][] used to express [non-text content][]. Leading and trailing [whitespace][] and difference in case sensitivity should be ignored. +For each target element, all [text nodes][] in the [visible text content][] [match characters][] and are contained within the [accessible name][] of this target element, except for characters in the [text nodes][] used to express [non-text content][]. Leading and trailing [whitespace][] and difference in case sensitivity should be ignored. ## Assumptions From 818d342a0cf45960c4654f473c4dad9757461efc Mon Sep 17 00:00:00 2001 From: Kathy Eng Date: Thu, 30 Nov 2023 12:15:29 -0500 Subject: [PATCH 7/8] Update visible-label-in-accessible-name-2ee8b8.md add matching characters from act rules glossary --- _rules/visible-label-in-accessible-name-2ee8b8.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_rules/visible-label-in-accessible-name-2ee8b8.md b/_rules/visible-label-in-accessible-name-2ee8b8.md index 2fd671b92f3..378163c98b0 100755 --- a/_rules/visible-label-in-accessible-name-2ee8b8.md +++ b/_rules/visible-label-in-accessible-name-2ee8b8.md @@ -197,6 +197,7 @@ This link has no [visible text content][]. ``` [accessible name]: #accessible-name 'Definition of accessible name' +[match characters]: #matching-characters 'Definition of matching characters' [non-text content]: https://www.w3.org/TR/WCAG21/#dfn-non-text-content 'WCAG Definition of Non-text content' [presentational roles conflict resolution]: https://www.w3.org/TR/wai-aria-1.1/#conflict_resolution_presentation_none 'Presentational Roles Conflict Resolution' [semantic role]: #semantic-role 'Definition of Semantic role' From 3add10ea229b79f0131a13f60caab529e6968cd2 Mon Sep 17 00:00:00 2001 From: Kathy Eng Date: Tue, 12 Dec 2023 14:13:58 -0500 Subject: [PATCH 8/8] Update _rules/visible-label-in-accessible-name-2ee8b8.md --- _rules/visible-label-in-accessible-name-2ee8b8.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/visible-label-in-accessible-name-2ee8b8.md b/_rules/visible-label-in-accessible-name-2ee8b8.md index 378163c98b0..0b5d195890c 100755 --- a/_rules/visible-label-in-accessible-name-2ee8b8.md +++ b/_rules/visible-label-in-accessible-name-2ee8b8.md @@ -156,7 +156,7 @@ This link has [visible][] text does not match the [accessible name][] because th This link has [visible][] text does not match the [accessible name][] because there are extra spaces in the accessible name. ```html -123.456.7890 +123.456.7890 ``` ### Inapplicable