TypeCellOS / TypeCellOS/BlockNote
merged table cells do not expose clear header relationships
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 10.2k
- フォーク
- 772
- 平均マージ
- 3日 11時間
- マージ済み PR(30日)
- 17
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- accessibility, frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100