fixed aria-described-by in textarea

This commit is contained in:
David Kennedy 2025-03-20 15:46:55 -04:00
parent d424f314e1
commit 203f0cd8a8
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -114,7 +114,7 @@ def input_with_errors(context, field=None): # noqa: C901
# do some work for various edge cases
if "maxlength" in attrs:
if "maxlength" in attrs and "hide_character_count" not in attrs:
# associate the field programmatically with its hint text
described_by.append(f"{attrs['id']}__message")