Skip to content

Auto-generated content adds H1, resulting in multiple H1s in some themes #4

Description

@morganestes

When testing 1b9c614 with the Classic Editor and a custom theme, I discovered that I had two H1 elements on the generated page: "Accessibility Statement" and "Accessibility Statement for [site name]". The first is from my theme, which uses post_title as the page's H1 and the second is from the generator putting it into the_content.

It would be nice to be able to have the headings structure match the rest of the page, or at least provide guidance to theme developers on what to expect when generating an A11Y statement.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions