Incorrect scope attributes in header columns

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

Problem/Motivation

Tables with header columns have scope="col" on each row's leading th. In addition, the preceding td has scope="row". These are both incorrect applications of scope, and lead to accessibility issues.

Steps to reproduce

Create a table with the responsive table button with a few columns and rows, and the first column as a header column via the column editor popup.

Proposed resolution

For tables with a header column, remove the scope attribute from the first td entirely. Additionally, change the value of the th from col to row.

Remaining tasks

For tables with a header column…

  1. Remove scope="row" from the first td.
  2. Replace scope="col" with scope="row" on the leading th.

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024