The govTextarea component has the following issues:
- The label has to be either a H1, H2 or H3, there is no support for a non-heading "standard" label.
- The label's
for attribute has the value "input-text" but the textarea's id is set to "text-area"
- The label has a hardcoded ID to link it to the input element, this would restrict the page to only being able to contain a single input.
- The hint text and error message should be referenced by the select element using aria-describedby. Currently the
aria-describedby attribute incorrectly references itself.
- Hard coded "error:" prefix does not allow for language translations.
- The prefix and suffix should contain the
aria-hidden attribute to prevent them from being read out by screen readers.
- The character count component does not appear to support the max-words option.
The govTextarea component has the following issues:
forattribute has the value "input-text" but the textarea'sidis set to "text-area"aria-describedbyattribute incorrectly references itself.aria-hiddenattribute to prevent them from being read out by screen readers.