Opened 9 days ago

Last modified 2 days ago

#35892 assigned Cleanup/optimization

Support Widget.use_fieldset in admin forms

Reported by: Sarah Boyce Owned by: SAI GANESH S
Component: contrib.admin Version: 5.0
Severity: Normal Keywords: accessibility
Cc: David Smith, Tom Carrick, Thibaud Colas, SAI GANESH S Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
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 (4)

comment:1 by Tom Carrick, 9 days ago

Triage Stage: UnreviewedAccepted

comment:2 by SAI GANESH S, 6 days ago

Cc: SAI GANESH S added
Owner: set to SAI GANESH S
Status: newassigned

comment:4 by Sarah Boyce, 2 days ago

Patch needs improvement: set
Note: See TracTickets for help on using tickets.
Back to Top