Add aria-hidden to decorative arrow-icon spans in OnlineBoardFilter accordion headers

This commit is contained in:
2026-04-20 22:03:35 +03:00
parent 5f5f60ca3e
commit e8701eb5b7
@@ -303,7 +303,7 @@ export const OnlineBoardFilter: FC<OnlineBoardFilterProps> = ({
>
<span className="p-header">
<span>{t("BOARD.FLIGHT_NUMBER")}</span>
<span className={`arrow-icon${activeTab === "flight" ? " arrow-icon--rotated" : ""}`}>
<span className={`arrow-icon${activeTab === "flight" ? " arrow-icon--rotated" : ""}`} aria-hidden="true">
<svg viewBox="0 0 12 8" width="12" height="8">
<path d="M1 1L6 6L11 1" stroke="currentColor" strokeWidth="1.5" fill="none" />
</svg>
@@ -406,7 +406,7 @@ export const OnlineBoardFilter: FC<OnlineBoardFilterProps> = ({
>
<span className="p-header">
<span>{t("BOARD.ROUTE")}</span>
<span className={`arrow-icon${activeTab === "route" ? " arrow-icon--rotated" : ""}`}>
<span className={`arrow-icon${activeTab === "route" ? " arrow-icon--rotated" : ""}`} aria-hidden="true">
<svg viewBox="0 0 12 8" width="12" height="8">
<path d="M1 1L6 6L11 1" stroke="currentColor" strokeWidth="1.5" fill="none" />
</svg>