Opened 4 months ago

Last modified 12 days ago

#36366 closed Cleanup/optimization

Improving the accessibility of the pagination layout in the admin. — at Version 2

Reported by: Antoliny Owned by: Antoliny
Component: contrib.admin Version: 5.1
Severity: Normal Keywords: accessibility, screen reader, pagination
Cc: Eliana Rosselli, Thibaud Colas, Sarah Abderemane, Tom Carrick Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Antoliny)

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"


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.

Change History (3)

comment:1 by Antoliny, 4 months ago

Owner: set to Antoliny
Status: newassigned

comment:2 by Antoliny, 4 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top