1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #32819 -- Established relationship between form fieldsets and their help text.

This adds aria-describedby for widgets rendered in a fieldset such as
radios. aria-describedby for these widgets is added to the <fieldset>
element rather than each <input>.
This commit is contained in:
David Smith
2023-11-12 17:24:16 +00:00
committed by Mariusz Felisiak
parent 557fa51837
commit eec7e9ba89
5 changed files with 91 additions and 8 deletions

View File

@@ -138,7 +138,9 @@ File Uploads
Forms
~~~~~
* ...
* In order to improve accessibility and enable screen readers to associate
fieldsets with their help text, the form fieldset now includes the
``aria-describedby`` HTML attribute.
Generic Views
~~~~~~~~~~~~~