TypeCellOS / TypeCellOS/BlockNote
merged table cells do not expose clear header relationships
Personne n'a encore pris cette issue.
- Langage dominant
- TypeScript
- Étoiles
- 10.2k
- Forks
- 772
- Merge moyen
- 3 j 11 h
- PR mergées (30 j)
- 17
Description
What’s broken?
This issue was identified during the Docs accessibility audit on a page containing table-related content.
Audited page:
https://docs.numerique.gouv.fr/docs/0d998bef-1b69-47ce-bd18-83d4d849c734/
In BlockNote tables, merged cells do not expose clear relationships with their related row and column headers.
When a table contains merged cells, the structure becomes more complex. However, the generated markup does not clearly indicate which headers apply to each merged cell.
There is no reliable id / headers relationship to help assistive technologies understand the table structure.
Because of this, screen readers may not be able to announce the correct header context for merged cells.
What did you expect to happen?
Merged cells should preserve clear relationships with their related table headers.
For complex tables, especially when cells are merged, BlockNote should expose relationships using id and headers.
Example:
<th id="q1">Q1</th>
<th id="north">North</th>
<td headers="north q1">120</td>
Steps to reproduce
- Insert a table using BlockNote.
- Create or use a table with merged cells and row/column headers.
- Inspect the generated table in the DOM.
- Notice that merged cells are not explicitly associated with their related headers:
- no reliable id / headers relationship;
- no clear semantic relationship allowing assistive technologies to identify which headers apply to the merged cell.
BlockNote version
0.51.4
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Start by reproducing the issue in a BlockNote table with merged cells and row/column headers, then inspect the generated DOM and existing table implementation. Compare the markup with the issue’s id/headers example and verify that assistive technologies can determine the applicable headers for merged cells.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- typescript
- Domaine
- accessibility, frontend
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 48/100