@@ -134,19 +134,19 @@ ruleTester.run('audit:no-invalid-interactive (gts)', rule, {
134134 // PARITY — non-interactive escape hatches honored by peers AND by us.
135135 // =========================================================================
136136
137- // D1 (resolved) . role="presentation" / role="none" on a plain element with
138- // onClick opts out of the interactivity check.
137+ // D1. role="presentation" / role="none" on a plain element with onClick
138+ // opts out of the interactivity check.
139139 // jsx-a11y no-static: VALID. jsx-a11y no-noninteractive: VALID.
140140 // Vue: VALID (`<div @click='void 0' role='presentation'/>`).
141- // Our rule (post-fix) : VALID — honored via `hasNonInteractiveEscapeHatch`.
141+ // Our rule: VALID — honored via `hasNonInteractiveEscapeHatch`.
142142 '<template><div role="presentation" onclick={{this.h}}></div></template>' ,
143143 '<template><div role="presentation" onkeydown={{this.h}}></div></template>' ,
144144 '<template><div role="none" onclick={{this.h}}></div></template>' ,
145145
146- // D2 (resolved) . aria-hidden suppresses flagging (jsx-a11y + vue).
146+ // D2. aria-hidden suppresses flagging (jsx-a11y + vue).
147147 // jsx-a11y: `<div onClick={()=>{}} aria-hidden />` VALID.
148148 // Vue: `<div @click='void 0' aria-hidden='true'/>` VALID.
149- // Our rule (post-fix) : VALID — honored via `hasNonInteractiveEscapeHatch`.
149+ // Our rule: VALID — honored via `hasNonInteractiveEscapeHatch`.
150150 '<template><div onclick={{this.h}} aria-hidden="true"></div></template>' ,
151151 '<template><div onclick={{this.h}} aria-hidden></div></template>' ,
152152 '<template><div onclick={{this.h}} aria-hidden={{true}}></div></template>' ,
@@ -451,9 +451,6 @@ ruleTester.run('audit:no-invalid-interactive (gts)', rule, {
451451 // DIVERGENCES — peers VALID, we FLAG (false positives relative to peers)
452452 // =========================================================================
453453
454- // D1 (role=presentation/none) and D2 (aria-hidden=true/bare) have been
455- // resolved; those cases are now in the valid block above.
456-
457454 // D3. <section onClick aria-label="Aa" />
458455 // jsx-a11y no-static: VALID; jsx-a11y no-noninteractive: INVALID.
459456 // Ours: INVALID — aria-label doesn't change interactivity. Matches no-noninteractive.
0 commit comments