Add role=status to FlightList empty-state banner (a11y)
This commit is contained in:
@@ -78,7 +78,7 @@ export const FlightList: FC<FlightListProps> = ({
|
||||
// Mirrors Angular `page-empty-list`: icon (left / top on mobile) +
|
||||
// title + body copy. Matches the same translation keys.
|
||||
return (
|
||||
<section className="page-empty" data-testid="page-empty">
|
||||
<section className="page-empty" data-testid="page-empty" role="status">
|
||||
<div className="page-empty__title">{t("SHARED.FLIGHTS-NOT-FOUND")}</div>
|
||||
<div className="page-empty__text">{t("SHARED.FLIGHTS-NOT-FOUND-TEXT")}</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user