Re: [Django] #36459: Improve accessibility of the buttons inside the AdminDateWidget dialog using ARIA attributes (was: Improve accessibility by adding descriptions to buttons inside the shortcut dialog using ARIA attributes)

1 view
Skip to first unread message

Django

unread,
Jun 12, 2025, 5:12:58 AMJun 12
to django-...@googlegroups.com
#36459: Improve accessibility of the buttons inside the AdminDateWidget dialog
using ARIA attributes
-------------------------------------+-------------------------------------
Reporter: Antoliny | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: contrib.admin | Version: 5.1
Severity: Normal | Resolution:
Keywords: accessibility, | Triage Stage: Accepted
shortcut |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* cc: Eliana Rosselli, Thibaud Colas, Sarah Abderemane, Tom Carrick
(added)
* stage: Unreviewed => Accepted
* summary:
Improve accessibility by adding descriptions to buttons inside the
shortcut dialog using ARIA attributes
=>
Improve accessibility of the buttons inside the AdminDateWidget dialog
using ARIA attributes

Comment:

I think this ticket is worth keeping to track that the current design has
accessibility problems.

I do however think that we might want to deprecate the `AdminDateWidget`
and instead use the HTML5 `<input type="date">` (see
https://developer.mozilla.org/en-
US/docs/Web/HTML/Reference/Elements/input/date) which has a datepicker
native to the browser. I believe this is more accessible than what we have
(see also https://www.youtube.com/watch?v=f2pkCDcAUwA). It also stops us
having something custom we need to maintain and improve the accessibility
of.
--
Ticket URL: <https://code.djangoproject.com/ticket/36459#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages