#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.
--
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 visit
https://groups.google.com/d/msgid/django-updates/01070195261c4710-a655306a-213d-489d-a6a6-f31cd2680a82-000000%40eu-central-1.amazonses.com.