[Django] #36459: Improve accessibility by adding descriptions to buttons inside the shortcut dialog using ARIA attributes

3 views
Skip to first unread message

Django

unread,
Jun 12, 2025, 4:07:23 AMJun 12
to django-...@googlegroups.com
#36459: Improve accessibility by adding descriptions to buttons inside the shortcut
dialog using ARIA attributes
-------------------------------------+-------------------------------------
Reporter: Antoliny | Type:
| Cleanup/optimization
Status: new | Component:
| contrib.admin
Version: 5.1 | Severity: Normal
Keywords: accessibility, | Triage Stage:
shortcut | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
The shortcuts provided in the current admin page lack sufficient
descriptions for screen reader users.

Using the datetime shortcut as an example, when a screen reader accesses
each button representing a date, the following description is provided.

[[Image(screenreader_datetime_shortcut.png)]]

The above description feels insufficient. By using attributes like aria-
label to clearly indicate the exact year, month, and day of each button,
screen reader users will be able to accurately anticipate which DateTime
value corresponds to the button they are accessing.

In addition, shortcut buttons like yesterday, tomorrow, and today, as well
as the buttons for navigating to the previous and next month, should have
detailed date-related descriptions. The close button for the dialog should
also clearly convey its exact purpose.
--
Ticket URL: <https://code.djangoproject.com/ticket/36459>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 12, 2025, 4:07:41 AMJun 12
to django-...@googlegroups.com
#36459: Improve accessibility by adding descriptions to buttons inside the shortcut
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:
shortcut | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Antoliny):

* Attachment "screenreader_datetime_shortcut.png" added.
Reply all
Reply to author
Forward
0 new messages