#36509: Missing label on input fields in tables -------------------------------------+------------------------------------- Reporter: Sander Claus | Owner: (none) Type: Bug | Status: new Component: contrib.admin | Version: 5.2 Severity: Normal | Resolution: Keywords: accessibility, | Triage Stage: Accepted changelist, ux, wcag | Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 1 -------------------------------------+------------------------------------- Changes (by Thibaud Colas):
* cc: Thibaud Colas (added) * component: Uncategorized => contrib.admin * keywords: => accessibility, changelist, ux, wcag * stage: Unreviewed => Accepted Old description: > Editable fields in the tables are missing a label for users using > assisting technologies like screen readers. > > Example: the dropdown in the `Type` column and date selection field in > the `Release Date` column. > https://django-admin- > tests.netlify.app/django_admin_tests/latest/english/admin/demo/release/ > > The columns have a title on top, but this is not associated with the > individual field elements. > > Axe has flagged this as an accessibility issue related to the `select- > name` rule: > https://dequeuniversity.com/rules/axe/4.10/select-name > > This seems to be a failure of `WCAG SC 4.1.2 Name, Role, Value`: > https://www.w3.org/WAI/WCAG22/quickref/#name-role-value New description: Editable fields in the tables are missing a label for users using assisting technologies like screen readers. Example: the dropdown in the `Type` column and date selection field in the `Release Date` column. https://django-admin- tests.netlify.app/django_admin_tests/latest/english/admin/demo/release/ The columns have a title on top, but this is not associated with the individual field elements. Axe has flagged this as an accessibility issue related to the [https://dequeuniversity.com/rules/axe/4.10/select-name select-name rule]. This seems to be a failure of [https://www.w3.org/WAI/WCAG22/quickref /#name-role-value WCAG SC 4.1.2 Name, Role, Value] -- Comment: Thank you, I believe this hasn’t been reported before. Not sure what the fix looks like with Django’s admin implementation but in HTML that’s most likely an extra `aria-labelledby` or `aria-label` for those elements. -- Ticket URL: <https://code.djangoproject.com/ticket/36509#comment:1> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/django-updates/010701982238ea1f-f721cd3c-5504-4e25-9c0a-f32f981d7eac-000000%40eu-central-1.amazonses.com.