Add aria-hidden to decorative arrow-icon spans in OnlineBoardFilter accordion headers
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user