DataViews: Improve keyboard accessibility in table layout #56328
Labels
[Feature] DataViews
Work surrounding upgrading and evolving views in the site editor and beyond
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
Related: #55083
What problem does this address?
Currently every focusable element (or "widget") in a list layout (header action buttons, linked items, etc) presents as its own tab stop. This can make it difficult and tedious for a non-mouse user to move across content.
What is your proposed solution?
Rather than rely purely on
<table>
semantics to render data in a list layout, we should extend this by using a grid widget:Note that navigable widgets within a grid view do not have to map to logical table columns:
Because of this, we will probably have to introduce an API of some sort that allows field renderers to capture this widget information, so that this information can be detached:
Depending on the layout, this widget component could either be ignored, or utilised to establish better keyboard navigation.
Footnotes
W3 Table Pattern ↩
W3 Grid Pattern ↩
The text was updated successfully, but these errors were encountered: