The problem with wide government tables
Fee schedules, meeting calendars, bid results — government views output is full of eight-column tables that are unreadable under 768px. Horizontal scrolling alone fails keyboard users and hides data. USWDS ships a proper stacked-table pattern; Drupal just needs to emit the markup.
The two USWDS patterns
usa-table--stacked collapses each row into a card on small screens, repeating column headers via data-label attributes on every cell. usa-table-container--scrollable wraps the table in an accessible scroll region with a visible cue. Stacked wins for lookups ("find my fee"); scrollable wins for comparison data where column position matters.
Getting data-label into views cells
The stacked pattern needs data-label="Column name" on each <td> — views will not emit that by default. Override views-view-table.html.twig in your theme: you have the header array and the rows, so zip them together and add the attribute per cell index. Twenty lines of Twig, works on every table the view renders.
{% for key, cell in row.cells %}
<td{{ cell.attributes.addClass('font-body-sm') }}
data-label="{{ header[key].content|striptags }}">What core gives you vs. what you must add
Drupal's responsive tables module adds a priority-dropdown approach — users pick which columns to hide. It works, but it hides data by default and confuses some screen readers. USWDS stacked keeps every value visible. If your accessibility requirements are strict, stacked is the safer pattern.
Headers, scope, and the sticky catch
Keep scope="col" on <th> and scope="row" on row-identifying cells — the visual stack does not replace semantic structure. And if you add usa-table--sticky-header inside a scrollable container, test it on iOS Safari: sticky positioning inside transformed ancestors has real bugs. Sometimes the honest answer is pagination, not scroll tricks.
Views templates fighting you? Our Drupal services include display-layer consulting.