Seat

Accessibility

Seat

NameTypeDescription
aria-labelledbystringId(s) of elements that announce the component to screen readers.
titlestringAdds the title attribute to the rendered SVG element. Announced by screen readers after the aria-labelledby element(s).
descriptionstringAdds the description attribute to the rendered SVG element. Announced by screen readers after the title value.
<p id="l1" style={{ display: "none", visibility: "hidden" }}>
For passenger John Doe
</p>
<Seat
aria-labelledby="l1"
title="Seat 1A"
description="Extra legroom"
label="25€"
/>

SeatLegend