Skip to content

Commit

Permalink
Rule set headings
Browse files Browse the repository at this point in the history
  • Loading branch information
philljenkins authored Oct 19, 2023
1 parent 7d2544d commit 45c5524
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions accessibility-checker-engine/src/v4/rulesets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ const summaries = {
"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.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.",
"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 still 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 still reported.",
}

export let a11yRulesets: Guideline[] = [
Expand Down Expand Up @@ -107,7 +107,7 @@ export let a11yRulesets: Guideline[] = [
id: "IBM_Accessibility",
name: "IBM Accessibility 7.2",
category: eGuidelineCategory.ACCESSIBILITY,
description: "Rules for WCAG 2.1 AA plus additional IBM checklist supplemental requirements.",
description: "Rules for WCAG 2.0 & 2.1 A and AA plus additional IBM 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 === "2.2" || sc.wcagType === "NA"))
Expand All @@ -123,7 +123,7 @@ export let a11yRulesets: Guideline[] = [
id: "WCAG_2_2",
name: "WCAG 2.2 (A, AA)",
category: eGuidelineCategory.ACCESSIBILITY,
description: "Rules for WCAG 2.2 AA. This is the current W3C recommendation. Content that conforms to WCAG 2.2 also conforms to WCAG 2.1.",
description: "Rules for WCAG 2.2 A & AA. This is the current W3C recommendation (specification). Content that conforms to WCAG 2.2 also conforms to WCAG 2.1.",
// 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" || sc.wcagType === "2.2"))
Expand All @@ -139,7 +139,7 @@ export let a11yRulesets: Guideline[] = [
id: "WCAG_2_1",
name: "WCAG 2.1 (A, AA)",
category: eGuidelineCategory.ACCESSIBILITY,
description: "Rules for WCAG 2.1 AA. This is the current W3C recommendation. Content that conforms to WCAG 2.1 also conforms to WCAG 2.0.",
description: "Rules for WCAG 2.1 A & AA. This is the current W3C recommendation. Content that conforms to WCAG 2.1 also conforms to WCAG 2.0.",
// 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"))
Expand All @@ -155,7 +155,7 @@ export let a11yRulesets: Guideline[] = [
id: "WCAG_2_0",
name: "WCAG 2.0 (A, AA)",
category: eGuidelineCategory.ACCESSIBILITY,
description: "Rules for WCAG 2.0 AA. Referenced by US Section 508, but not the latest W3C recommendation.",
description: "Rules for WCAG 2.0 A & AA. Referenced by US Section 508, but not the latest W3C recommendation.",
// This ruleset has all 2.0 checkpoints that are A or AA
checkpoints: SCs
.filter(sc => (sc.level === "A" || sc.level === "AA") && (sc.wcagType === "2.0"))
Expand Down

0 comments on commit 45c5524

Please sign in to comment.