#14648·wagtail

Admin search landmarks are not unique (axe `landmark-unique`)

Author: DartDoesDataCreated Sep 28, 2026Updated Oct 1, 2026
Labelsstatus:Needs ReviewAccessibility

Issue Summary

On any admin listing, and on the dashboard, the page has two role="search" landmarks with no accessible name:

  • the sidebar search: <form role="search" … action="/admin/pages/search/" aria-keyshortcuts="/"> inside the sidebar <aside>;
  • the search in the page header, for example the dashboard's <form class="w-mb-12" action="/admin/pages/1/" method="get" role="search">, or a listing's <form role="search" class="w-slim-header__search-form" …>.

axe-core 4.13 reports landmark-unique, a best-practice rule rather than a WCAG success criterion: "The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable." It relates to WCAG 1.3.1 and 2.4.1. A screen-reader user moving by landmarks hears "search" twice and can't tell the site-wide search from the page's own search.

Steps to Reproduce

  1. Sign in to a Wagtail 7.4.3 admin.
  2. Open the dashboard (/admin/), /admin/pages/, or any snippet listing.
  3. Run axe (for example @axe-core/playwright with its default rules).

Expected: each search landmark has a distinct name, for example aria-label="Search the admin" on the sidebar form and aria-label="Search <model plural>" on the listing's form.

  • 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.