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

Headings are not hierarchical #502

Open
sukiletxe opened this issue Jan 10, 2023 · 1 comment
Open

Headings are not hierarchical #502

sukiletxe opened this issue Jan 10, 2023 · 1 comment

Comments

@sukiletxe
Copy link

When reading the spec, I notice that the table of contents is fine, but all headings are h1. This makes navigation harder for people who use them (blind people for example), as we can't skip to the next section without round trips to the TOC (I can only skip to the next heading, as they have the same level). Two possible solutions:

  1. Put the headings of the spec in a hierarchical order (section 1 is h1, 1.1 is h2, etc.); or
  2. Postprocess the code of epmarkup to change the heading levels and make them hierarchical, as it's already done in the TOC.

Of course, the end result will be the same.

@sukiletxe
Copy link
Author

Sorry, in case it wasn't clear, I mean the EcmaScript spec, I haven't read the preview of Ecmarkup's (if there is any)

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