Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#34911 closed Bug (fixed)

Admindocs index skips from h1 to h3

Reported by: Thibaud Colas Owned by: laserhyena
Component: contrib.admindocs Version: dev
Severity: Normal Keywords: accessibility, screen reader, headings
Cc: laserhyena Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description

On /admin/doc, the index page has a <h1>Documentation</h1>, and then skips straight to headings level 3. We should instead have headings level 2 so as to avoid confusing screen reader users navigating by heading.

See for example: /admin/docs/ on static-django-demo.

Change History (5)

comment:1 by Mariusz Felisiak, 6 months ago

Triage Stage: UnreviewedAccepted

comment:2 by laserhyena, 6 months ago

comment:3 by Mariusz Felisiak, 6 months ago

Has patch: set
Triage Stage: AcceptedReady for checkin

comment:4 by Mariusz Felisiak <felisiak.mariusz@…>, 6 months ago

Resolution: fixed
Status: assignedclosed

In 21382e27:

Fixed #34911 -- Corrected HTML heading levels on admindocs' main page.

comment:5 by Mariusz Felisiak <felisiak.mariusz@…>, 6 months ago

In bba963d:

[5.0.x] Fixed #34911 -- Corrected HTML heading levels on admindocs' main page.

Backport of 21382e2743d06efbf5623e7c9b6dccf2a325669b from main

Note: See TracTickets for help on using tickets.
Back to Top