From 32d80332ff88847415879ea4d21f4cc6280751d8 Mon Sep 17 00:00:00 2001 From: gnezim Date: Mon, 20 Apr 2026 21:51:47 +0300 Subject: [PATCH] Add aria-expanded to accordion role=button triggers (a11y parity for filter + SearchHistory) --- src/features/online-board/components/OnlineBoardFilter.tsx | 2 ++ src/ui/layout/SearchHistory.tsx | 1 + 2 files changed, 3 insertions(+) diff --git a/src/features/online-board/components/OnlineBoardFilter.tsx b/src/features/online-board/components/OnlineBoardFilter.tsx index 40eb5c0c..14b83c8b 100644 --- a/src/features/online-board/components/OnlineBoardFilter.tsx +++ b/src/features/online-board/components/OnlineBoardFilter.tsx @@ -297,6 +297,7 @@ export const OnlineBoardFilter: FC = ({ handleTabClick("flight")} onKeyDown={(e) => { if (e.key === "Enter" || e.key === " ") handleTabClick("flight"); }} > @@ -399,6 +400,7 @@ export const OnlineBoardFilter: FC = ({ handleTabClick("route")} onKeyDown={(e) => { if (e.key === "Enter" || e.key === " ") handleTabClick("route"); }} > diff --git a/src/ui/layout/SearchHistory.tsx b/src/ui/layout/SearchHistory.tsx index e0ef1324..ca95cb91 100644 --- a/src/ui/layout/SearchHistory.tsx +++ b/src/ui/layout/SearchHistory.tsx @@ -72,6 +72,7 @@ export const SearchHistory: FC = () => { { if (e.key === "Enter" || e.key === " ") {