[Django] #36203: Split datetime input should have accessible name

5 views
Skip to first unread message

Django

unread,
Feb 20, 2025, 8:25:48 PM2/20/25
to django-...@googlegroups.com
#36203: Split datetime input should have accessible name
-------------------------------------+-------------------------------------
Reporter: Eliana | Owner: Eliana Rosselli
Rosselli |
Type: | Status: assigned
Uncategorized |
Component: | Version: 5.1
contrib.admin |
Severity: Normal | Keywords: accessibility
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Split Date Time inputs in the Django Admin don't have accessible names.
Testing with a screen reader, there's nothing spoken aloud when entering
one of the inputs (both for the date and the time input). The name of the
field is a label element but it isn't related to either of the two inputs,
and the "Date" and "Time" texts aren't labels either.

An example of this kind of input can be found in
[https://thibaudcolas.github.io/django_admin_tests/latest/english/admin/auth/user/1/change/
this demo page] : if you scroll all the way down, you can see that the
"Important Dates" section contains two split datetime inputs ("Last login"
and "Date joined") that suffer from this problem. In this case, I think
the accessible names of the inputs should be something along the lines of
"Last login, date" and "Last login, time" for example.
--
Ticket URL: <https://code.djangoproject.com/ticket/36203>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages