From 7bc9186deb1f79fffc20a4bf88ca4680c637a672 Mon Sep 17 00:00:00 2001 From: Utkarsh Chaudhary Date: Thu, 19 Sep 2024 08:08:51 +0530 Subject: [PATCH] Adressed issue --- lib/commons/dom/get-visible-child-text-rects.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/commons/dom/get-visible-child-text-rects.js b/lib/commons/dom/get-visible-child-text-rects.js index 9204d29d..514c9e2c 100644 --- a/lib/commons/dom/get-visible-child-text-rects.js +++ b/lib/commons/dom/get-visible-child-text-rects.js @@ -51,7 +51,6 @@ const getVisibleChildTextRects = memoize( * * @see https://github.com/dequelabs/axe-core/issues/4253 */ - return clientRects.length ? clientRects : filterHiddenRects([nodeRect], overflowHiddenNodes);