merged table cells do not expose clear header relationships

Đang mở
#2,826 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
typescript
Lĩnh vực
accessibility, frontend

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.

Mô tả

a11y
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

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TypeCellOS/BlockNote

Tất cả issue của TypeCellOS/BlockNote

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.