Opened 11 months ago
Closed 11 months ago
#35143 closed Cleanup/optimization (fixed)
Improve accessibility of error page(s) with semantic HTML
Reported by: | Marijke Luttekes | Owned by: | Marijke Luttekes |
---|---|---|---|
Component: | Error reporting | Version: | 5.0 |
Severity: | Normal | Keywords: | accessibility, HTML |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The HTTP error pages available in Django debug mode could benefit from improved semantics.
The following changes should be simple, without altering the look and feel of the page:
- The page should have a header, main, and footer.
- Each table should have scope attributes on th elements.
- Monospaced text in the patterns list should use a code element.
- The small text within the h1 should use a small element instead of a span.
Discussed with accessibility team member Thibaud Colas, who made this example page for the HTTP 404 error:
https://static-django-demo.netlify.app/django_admin_tests/v5.1/english/defaults/404/
Change History (6)
comment:1 by , 11 months ago
Component: | contrib.admin → Error reporting |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 11 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
I will pick this up, as discussed with Thibaud earlier!
comment:3 by , 11 months ago
Has patch: | set |
---|
comment:4 by , 11 months ago
Patch needs improvement: | set |
---|
comment:5 by , 11 months ago
Patch needs improvement: | unset |
---|---|
Triage Stage: | Accepted → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
Agreed. Accessibility improvements are always welcome.