1
0
mirror of https://github.com/django/django.git synced 2024-12-28 20:16:19 +00:00
django/docs/topics
David Smith 7f0275d8cb [5.0.x] Refs #32819 -- Used auto_id instead of id_for_label as unique identifier for the field.
`id_for_label` is blank for widgets with multiple inputs such as radios
and multiple checkboxes. Therefore , `help_text` for fields using these
widgets cannot currently be associated using `aria-describedby`.
`id_for_label` is being used as a guard to avoid incorrectly adding
`aria-describedby` to those widgets.

This change uses `auto_id` as the unique identified for the fields
`help_text`. A guard is added to avoid incorrectly adding
`aria-describedby` to inputs by checking the widget's `use_fieldset`
attribute. Fields rendered in a `<fieldset>` should have
`aria-describedby` added to the `<fieldset>` and not every `<input>`.

Backport of 292f1ea90f from main
2023-11-16 13:27:18 +01:00
..
auth [5.0.x] Fixed #34970 -- Clarified Password Validation docs regarding the password_changed callback. 2023-11-15 21:52:11 -03:00
class-based-views Fixed typo in docs/topics/class-based-views/mixins.txt. 2023-03-22 08:35:24 +01:00
db [5.0.x] Refs #30601 -- Fixed typos in docs/topics/db/transactions.txt. 2023-10-30 13:49:12 -03:00
forms [5.0.x] Refs #32819 -- Used auto_id instead of id_for_label as unique identifier for the field. 2023-11-16 13:27:18 +01:00
http Refs #31949 -- Made make_middleware_decorator to work with async functions. 2023-09-13 11:41:01 +02:00
i18n Used extlinks for PyPI links. 2023-04-17 06:55:32 +02:00
testing [5.0.x] Fixed #32602 -- Clarified wording of TestCase class. 2023-10-02 11:49:00 +02:00
async.txt Refs #31949 -- Made make_middleware_decorator to work with async functions. 2023-09-13 11:41:01 +02:00
cache.txt [5.0.x] Added missing pycon directives in various docs. 2023-10-25 12:27:56 +02:00
checks.txt [5.0.x] Doc'd writing integration tests for the system check framework. 2023-10-27 11:44:40 +02:00
conditional-view-processing.txt Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
email.txt Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
external-packages.txt Used extlinks for PyPI links. 2023-04-17 06:55:32 +02:00
files.txt Fixed #34530 -- Improved docs when customizing storage for FileField. 2023-05-02 15:32:24 -03:00
index.txt
install.txt Fixed #33817 -- Added support for python-oracledb and deprecated cx_Oracle. 2023-08-10 10:11:53 +02:00
logging.txt Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
migrations.txt Fixed #34822 -- Added support for serializing functions decorated with functools.lru_cache in migrations. 2023-09-13 15:57:18 -03:00
pagination.txt Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
performance.txt
security.txt
serialization.txt Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
settings.txt Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
signals.txt Fixed #32172 -- Adapted signals to allow async handlers. 2023-03-07 08:39:25 +01:00
signing.txt Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
templates.txt Added meaningful titles to ..admonition:: directives. 2023-04-21 12:03:59 +02:00