uswds table is missing heading attributes on stacked mode

Created on 25 September 2024, 6 months ago

Problem/Motivation

Test the USWDS stack mode. You might notice although the data is stacked correctly there are no headings on it.
That's because uswds does table rows twice with an attribute as seen in the example below.
https://github.com/uswds/uswds/blob/develop/packages/usa-table/src/usa-t...

Proposed resolution

Add the attribute and add the header properties to the table body as seen in their example.
By missing the heading attributes on mobile it violates the a11y benefits as one can't tell what one is looking at.

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bernardm28 Tennessee

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024