Accessibility
- The list is a
listnamed byariaLabel, each row alistitem, a divider aseparator. - A selectable row holds a button named by the headline and described by the supporting text,
with
aria-pressedfor its selection. WithtrackSelection, each row's action is a button witharia-pressed: that is this option's contract and it stays. For a single-select listbox of options (role="listbox"androle="option"witharia-selected), wrap the list withwithSingleSelectListbox.Up,Down,HomeandEndmove between the enabled rows;EnterorSpaceselects. - A disabled row is
aria-disabledand its button disabled. Leading icons are hidden from assistive tech. A trailing control without a name of its own is named by the row's headline and described by its supporting text; a name the app gives —ariaLabel, a label, anaria-labelledby— wins.