From dd3cba1dece64ea3695c3b493ebf83b25f368164 Mon Sep 17 00:00:00 2001 From: Kate Higa <16447748+khiga8@users.noreply.github.com> Date: Tue, 18 Jul 2023 10:52:20 -0400 Subject: [PATCH] Add failing test case --- tests/a11y-no-visually-hidden-interactive-element.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/a11y-no-visually-hidden-interactive-element.js b/tests/a11y-no-visually-hidden-interactive-element.js index 7db8bb4..5879cf3 100644 --- a/tests/a11y-no-visually-hidden-interactive-element.js +++ b/tests/a11y-no-visually-hidden-interactive-element.js @@ -23,6 +23,9 @@ ruleTester.run('a11y-no-visually-hidden-interactive-element', rule, { {code: "Text;"}, {code: ""}, {code: ""}, + { + code: " { return isOn || isOnProps ? `${className} selected`.trim() : className ?? ''}}/>", + }, {code: "skip to main content"}, {code: ''}, {