scope=row is incorrectly applied

Created on 31 July 2024, 5 months ago
Updated 13 September 2024, 3 months ago

Problem/Motivation

The scope="row" attribute is always added to the first td in every row inside the tbody. This is not correct semantics, and causes accessibility issues.

Steps to reproduce

Create a table using the responsive table button with a few rows and columns. Inspect the elements and notice the problem, above.

Proposed resolution

Only apply scope="row" to a column marked as a header. Or, in other words, the first th of the row inside tbody, if one exists.

Remaining tasks

  1. Narrow scope="row"'s scope (see above)

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bronzehedwick New York

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

Comments & Activities

Production build 0.71.5 2024