Opened 6 weeks ago

Last modified 2 weeks ago

#35892 assigned Cleanup/optimization

Support Widget.use_fieldset in admin forms

Reported by: Sarah Boyce Owned by: JakeWalson
Component: contrib.admin Version: 5.0
Severity: Normal Keywords: accessibility
Cc: David Smith, Tom Carrick, Thibaud Colas, Antoliny 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 (7)

comment:1 by Tom Carrick, 6 weeks ago

Triage Stage: UnreviewedAccepted

comment:2 by SAI GANESH S, 6 weeks ago

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

comment:4 by Sarah Boyce, 5 weeks ago

Patch needs improvement: set

comment:5 by SAI GANESH S, 3 weeks ago

Cc: SAI GANESH S removed
Owner: SAI GANESH S removed
Status: assignednew

comment:6 by Antoliny, 2 weeks ago

Cc: Antoliny added

comment:7 by JakeWalson, 2 weeks ago

Owner: set to JakeWalson
Status: newassigned
Note: See TracTickets for help on using tickets.
Back to Top