Snippet create and edit views have no level-one heading (axe `page-has-heading-one`)
Author: DartDoesDataCreated Sep 28, 2026Updated Oct 1, 2026
Labelsstatus:Needs Review
Issue Summary
Snippet create (/admin/snippets/<app>/<model>/add/) and edit (…/edit/<pk>/) views render no <h1>. The object or model title in the slim header is an <h2>, alongside the sidebar's <h2> group headings (Reports, Settings, Help). Page create and edit views do have an <h1>. axe-core 4.13 reports page-has-heading-one, a best-practice rule that relates to WCAG 1.3.1 and 2.4.6, and screen-reader users navigating by heading level can't find the page's main heading.
Steps to Reproduce
- Register any snippet model in Wagtail 7.4.3.
- Open its add view, or edit an instance.
- Run axe, or list
document.querySelectorAll("h1"). It is empty.
Expected: the edit view's title is an <h1>, as it is in the page editor.
- I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: no. It was found in our project, with default admin templates.
Technical details
- Python 3.14, Django 6.0.8, Wagtail 7.4.3, Chromium 153, axe-core 4.13.
Source: wagtail/wagtail