Accessibility
showModal() contains focus inside a modal sheet. Opening moves focus to the panel so the
mobile keyboard stays closed. Closing returns focus to the trigger. Add autoFocus (or the native
autofocus attribute) to a field inside Sheet.Content to focus it on entry. iOS raises the
keyboard only when the sheet opens from a tap, since it ignores focus outside a user gesture.
With two or more detents, Sheet.Handle exposes role="slider" with the matching
aria-valuemin/-valuemax/-valuenow/-valuetext, and moves between stops with Up/Down (or
Left/Right on side sheets), Home, and End. Sheet.Title and Sheet.Description wire
aria-labelledby/aria-describedby onto the dialog automatically whenever you render them.
Tab to the handle. Use Up, Down, Home, or End to move between 35%, 70%, and full height.
Short version in the FAQ: How accessible is it?.