1
0
mirror of https://github.com/django/django.git synced 2024-12-29 12:36:08 +00:00
django/docs/ref
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
..
class-based-views Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
contrib [5.0.x] Refs #33690 -- Added missing data-theme selector to example in theming support docs. 2023-11-15 05:27:51 +01:00
files Fixed #34642 -- Added File.open() support for *args and **kwargs. 2023-09-11 06:07:47 +02: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
models [5.0.x] Fixed #34944 -- Made GeneratedField.output_field required. 2023-11-14 20:22:33 +01:00
templates [5.0.x] Added missing pycon directives in various docs. 2023-10-25 12:27:56 +02:00
applications.txt Fixed #33143 -- Raised RuntimeWarning when performing import-time queries. 2023-08-21 13:44:25 +02:00
checks.txt [5.0.x] Refs #34944 -- Propagated system checks for GeneratedField.output_field. 2023-11-14 20:22:41 +01:00
clickjacking.txt Refs #31949 -- Made @xframe_options_(deny/sameorigin/exempt) decorators to work with async functions. 2023-05-20 15:52:00 +02:00
csrf.txt Refs #31949 -- Made make_middleware_decorator to work with async functions. 2023-09-13 11:41:01 +02:00
databases.txt Fixed #33817 -- Added support for python-oracledb and deprecated cx_Oracle. 2023-08-10 10:11:53 +02:00
django-admin.txt [5.0.x] Fixed #34457 -- Restored output for makemigrations --check. 2023-11-09 10:44:07 -03:00
exceptions.txt Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files. 2023-02-14 08:18:40 +01:00
index.txt
logging.txt Fixed #34781 -- Updated logging ref docs for django.server's request extra context value. 2023-08-22 22:43:18 -03:00
middleware.txt Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
migration-operations.txt Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
paginator.txt Fixed #27505 -- Allowed customizing Paginator's error messages. 2023-04-12 14:02:28 +02:00
request-response.txt [5.0.x] Added missing pycon directives in various docs. 2023-10-25 12:27:56 +02:00
schema-editor.txt
settings.txt [5.0.x] Refs #32275 -- Added scrypt password hasher to PASSWORD_HASHERS setting docs. 2023-10-06 09:55:44 +02:00
signals.txt Improved style of n-tuple wording in docs and comments. 2023-06-23 09:29:35 +02:00
template-response.txt Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
unicode.txt Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
urlresolvers.txt Refs #34028 -- Doc'd that get_script_prefix() cannot be used outside of the request-response cycle. 2023-04-06 13:01:26 +02:00
urls.txt Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
utils.txt Fixed #34609 -- Deprecated calling format_html() without arguments. 2023-06-06 14:14:57 +02:00
validators.txt Fixed CVE-2023-36053 -- Prevented potential ReDoS in EmailValidator and URLValidator. 2023-07-03 08:16:55 +02:00
views.txt Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00