#35892: Support Widget.use_fieldset in admin forms
-------------------------------------+-------------------------------------
Reporter: Sarah Boyce | Type:
| Cleanup/optimization
Status: new | Component:
| contrib.admin
Version: 5.0 | Severity: Normal
Keywords: accessibility | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Currently, the admin doesn't respect
[https://docs.djangoproject.com/en/5.1/ref/forms/widgets/#django.forms.Widget.use_fieldset
Widget.use_fieldset]
When a widget has this set, the field should be rendered in a fieldset,
ideally with a legend tag (or the fieldset using `aria-labelledby`) and
have `aria-describedby` to associate the helptext to the fieldset
All admin widgets should be reviewed as to whether `use_fieldset` should
be `True`
See this PR discussion for context:
https://github.com/django/django/pull/18742#issuecomment-2460108968
--
Ticket URL: <https://code.djangoproject.com/ticket/35892>
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/0107019302359bb6-ca628464-78be-43d0-9294-7673e96d91f8-000000%40eu-central-1.amazonses.com.