mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-31 15:06:32 +02:00
fixed aria-described-by in textarea
This commit is contained in:
parent
d424f314e1
commit
203f0cd8a8
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue