Open elycheea opened 7 months ago
At a quick glance, we may need to restructure the HTML a bit so that the listbox
only contains the list items themselves and not also the divs and spans. Use of checkboxes within the listbox options also seems invalid.
Reported by @kristastarr in the Datagrid customize columns review from the accessibility audit.
Note that these were flagged as potential violations and recommendations.
Looks like the whole listbox has tab access but no focus indicator. This may be to support navigation in the modal via keyboard if the column list becomes long enough to require scrolling.
Also while the
<ol>
does use anaria-label
, we can probably usearia-labelledby
with the tearsheet title in this case.<ol>
element with"listbox"
role has keyboard accessborder
oroutline
listbox
role has more than one tabbable elementThe customize columns tearsheet contains both arrow keys and tabbable checkboxes for selecting which columns to display. It seems this may not be appropriate for the role
listbox
.From Equal Access: