#35143: Improve accessibility of error page(s) with semantic HTML
-------------------------------------+-------------------------------------
Reporter: Marijke | Owner: nobody
Luttekes |
Type: | Status: new
Cleanup/optimization |
Component: | Version: 5.0
contrib.admin |
Severity: Normal | Keywords: accessibility, HTML
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
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:
1. The page should have a header, main, and footer.
2. Each table should have scope attributes on th elements.
3. Monospaced text in the patterns list should use a code element.
4. 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/
--
Ticket URL: <https://code.djangoproject.com/ticket/35143>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018d401172dd-0940ce6d-c80b-4235-acc7-b6f590a08e58-000000%40eu-central-1.amazonses.com.