Skip to content

Blog post TOC heading is empty #225

Open

Description

@cwickham

On blog post pages with a sidebar table of contents, the TOC heading is rendered as an empty <h2 class="blog-toc-heading"></h2>. Both Lighthouse and axe-core (empty-heading, best-practice) flag it — headings with no text content provide no information to assistive tech and break the document outline.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions