#34045 closed Bug (fixed)

Admin changelist checkboxes do not have labels

Reported by: Tom Carrick Owned by: Durval Carvalho
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: Sarah Abderemane Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description (last modified by Tom Carrick)

This is failing WCAG level A so is quite fundamental. Screen reader users currently have no way to know what these checkboxes are for. We should add some kind of screenreader friendly label to make it clear you're selecting this row for running an action.

I'm not quite sure on the text. As the checkbox appears before the text describing the row I'm not sure if it'd need any extra info on the label - I suppose if we just added the label we'd be asking the user to select something that they don't yet know what it is?

Attachments (1)

Screenshot 2022-09-30 at 12.37.20 AM.png (56.8 KB ) - added by Neeraj Kumar 19 months ago.
Selection checkbox

Download all attachments as: .zip

Change History (11)

comment:1 by Mariusz Felisiak, 19 months ago

Triage Stage: Unreviewed โ†’ Accepted

I guess we need aria-labels. Tentatively accepted.

I'd be grateful for any description, by the way ๐Ÿ˜‰.

comment:2 by Tom Carrick, 19 months ago

Description: modified (diff)

by Neeraj Kumar, 19 months ago

Selection checkbox

comment:3 by Neeraj Kumar, 19 months ago

Owner: changed from nobody to Neeraj Kumar
Status: new โ†’ assigned
UI/UX: set

Added a screenshot, we can use "Select all" text for checkbox label

comment:4 by Durval Carvalho, 15 months ago

Owner: changed from Neeraj Kumar to Durval Carvalho

comment:5 by Durval Carvalho, 15 months ago

Hey, guys!

I was working on this ticket and Mariusz Felisiak wrote that each line should have a defined aria label [ยน]. But I'm not sure which text I should use. Maybe the str(instance)? What do you think?

[ยน] โ€‹https://github.com/django/django/pull/16515#issuecomment-1410872283

comment:6 by Sarah Abderemane, 15 months ago

Cc: Sarah Abderemane added

comment:7 by Mariusz Felisiak, 15 months ago

Has patch: set

comment:8 by Mariusz Felisiak, 15 months ago

Patch needs improvement: set

comment:9 by Mariusz Felisiak, 14 months ago

Patch needs improvement: unset
Triage Stage: Accepted โ†’ Ready for checkin

comment:10 by Mariusz Felisiak <felisiak.mariusz@โ€ฆ>, 14 months ago

Resolution: โ†’ fixed
Status: assigned โ†’ closed

In 85366fb:

Fixed #34045 -- Improved accessibility of selecting items in admin changelist.

This adds "aria-label".

Note: See TracTickets for help on using tickets.
Back to Top