From b81d4249ecc90710ff917eac1c48f157f44d791a Mon Sep 17 00:00:00 2001 From: Shunguo Date: Wed, 1 Nov 2023 10:55:22 -0500 Subject: [PATCH] clean up rule #1674 --- .../src/v4/rules/target_spacing_sufficient.ts | 2 +- accessibility-checker-engine/src/v4/rulesets.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/accessibility-checker-engine/src/v4/rules/target_spacing_sufficient.ts b/accessibility-checker-engine/src/v4/rules/target_spacing_sufficient.ts index 374271b7d..826190f1b 100644 --- a/accessibility-checker-engine/src/v4/rules/target_spacing_sufficient.ts +++ b/accessibility-checker-engine/src/v4/rules/target_spacing_sufficient.ts @@ -16,7 +16,7 @@ import { eRulePolicy, eToolkitLevel } from "../api/IRule"; import { VisUtil } from "../../v2/dom/VisUtil"; import { DOMMapper } from "../../v2/dom/DOMMapper"; - import { getDefinedStyles, getComputedStyle } from "../util/CSSUtil"; + import { getComputedStyle } from "../util/CSSUtil"; export let target_spacing_sufficient: Rule = { id: "target_spacing_sufficient", diff --git a/accessibility-checker-engine/src/v4/rulesets.ts b/accessibility-checker-engine/src/v4/rulesets.ts index f5a4eea58..09a475c0f 100644 --- a/accessibility-checker-engine/src/v4/rulesets.ts +++ b/accessibility-checker-engine/src/v4/rulesets.ts @@ -61,6 +61,7 @@ const summaries = { "2.5.2": "For functionality that can be operated using a single pointer, completion of the function is on the up-event with an ability to abort, undo or reverse the outcome.", "2.5.3": "For user interface components with labels that include text or images of text, the accessible name contains the text that is presented visually.", "2.5.4": "Functionality that can be operated by motion can also be operated by user interface components, and the motion trigger can be disabled.", + "2.5.8": "The size of the target for pointer inputs is at least 24 by 24 CSS pixels.", "3.1.1": "The default human language of Web pages, non-Web documents, or software can be programmatically determined.", "3.1.2": "The human language of each passage or phrase in the content can be programmatically determined.", "3.2.1": "When any component receives focus, it does not initiate a change of context.",