From bdacc7142ec65e0f5ca98feede68653afba605d3 Mon Sep 17 00:00:00 2001 From: Ajax Davis Date: Thu, 11 Dec 2025 09:58:20 +1000 Subject: [PATCH] fix: add keyboard handler and role for a11y compliance --- apps/web/src/app/tool/tool-search/page.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/web/src/app/tool/tool-search/page.tsx b/apps/web/src/app/tool/tool-search/page.tsx index b139085..a0ae2c6 100644 --- a/apps/web/src/app/tool/tool-search/page.tsx +++ b/apps/web/src/app/tool/tool-search/page.tsx @@ -323,10 +323,13 @@ export default function ToolSearchPage(): React.ReactElement { )} - {/* Install command */} - {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */} - {/* biome-ignore lint/a11y/useKeyWithClickEvents: onClick only prevents propagation */} -
e.stopPropagation()}> + {/* Install command - onClick prevents propagation to parent Link */} +
e.stopPropagation()} + onKeyDown={(e) => e.stopPropagation()} + role="presentation" + >