Skip to content

formfield: hint and error are not semantically associated with input #591

@thatsamsonkid

Description

@thatsamsonkid

Please provide the environment you discovered this bug in.

When using a screenreader Hint or Error Messages are not mentioned when focusing on input

Which area/package is the issue in?

input

Description

Hint and Error directives are not semantically linked to the field to which they are helping describe. They are missing their own unique id's and then the input is missing an aria-describedby with the listed hint and error id's. They need to be swapped based on input state as well.

Please provide the exception or error you saw


Other information

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions