Empty header row cells should be TDs

Created on 8 August 2024, 3 months ago

Problem/Motivation

If an empty cell appears inside thead, it should be an attribute-less td element.

See the w3c's Tables with Two Headers example.

Steps to reproduce

  1. Create a table with the responsive table tool.
  2. Make sure the table has an empty cell in the row header.
  3. Save and view the content.
  4. Inspect the empty header cell.
  5. Verify that it renders a th with scope="col".

Proposed resolution

For empty header row cells, render <td></td> instead of <th scope="col"></th>

Remaining tasks

  1. Change the empty cells, as above.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Active

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