From a60f9d4432f521117387f09620a62f4b30ca845a Mon Sep 17 00:00:00 2001 From: Shunguo Date: Tue, 7 Nov 2023 13:59:56 -0600 Subject: [PATCH] cleanup the code #1675 --- .../src/v4/rules/draggable_alternative_exists.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/accessibility-checker-engine/src/v4/rules/draggable_alternative_exists.ts b/accessibility-checker-engine/src/v4/rules/draggable_alternative_exists.ts index 547871a12..490c8d20d 100644 --- a/accessibility-checker-engine/src/v4/rules/draggable_alternative_exists.ts +++ b/accessibility-checker-engine/src/v4/rules/draggable_alternative_exists.ts @@ -55,8 +55,6 @@ export let draggable_alternative_exists: Rule = { || nodeName === "body" || nodeName === "html" ) return null; - const bounds = context["dom"].bounds; - //in case the bounds not available if (ruleContext.getAttribute("draggable") === 'true') return RulePotential("potential_alternative", [nodeName]);