diff --git a/src/ui/flights/FlightCard.tsx b/src/ui/flights/FlightCard.tsx index c4770b97..87abb785 100644 --- a/src/ui/flights/FlightCard.tsx +++ b/src/ui/flights/FlightCard.tsx @@ -211,6 +211,7 @@ export const FlightCard: FC = ({ ? { role: "button", tabIndex: 0, + ...(expandable ? { "aria-expanded": expanded } : {}), onClick: toggleExpanded, onKeyDown: (e: KeyboardEvent) => { if (e.key === "Enter" || e.key === " ") {