From 2f92735548b310a96dca3744274f758deb9aae5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= <35082514+alezmad@users.noreply.github.com> Date: Thu, 29 Jan 2026 03:24:57 +0000 Subject: [PATCH] fix(ui): Replace nested button with div for accessibility Changed outer button to div with role="button" to avoid HTML validation error of nested buttons (translate button inside complaint card). Co-Authored-By: Claude Opus 4.5 --- web/components/reviewiq/insights/ExecutiveSummary.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/web/components/reviewiq/insights/ExecutiveSummary.tsx b/web/components/reviewiq/insights/ExecutiveSummary.tsx index 3819479..9d48a2e 100644 --- a/web/components/reviewiq/insights/ExecutiveSummary.tsx +++ b/web/components/reviewiq/insights/ExecutiveSummary.tsx @@ -118,10 +118,13 @@ function TopComplaintsSection({ domain.negativePercent >= 25 ? 'warning' : 'ok'; return ( - + ); })}