Skip to content

feat: Tables a11y (BLO-1230) (BLO-1231) - #3215

Open
matthewlipski wants to merge 2 commits into
a11y-testingfrom
tables-a11y
Open

matthewlipski wants to merge 2 commits into
a11y-testingfrom
tables-a11y

Conversation

@matthewlipski

Copy link
Copy Markdown
Collaborator

Summary

This PR adds some additional HTML attributes to tables:

  • Header id
  • Header scope (determines whether header is for a row or column)
  • Cell headers (determines which headers the cell is under)

They are not required by WCAG guidelines and so are not caught in axe scans, but make the relationships between cells and headers more explicit, especially when they span multiple rows/columns.

This is implemented using decorations. Serializing to HTML has additional logic to apply the attributes as decorations can't be applied.

Closes #2825
Closes #2826

Rationale

This is an a11y improvement.

Changes

  • Added TableAccessibilityPlugin to apply cell & header decorations
  • Updated table serialization code

Impact

N/A

Testing

Updates table format conversion snapshots. No changes to a11y tests as axe scans do not check this.

Screenshots/Video

N/A

Checklist

  • Code follows the project's coding standards.
  • Unit tests covering the new feature have been added.
  • All existing tests pass.
  • The documentation has been updated to reflect the new feature

Additional Notes

N/A

@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
blocknote Ready Ready Preview Oct 22, 2026 12:27pm UTC
blocknote-website Ready Ready Preview Oct 22, 2026 12:27pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 53cda309-006b-48ee-807d-bd6153f7eeb7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://TypeCellOS.github.io/BlockNote/pr-preview/pr-3215/

Built to branch gh-pages at 2026-10-22 12:58 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@matthewlipski matthewlipski changed the title feat: Tables a11y feat: Tables a11y (BLO-1230 BLO 1231) Oct 22, 2026
@matthewlipski matthewlipski changed the title feat: Tables a11y (BLO-1230 BLO 1231) feat: Tables a11y (BLO-1230) (BLO 1231) Oct 22, 2026
@matthewlipski matthewlipski changed the title feat: Tables a11y (BLO-1230) (BLO 1231) feat: Tables a11y (BLO-1230) (BLO-1231) Oct 22, 2026

This branch was successfully deployed

2 active deployments
Preview – blocknote-website — 01defda3 Deployed Oct 22, 2026 by vercel[bot]
Preview – blocknote — 01defda3 Deployed Oct 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant