#36366: Improving the accessibility of the pagination layout in the admin.
-------------------------------------+-------------------------------------
Reporter: Antoliny | Type:
| Cleanup/optimization
Status: new | Component:
| contrib.admin
Version: 5.1 | Severity: Normal
Keywords: accessibility, | Triage Stage:
screen reader, pagination | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
In the admin, when navigating to the pagination area using a screen
reader, there is currently no description provided for the area. When
focusing on a button, the screen reader only announces the button's
innerHTML and its role.
e.g. "2, button"
[[Image(pagination_screenreader_example.png)]]
This may not clearly communicate the purpose of the button to screen
reader users, as the innerHTML and role alone can be ambiguous.
I believe accessibility could be improved by using `aria-labelledby` to
provide a description when entering the pagination area, and by adding the
`aria-current` attribute to indicate the current page when focusing on
individual buttons. This would help screenreader users better understand
the context and purpose of each button control.
--
Ticket URL: <
https://code.djangoproject.com/ticket/36366>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.