Opened 2 years ago
Closed 2 years ago
#34621 closed Bug (fixed)
Django admin site name shouldn’t be an h1
| Reported by: | Thibaud Colas | Owned by: | Howard Cox | 
|---|---|---|---|
| Component: | contrib.admin | Version: | 4.2 | 
| Severity: | Normal | Keywords: | accessibility, screen reader | 
| Cc: | 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
In the Django admin header, the site name ("Django administration" by default) is currently set up as an h1 tag. This is problematic for screen reader users because they use headings to navigate – having two h1 is confusing, and the one in the header isn’t particularly helpful since it’s the same on all pages.
It’d be better if this site name used a p or div tag. This switch will also require rewriting the styles so they still work with the new tag.
Change History (6)
comment:1 by , 2 years ago
| Triage Stage: | Unreviewed → Accepted | 
|---|
comment:2 by , 2 years ago
comment:4 by , 2 years ago
| Has patch: | set | 
|---|---|
| Needs documentation: | set | 
comment:5 by , 2 years ago
| Needs documentation: | unset | 
|---|---|
| Triage Stage: | Accepted → Ready for checkin | 
  Note:
 See   TracTickets
 for help on using tickets.
    
Agreed.
For the future, please don't accept you're own tickets.