summaryrefslogtreecommitdiff
path: root/docs/spelling_wordlist
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2023-11-15 20:51:00 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-11-16 13:27:18 +0100
commit7f0275d8cb6a590fa5e157cadeba776e9a790121 (patch)
tree35826ad1d766f635ed85c87d630ed4fedf9f03c1 /docs/spelling_wordlist
parent8c88ae8251da7f4fa01c1422f76fbb73aa41fffa (diff)
[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 292f1ea90f90ff140617299a25884c8fda24aa64 from main
Diffstat (limited to 'docs/spelling_wordlist')
0 files changed, 0 insertions, 0 deletions