iansan5653/github-markdown-a11y-extension

Ban level 1 headings

Closed this issue · 1 comments

All GitHub pages already have level 1 headings, so these should be avoided in user-generated content.

We should possibly consider the same for level 2 since most pages already have level 2 headings, restricting headings to level 3 and higher.

Since this is very specific to this extension (wouldn't apply to regular MD documents outside of GitHub.com) I think I'll probably implement it as a custom rule. Maybe it shouldn't apply to ProseMirror editors 🤔