#36509: Missing label on input fields in tables
-------------------------------------+-------------------------------------
Reporter: Sander Claus | Owner:
| jafarkhan83
Type: Bug | Status: assigned
Component: contrib.admin | Version: 5.2
Severity: Normal | Resolution:
Keywords: accessibility, | Triage Stage: Accepted
changelist, ux, wcag |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by jafarkhan83):
* owner: Sander Claus => jafarkhan83
Comment:
I’ve been working on this ticket and implemented a prototype to address
missing labels on inputs in admin changelist tables.
My approach is:
Added an id attribute to each table header (id is header field name).
Added an id to each row header using the object PK.
Updated items_for_results() to render form widgets with aria-labelledby,
referencing both the row header and column header IDs.
It will work for all editable fields.
--
Ticket URL: <https://code.djangoproject.com/ticket/36509#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019bdaf26da4-4b533ac9-b926-46d7-a5e1-9f3feb67d030-000000%40eu-central-1.amazonses.com.