TypeCellOS / TypeCellOS/BlockNote
merged table cells do not expose clear header relationships
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 10.2k
- Fork
- 772
- Merge trung bình
- 3 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 17
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- accessibility, frontend
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 48/100