Skip to content

Improve A11y of the table of contents block#6592

Open
BurntimeX wants to merge 1 commit into6.3from
63-toc-a11y
Open

Improve A11y of the table of contents block#6592
BurntimeX wants to merge 1 commit into6.3from
63-toc-a11y

Conversation

@BurntimeX
Copy link
Member

  • Use a nav tag for the whole block
  • Use a heading tag for the title
  • Use a button with proper aria attributes for the toggle function
  • Use an unordered list for the toc
  • Simplify & modernize the HTML, CSS and JS code

Closes #6591

* Use a `nav` tag for the whole block
* Use a heading tag for the title
* Use a `button` with proper aria attributes for the toggle function
* Use an unordered list for the toc
* Simplify & modernize the HTML, CSS and JS code

Closes #6591
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Minor Task

Development

Successfully merging this pull request may close these issues.

2 participants