Skip to content

fix: change Headings to H2 for TOC semantic HTML#3416

Open
Himanshu-29-tech wants to merge 1 commit into
cake-build:masterfrom
Himanshu-29-tech:fix/change-h1-to-h2-toc
Open

fix: change Headings to H2 for TOC semantic HTML#3416
Himanshu-29-tech wants to merge 1 commit into
cake-build:masterfrom
Himanshu-29-tech:fix/change-h1-to-h2-toc

Conversation

@Himanshu-29-tech

Copy link
Copy Markdown

Fixes #1080

Currently Headings() defaults to H1 for the TOC.
Changed to Headings(2) to follow semantic HTML best practices
— a page should only have one H1 (the title).

@Himanshu-29-tech

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

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.

Change to H2 for TOC

1 participant