Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accordion title headings invisible to the Table of Content block and accessibility tools #171

Open
druxstr opened this issue Jan 20, 2023 · 0 comments

Comments

@druxstr
Copy link

druxstr commented Jan 20, 2023

Accordions title headings are invisible to :

This leads to a misleading heading list for users that rely on this block / these tools.

The cause may be the role=button on accordion title headings, that would prevent them from being detected as true headings.

The issue is particularly visible when there are nested heading, like

h2
h2 (accordion title)
  h3 inside an accordion
h2

The Table of Content block and other tools will ouput :

h2
  h3 inside an accordion
h2

screenshot

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

No branches or pull requests

1 participant