Opened 2 hours ago

Last modified 26 minutes ago

#35892 new Cleanup/optimization

Support Widget.use_fieldset in admin forms

Reported by: Sarah Boyce Owned by:
Component: contrib.admin Version: 5.0
Severity: Normal Keywords: accessibility
Cc: David Smith, Tom Carrick, Thibaud Colas Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Currently, the admin doesn't respect 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

Change History (1)

comment:1 by Tom Carrick, 26 minutes ago

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