From 058459dc92efe95aa115fea668d22a1ab6390385 Mon Sep 17 00:00:00 2001 From: Shunguo Date: Thu, 14 Sep 2023 15:48:57 -0500 Subject: [PATCH 01/23] update rules #1680 --- .../src/v4/rules/aria_attribute_deprecated.ts | 6 +++--- .../src/v4/rules/aria_role_redundant.ts | 6 +++--- .../src/v4/rules/element_accesskey_unique.ts | 4 ++-- .../src/v4/rules/element_attribute_deprecated.ts | 6 +++--- .../src/v4/rules/element_id_unique.ts | 4 ++-- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/accessibility-checker-engine/src/v4/rules/aria_attribute_deprecated.ts b/accessibility-checker-engine/src/v4/rules/aria_attribute_deprecated.ts index 5c50ea62f..0d8428fb7 100644 --- a/accessibility-checker-engine/src/v4/rules/aria_attribute_deprecated.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_attribute_deprecated.ts @@ -37,10 +37,10 @@ export let aria_attribute_deprecated: Rule = { } }, rulesets: [{ - "id": ["IBM_Accessibility", "WCAG_2_1", "WCAG_2_0"], - "num": ["4.1.1"], + "id": ["IBM_Accessibility"], + "num": ["ARIA"], "level": eRulePolicy.RECOMMENDATION, - "toolkitLevel": eToolkitLevel.LEVEL_ONE + "toolkitLevel": eToolkitLevel.LEVEL_THREE }], act: [], run: (context: RuleContext, options?: {}, contextHierarchies?: RuleContextHierarchy): RuleResult | RuleResult[] => { diff --git a/accessibility-checker-engine/src/v4/rules/aria_role_redundant.ts b/accessibility-checker-engine/src/v4/rules/aria_role_redundant.ts index 710468180..8a2835e47 100644 --- a/accessibility-checker-engine/src/v4/rules/aria_role_redundant.ts +++ b/accessibility-checker-engine/src/v4/rules/aria_role_redundant.ts @@ -35,10 +35,10 @@ export let aria_role_redundant: Rule = { } }, rulesets: [{ - "id": ["IBM_Accessibility", "WCAG_2_1", "WCAG_2_0"], - "num": ["4.1.1"], + "id": ["IBM_Accessibility"], + "num": ["ARIA"], "level": eRulePolicy.RECOMMENDATION, - "toolkitLevel": eToolkitLevel.LEVEL_FOUR + "toolkitLevel": eToolkitLevel.LEVEL_THREE }], act: [], run: (context: RuleContext, options?: {}, contextHierarchies?: RuleContextHierarchy): RuleResult | RuleResult[] => { diff --git a/accessibility-checker-engine/src/v4/rules/element_accesskey_unique.ts b/accessibility-checker-engine/src/v4/rules/element_accesskey_unique.ts index 05b5b8679..4d55c9ec9 100644 --- a/accessibility-checker-engine/src/v4/rules/element_accesskey_unique.ts +++ b/accessibility-checker-engine/src/v4/rules/element_accesskey_unique.ts @@ -38,8 +38,8 @@ export let element_accesskey_unique: Rule = { } }, rulesets: [{ - "id": ["IBM_Accessibility", "WCAG_2_1", "WCAG_2_0"], - "num": ["4.1.1"], + "id": ["IBM_Accessibility"], + "num": ["HTML"], "level": eRulePolicy.VIOLATION, "toolkitLevel": eToolkitLevel.LEVEL_THREE }], diff --git a/accessibility-checker-engine/src/v4/rules/element_attribute_deprecated.ts b/accessibility-checker-engine/src/v4/rules/element_attribute_deprecated.ts index 0c77fce88..66a20a697 100644 --- a/accessibility-checker-engine/src/v4/rules/element_attribute_deprecated.ts +++ b/accessibility-checker-engine/src/v4/rules/element_attribute_deprecated.ts @@ -123,10 +123,10 @@ export let element_attribute_deprecated: Rule = { } }, rulesets: [{ - "id": ["IBM_Accessibility", "WCAG_2_1", "WCAG_2_0"], - "num": ["4.1.1"], + "id": ["IBM_Accessibility"], + "num": ["HTML"], "level": eRulePolicy.RECOMMENDATION, - "toolkitLevel": eToolkitLevel.LEVEL_ONE + "toolkitLevel": eToolkitLevel.LEVEL_THREE }], act: [], run: (context: RuleContext, options?: {}, contextHierarchies?: RuleContextHierarchy): RuleResult | RuleResult[] => { diff --git a/accessibility-checker-engine/src/v4/rules/element_id_unique.ts b/accessibility-checker-engine/src/v4/rules/element_id_unique.ts index 103a8af53..7da1e6665 100644 --- a/accessibility-checker-engine/src/v4/rules/element_id_unique.ts +++ b/accessibility-checker-engine/src/v4/rules/element_id_unique.ts @@ -43,8 +43,8 @@ export let element_id_unique: Rule = { } }, rulesets: [{ - "id": ["IBM_Accessibility", "WCAG_2_1", "WCAG_2_0"], - "num": ["4.1.1"], + "id": ["IBM_Accessibility"], + "num": ["HTML"], "level": eRulePolicy.VIOLATION, "toolkitLevel": eToolkitLevel.LEVEL_THREE }], From da35b053f91fd12affd06f088edc9fb663b9891f Mon Sep 17 00:00:00 2001 From: Shunguo Date: Fri, 15 Sep 2023 12:34:37 -0500 Subject: [PATCH 02/23] update the rule categories #1680 --- .../src/v4/rulesets.ts | 2 +- .../src/v4/sc-urls.json | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/accessibility-checker-engine/src/v4/rulesets.ts b/accessibility-checker-engine/src/v4/rulesets.ts index 6eb8b6ecc..4cda35285 100644 --- a/accessibility-checker-engine/src/v4/rulesets.ts +++ b/accessibility-checker-engine/src/v4/rulesets.ts @@ -109,7 +109,7 @@ export let a11yRulesets: Ruleset[] = [ description: "Rules for WCAG 2.1 AA plus additional IBM checklist supplemental requirements.", // This ruleset has all 2.0 and 2.1 checkpoints that are A or AA checkpoints: SCs - .filter(sc => (sc.level === "A" || sc.level === "AA") && (sc.wcagType === "2.0" || sc.wcagType === "2.1")) + .filter(sc => (sc.level === "A" || sc.level === "AA" || sc.level === "NA") && (sc.wcagType === "2.0" || sc.wcagType === "2.1" || sc.wcagType === "NA")) .map(sc => ({ num: sc.num, scId: sc.scId, diff --git a/accessibility-checker-engine/src/v4/sc-urls.json b/accessibility-checker-engine/src/v4/sc-urls.json index 35440eb9a..241b6463c 100644 --- a/accessibility-checker-engine/src/v4/sc-urls.json +++ b/accessibility-checker-engine/src/v4/sc-urls.json @@ -934,5 +934,29 @@ "handle": "Status Messages", "level": "AA", "wcagType": "2.1" + }, + "HTML": { + "num": "HTML", + "url": "https://html.spec.whatwg.org/multipage/", + "scId": [], + "scAltId": [], + "test": "", + "howToMeetUrl": "https://html.spec.whatwg.org/multipage/", + "understandingUrl": "https://html.spec.whatwg.org/multipage/", + "handle": "HTML Messages", + "level": "NA", + "wcagType": "NA" + }, + "ARIA": { + "num": "ARIA", + "url": "https://w3c.github.io/aria/", + "scId": [], + "scAltId": [], + "test": "", + "howToMeetUrl": "https://w3c.github.io/aria/", + "understandingUrl": "https://w3c.github.io/aria/", + "handle": "ARIA Messages", + "level": "NA", + "wcagType": "NA" } } \ No newline at end of file From 0a831a18e98eafe5e8a6e46a322370ecda8774f8 Mon Sep 17 00:00:00 2001 From: Shunguo Date: Fri, 15 Sep 2023 12:40:39 -0500 Subject: [PATCH 03/23] ruleset update to include wcag 2.2 #1680 --- accessibility-checker-engine/src/v4/rulesets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessibility-checker-engine/src/v4/rulesets.ts b/accessibility-checker-engine/src/v4/rulesets.ts index 4cda35285..7b7bdfb4a 100644 --- a/accessibility-checker-engine/src/v4/rulesets.ts +++ b/accessibility-checker-engine/src/v4/rulesets.ts @@ -109,7 +109,7 @@ export let a11yRulesets: Ruleset[] = [ description: "Rules for WCAG 2.1 AA plus additional IBM checklist supplemental requirements.", // This ruleset has all 2.0 and 2.1 checkpoints that are A or AA checkpoints: SCs - .filter(sc => (sc.level === "A" || sc.level === "AA" || sc.level === "NA") && (sc.wcagType === "2.0" || sc.wcagType === "2.1" || sc.wcagType === "NA")) + .filter(sc => (sc.level === "A" || sc.level === "AA" || sc.level === "NA") && (sc.wcagType === "2.0" || sc.wcagType === "2.1" || sc.wcagType === "2.2" || sc.wcagType === "NA")) .map(sc => ({ num: sc.num, scId: sc.scId, From 5abbf4c52e9683edb18bd1896933aca0231d54ca Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Tue, 19 Sep 2023 14:35:55 -0500 Subject: [PATCH 04/23] Remove reference to 4.1.1 --- .../help-v4/en-US/aria_attribute_deprecated.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html b/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html index ee727b8b6..95dc6d70a 100644 --- a/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html +++ b/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html @@ -65,6 +65,8 @@

### What to do * Replace deprecated roles and attributes with those preferred in the current version of the specification. + +Note: Specification issues such as missing roles due to inappropriately nested elements, deprecated roles, incorrect states or names due to a duplicate ID are covered by other accessibility requirements and will be reported under those requirements rather than the previous "4.1.1 Parsing" requirement that was removed in WCAG 2.2. @@ -77,7 +79,7 @@

### About this requirement -* [IBM 4.1.1 Parsing](https://www.ibm.com/able/requirements/requirements/#4_1_1) + * [ARIA 1.2 - Deprecated Requirements](https://www.w3.org/TR/wai-aria-1.2/#deprecated) ### Who does this affect? From 3a6dca07b06c730856925a241ea3a646acb75dd5 Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Tue, 19 Sep 2023 14:42:23 -0500 Subject: [PATCH 05/23] Remove 4.1.1 --- .../help-v4/en-US/aria_role_redundant.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html b/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html index f700c2a70..7ddb16273 100644 --- a/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html +++ b/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html @@ -51,7 +51,7 @@

### What to do -Remove the redundant ARIA role from the element. +* Remove the redundant ARIA role from the element. Note the redundant ARIA and HTML roles shown in the following examples. @@ -69,6 +69,8 @@

``` +Note: Specification issues such as missing roles due to inappropriately nested elements, deprecated roles, incorrect states or names due to a duplicate ID that cause accessibility problems are covered by other accessibility requirements and will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. + @@ -80,7 +82,7 @@

### About this requirement -* [IBM 4.1.2 Name, role, value](https://www.ibm.com/able/requirements/requirements/#4_1_2) + * [ARIA in HTML - Avoid specifying redundant roles](https://www.w3.org/TR/html-aria/#avoid-specifying-redundant-roles) ### Who does this affect? From 45a4449718404cf80aa8c66ecaaf4e4c155a1860 Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Tue, 19 Sep 2023 15:09:58 -0500 Subject: [PATCH 06/23] Remove 4.1.1 --- .../help-v4/en-US/element_accesskey_unique.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/accessibility-checker-engine/help-v4/en-US/element_accesskey_unique.html b/accessibility-checker-engine/help-v4/en-US/element_accesskey_unique.html index b94970af8..d9c394966 100644 --- a/accessibility-checker-engine/help-v4/en-US/element_accesskey_unique.html +++ b/accessibility-checker-engine/help-v4/en-US/element_accesskey_unique.html @@ -60,6 +60,8 @@

``` +Note: Specification issues such as missing roles due to inappropriately nested elements, deprecated roles, incorrect states or names due to a duplicate ID that cause accessibility problems are covered by other accessibility requirements and will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. + @@ -71,7 +73,9 @@

### About this requirement -* [IBM 4.1.1 Parsing](https://www.ibm.com/able/requirements/requirements/#4_1_1) + +* [WebAIM - The accesskey attribute](https://webaim.org/techniques/keyboard/accesskey#spec) +* [ARIA practices - Developing a Keyboard Interface](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/) ### Who does this affect? From 51ab2b04b06d0a24b6a0cbcfecd915f76e9170fe Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Tue, 19 Sep 2023 15:12:31 -0500 Subject: [PATCH 07/23] Remove 4.1.1 Update acceskey --- .../help-v4/en-US/element_accesskey_labelled.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/accessibility-checker-engine/help-v4/en-US/element_accesskey_labelled.html b/accessibility-checker-engine/help-v4/en-US/element_accesskey_labelled.html index e9540ad36..3b438e74d 100644 --- a/accessibility-checker-engine/help-v4/en-US/element_accesskey_labelled.html +++ b/accessibility-checker-engine/help-v4/en-US/element_accesskey_labelled.html @@ -68,6 +68,8 @@

### About this requirement * [IBM 3.3.2 Labels and Instructions](https://www.ibm.com/able/requirements/requirements/#3_3_2) +* [WebAIM - The accesskey attribute](https://webaim.org/techniques/keyboard/accesskey#spec) +* [ARIA practices - Developing a Keyboard Interface](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/) ### Who does this affect? From 09597e8578dd94d18a8308fe0efefd026d9b2e6b Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Tue, 19 Sep 2023 15:16:18 -0500 Subject: [PATCH 08/23] Remove 4.1.1 --- .../help-v4/en-US/element_attribute_deprecated.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/accessibility-checker-engine/help-v4/en-US/element_attribute_deprecated.html b/accessibility-checker-engine/help-v4/en-US/element_attribute_deprecated.html index 6eb4c2e36..90b9f517d 100644 --- a/accessibility-checker-engine/help-v4/en-US/element_attribute_deprecated.html +++ b/accessibility-checker-engine/help-v4/en-US/element_attribute_deprecated.html @@ -64,8 +64,10 @@

### What to do -Replace deprecated elements and attributes with those preferred in the current version of the specification. +* Replace deprecated elements and attributes with those preferred in the current version of the specification. +Note: Specification issues such as missing roles due to inappropriately nested elements, deprecated elements, incorrect states or names due to a duplicate ID that cause accessibility problems are covered by other accessibility requirements and will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. + @@ -77,7 +79,7 @@

### About this requirement -* [IBM 4.1.1 Parsing](https://www.ibm.com/able/requirements/requirements/#4_1_1) + * [HTML 5 - Obsolete Features](https://dev.w3.org/html5/pf-summary/obsolete.html) ### Who does this affect? From f78dd15a043da1ce5a2d5469c67da1613aea0ea9 Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Tue, 19 Sep 2023 15:26:01 -0500 Subject: [PATCH 09/23] Remove 4.1.1 --- .../help-v4/en-US/element_id_unique.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/accessibility-checker-engine/help-v4/en-US/element_id_unique.html b/accessibility-checker-engine/help-v4/en-US/element_id_unique.html index b5fc49545..1bcc38dab 100644 --- a/accessibility-checker-engine/help-v4/en-US/element_id_unique.html +++ b/accessibility-checker-engine/help-v4/en-US/element_id_unique.html @@ -51,7 +51,7 @@

### What to do - * For each element with an `id` attribute, provide a unique, non-empty value. +* For each element with an `id` attribute, provide a unique, non-empty value. For example: @@ -64,6 +64,8 @@

Breaking news

``` +Note: Specification issues such as missing roles due to inappropriately nested elements, deprecated roles, incorrect states or names due to a duplicate ID that cause accessibility problems are covered by other accessibility requirements and will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. + @@ -75,13 +77,13 @@

Breaking news

### About this requirement -* [IBM 4.1.1 Parsing ](https://www.ibm.com/able/requirements/requirements/#4_1_1) -* [WCAG technique H93](https://www.w3.org/WAI/WCAG21/Techniques/html/H93) -* [WCAG technique F77](https://www.w3.org/WAI/WCAG21/Techniques/failures/F77) + +* [WCAG technique H93 - Ensuring that ID attributes are unique on a Web page](https://www.w3.org/WAI/WCAG21/Techniques/html/H93) +* [WCAG technique F77 - Failure due to duplicate values of type ID](https://www.w3.org/WAI/WCAG21/Techniques/failures/F77) ### Who does this affect? - * People using a screen reader, including blind, low vision and neurodivergent people +* People using a screen reader, including blind, low vision, and neurodivergent people From 295eee6efadea9b39733989814550cf06c879bea Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Tue, 19 Sep 2023 15:32:47 -0500 Subject: [PATCH 10/23] Remove 4.1.1 --- .../help-v4/en-US/aria_role_redundant.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html b/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html index 7ddb16273..82522cd73 100644 --- a/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html +++ b/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html @@ -53,7 +53,7 @@

* Remove the redundant ARIA role from the element. -Note the redundant ARIA and HTML roles shown in the following examples. +Note the redundant ARIA and HTML roles shown in the following examples: ``` From 3f37596e66f2f9b6d8c9a4d98131b3bf93490ba6 Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Wed, 20 Sep 2023 12:44:06 -0500 Subject: [PATCH 11/23] 4.1.1 note simplified --- .../help-v4/en-US/aria_attribute_deprecated.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html b/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html index 95dc6d70a..787f1b90d 100644 --- a/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html +++ b/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html @@ -65,8 +65,8 @@

### What to do * Replace deprecated roles and attributes with those preferred in the current version of the specification. - -Note: Specification issues such as missing roles due to inappropriately nested elements, deprecated roles, incorrect states or names due to a duplicate ID are covered by other accessibility requirements and will be reported under those requirements rather than the previous "4.1.1 Parsing" requirement that was removed in WCAG 2.2. + +Note: Only when specification issues such as using deprecated roles that also cause accessibility issues that are checked by other rules will be reported under those requirements rather than the previous "4.1.1 Parsing" requirement that was removed in WCAG 2.2. From 41ffc1862ee088a535cf1ddff56f1e02a18d939b Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Wed, 20 Sep 2023 12:47:03 -0500 Subject: [PATCH 12/23] Simplified 4.1.1 note --- .../help-v4/en-US/aria_role_redundant.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html b/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html index 82522cd73..f55f54c0d 100644 --- a/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html +++ b/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html @@ -69,7 +69,7 @@

``` -Note: Specification issues such as missing roles due to inappropriately nested elements, deprecated roles, incorrect states or names due to a duplicate ID that cause accessibility problems are covered by other accessibility requirements and will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. +Note: Only when specification issues such as redundant roles that also cause accessibility problems that are checked by other rules will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. From 1644fa19a1d0d802959395bca9065aa8879f8e41 Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Wed, 20 Sep 2023 12:50:20 -0500 Subject: [PATCH 13/23] Simplified 4.1.1 note --- .../help-v4/en-US/element_accesskey_unique.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessibility-checker-engine/help-v4/en-US/element_accesskey_unique.html b/accessibility-checker-engine/help-v4/en-US/element_accesskey_unique.html index d9c394966..3ede891dc 100644 --- a/accessibility-checker-engine/help-v4/en-US/element_accesskey_unique.html +++ b/accessibility-checker-engine/help-v4/en-US/element_accesskey_unique.html @@ -60,7 +60,7 @@

``` -Note: Specification issues such as missing roles due to inappropriately nested elements, deprecated roles, incorrect states or names due to a duplicate ID that cause accessibility problems are covered by other accessibility requirements and will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. +Note: Only when specification issues such as incorrect names due to duplicate IDs that also cause accessibility problems that are checked by other rules will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. From 1189d91074b4781a24a4c6c92b46f280470b9cf7 Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Wed, 20 Sep 2023 12:54:40 -0500 Subject: [PATCH 14/23] Simplified 4.1.1 note --- .../help-v4/en-US/element_attribute_deprecated.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessibility-checker-engine/help-v4/en-US/element_attribute_deprecated.html b/accessibility-checker-engine/help-v4/en-US/element_attribute_deprecated.html index 90b9f517d..e3d645317 100644 --- a/accessibility-checker-engine/help-v4/en-US/element_attribute_deprecated.html +++ b/accessibility-checker-engine/help-v4/en-US/element_attribute_deprecated.html @@ -66,7 +66,7 @@

* Replace deprecated elements and attributes with those preferred in the current version of the specification. -Note: Specification issues such as missing roles due to inappropriately nested elements, deprecated elements, incorrect states or names due to a duplicate ID that cause accessibility problems are covered by other accessibility requirements and will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. +Note: Only when specification issues such as using deprecated attributes also cause accessibility problems are checked by other rules will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. From cdc0f096ba3e223ac985ec84a771678eb806e191 Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Wed, 20 Sep 2023 13:43:42 -0500 Subject: [PATCH 15/23] Simplify 4.1.1 note --- .../help-v4/en-US/element_id_unique.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessibility-checker-engine/help-v4/en-US/element_id_unique.html b/accessibility-checker-engine/help-v4/en-US/element_id_unique.html index 1bcc38dab..d886284fd 100644 --- a/accessibility-checker-engine/help-v4/en-US/element_id_unique.html +++ b/accessibility-checker-engine/help-v4/en-US/element_id_unique.html @@ -64,7 +64,7 @@

Breaking news

``` -Note: Specification issues such as missing roles due to inappropriately nested elements, deprecated roles, incorrect states or names due to a duplicate ID that cause accessibility problems are covered by other accessibility requirements and will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. +Note: Only when specification issues such as a duplicate ID also cause incorrect accessibility states or name problems are checked by other rules will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. From aef7a2572607bc3e85744efa751ecafeaa739c32 Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Wed, 20 Sep 2023 15:48:37 -0500 Subject: [PATCH 16/23] Simplify 4.1.1 note --- .../help-v4/en-US/aria_attribute_deprecated.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html b/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html index 787f1b90d..c1c22bcdf 100644 --- a/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html +++ b/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html @@ -66,7 +66,7 @@

* Replace deprecated roles and attributes with those preferred in the current version of the specification. -Note: Only when specification issues such as using deprecated roles that also cause accessibility issues that are checked by other rules will be reported under those requirements rather than the previous "4.1.1 Parsing" requirement that was removed in WCAG 2.2. +Note: Only when specification issues such as using deprecated attributes that also cause accessibility issues that are checked by other rules will be reported under those requirements rather than the previous "4.1.1 Parsing" requirement that was removed in WCAG 2.2. From 84e05b0726bedca7926fa41e4c3a177e3b100fd7 Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Fri, 22 Sep 2023 16:30:22 -0500 Subject: [PATCH 17/23] HTML and ARIA to rule set descriptions --- accessibility-checker-engine/src/v4/rulesets.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/accessibility-checker-engine/src/v4/rulesets.ts b/accessibility-checker-engine/src/v4/rulesets.ts index 7b7bdfb4a..d1fe304ae 100644 --- a/accessibility-checker-engine/src/v4/rulesets.ts +++ b/accessibility-checker-engine/src/v4/rulesets.ts @@ -74,7 +74,9 @@ const summaries = { "4.1.1": "In content implemented using markup languages, elements have complete start and end tags, elements are nested according to their specifications, elements do not contain duplicate attributes, and any IDs are unique, except where the specifications allow these features.", "4.1.2": "For all user interface components (including, but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.", "4.1.3": "In content implemented using markup languages, status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.", -} + "HTML": "The HTML specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming HTML specification issues are reported.", + "ARIA": "The ARIA specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming ARIA specification issues are reported.", +} export let a11yRulesets: Ruleset[] = [ // { From 2d679304d8d9bf9379e773afd28760ac80eb631a Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Fri, 22 Sep 2023 16:38:48 -0500 Subject: [PATCH 18/23] 4.1.1 note updated --- .../help-v4/en-US/aria_attribute_deprecated.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html b/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html index c1c22bcdf..9100544f4 100644 --- a/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html +++ b/accessibility-checker-engine/help-v4/en-US/aria_attribute_deprecated.html @@ -66,7 +66,8 @@

* Replace deprecated roles and attributes with those preferred in the current version of the specification. -Note: Only when specification issues such as using deprecated attributes that also cause accessibility issues that are checked by other rules will be reported under those requirements rather than the previous "4.1.1 Parsing" requirement that was removed in WCAG 2.2. +Note: The [4.1.1 Parsing](https://www.w3.org/WAI/WCAG21/Understanding/parsing.html) requirement was removed from WCAG. +However, the Checker will report an issue against another accessibility requirement when it detects it causes an accessibility issue. From 2ff9c0a8e41180ef25edc5b206f55d48f07ec48f Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Fri, 22 Sep 2023 16:40:34 -0500 Subject: [PATCH 19/23] 4.1.1 note updated --- .../help-v4/en-US/aria_role_redundant.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html b/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html index f55f54c0d..49d711ce6 100644 --- a/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html +++ b/accessibility-checker-engine/help-v4/en-US/aria_role_redundant.html @@ -69,7 +69,8 @@

``` -Note: Only when specification issues such as redundant roles that also cause accessibility problems that are checked by other rules will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. +Note: The [4.1.1 Parsing](https://www.w3.org/WAI/WCAG21/Understanding/parsing.html) requirement was removed from WCAG. +However, the Checker will report an issue against another accessibility requirement when it detects it causes an accessibility issue. From cd2f7c39da9f33213aaa75677fb8f6d7cb3595ea Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Fri, 22 Sep 2023 16:42:59 -0500 Subject: [PATCH 20/23] 4.1.1 note updated --- .../help-v4/en-US/element_accesskey_unique.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accessibility-checker-engine/help-v4/en-US/element_accesskey_unique.html b/accessibility-checker-engine/help-v4/en-US/element_accesskey_unique.html index 3ede891dc..bed631d69 100644 --- a/accessibility-checker-engine/help-v4/en-US/element_accesskey_unique.html +++ b/accessibility-checker-engine/help-v4/en-US/element_accesskey_unique.html @@ -59,8 +59,8 @@

``` - -Note: Only when specification issues such as incorrect names due to duplicate IDs that also cause accessibility problems that are checked by other rules will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. +Note: The [4.1.1 Parsing](https://www.w3.org/WAI/WCAG21/Understanding/parsing.html) requirement was removed from WCAG. +However, the Checker will report an issue against another accessibility requirement when it detects it causes an accessibility issue. From 9b9e792ff0a8c004406fdfbb898e81c1713d15dc Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Fri, 22 Sep 2023 16:44:52 -0500 Subject: [PATCH 21/23] 4.1.1 note updated --- .../help-v4/en-US/element_attribute_deprecated.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/accessibility-checker-engine/help-v4/en-US/element_attribute_deprecated.html b/accessibility-checker-engine/help-v4/en-US/element_attribute_deprecated.html index e3d645317..1fe3482bd 100644 --- a/accessibility-checker-engine/help-v4/en-US/element_attribute_deprecated.html +++ b/accessibility-checker-engine/help-v4/en-US/element_attribute_deprecated.html @@ -66,7 +66,8 @@

* Replace deprecated elements and attributes with those preferred in the current version of the specification. -Note: Only when specification issues such as using deprecated attributes also cause accessibility problems are checked by other rules will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. +Note: The [4.1.1 Parsing](https://www.w3.org/WAI/WCAG21/Understanding/parsing.html) requirement was removed from WCAG. +However, the Checker will report an issue against another accessibility requirement when it detects it causes an accessibility issue. From e3f8a5c606aed1d53a37da92b2859797974d81fe Mon Sep 17 00:00:00 2001 From: Phill Jenkins Date: Fri, 22 Sep 2023 16:46:06 -0500 Subject: [PATCH 22/23] 4.1.1 note updated --- .../help-v4/en-US/element_id_unique.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/accessibility-checker-engine/help-v4/en-US/element_id_unique.html b/accessibility-checker-engine/help-v4/en-US/element_id_unique.html index d886284fd..a179af07e 100644 --- a/accessibility-checker-engine/help-v4/en-US/element_id_unique.html +++ b/accessibility-checker-engine/help-v4/en-US/element_id_unique.html @@ -64,7 +64,8 @@

Breaking news

``` -Note: Only when specification issues such as a duplicate ID also cause incorrect accessibility states or name problems are checked by other rules will be reported under those requirements rather than the previous “4.1.1 Parsing” requirement that was removed in WCAG 2.2. +Note: The [4.1.1 Parsing](https://www.w3.org/WAI/WCAG21/Understanding/parsing.html) requirement was removed from WCAG. +However, the Checker will report an issue against another accessibility requirement when it detects it causes an accessibility issue. From 8b210ffa70b566d51e857793cad51153b68cc9e9 Mon Sep 17 00:00:00 2001 From: Erick Renteria Date: Mon, 2 Oct 2023 15:31:15 -0500 Subject: [PATCH 23/23] Removing line 73 fro 4.1.1 --- accessibility-checker-engine/src/v4/rulesets.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/accessibility-checker-engine/src/v4/rulesets.ts b/accessibility-checker-engine/src/v4/rulesets.ts index f7606e39d..0cf91c2f6 100644 --- a/accessibility-checker-engine/src/v4/rulesets.ts +++ b/accessibility-checker-engine/src/v4/rulesets.ts @@ -70,7 +70,6 @@ const summaries = { "3.3.2": "Labels or instructions are provided when content requires user input.", "3.3.3": "If an input error is automatically detected and suggestions for correction are known, then the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content.", "3.3.4": "For content that cause legal commitments or financial transactions for the user to occur, that modify or delete user-controllable data in data storage systems, or that submit user test responses, the user can reverse, correct, or confirm the action.", - "4.1.1": "In content implemented using markup languages, elements have complete start and end tags, elements are nested according to their specifications, elements do not contain duplicate attributes, and any IDs are unique, except where the specifications allow these features.", "4.1.2": "For all user interface components (including, but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.", "4.1.3": "In content implemented using markup languages, status messages can be programmatically determined through role or properties such that they can be presented to the user by assistive technologies without receiving focus.", "HTML": "The HTML specification issues that cause accessibility issues may be covered by other rules and will be reported under those accessibility requirements. However, some non-conforming HTML specification issues are reported.",