mantine
mantine copied to clipboard
Error message of an erroneous checkbox component is not accessible to voice readers
Dependencies check up
- [x] I have verified that I use latest version of all @mantine/* packages
What version of @mantine/* packages do you have in package.json?
8.3.1
What package has an issue?
@mantine/core
What framework do you use?
Vite
In which browsers you can reproduce the issue?
All
Describe the bug
Focusing on the checkbox input with an error message is not read out by Mac's voice over utility. Refer the image below -
Meanwhile text input achieves this -
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
This should be solvable by linking the error message container and the checkbox input via and id + aria-describedby combination.
Self-service
- [x] I would be willing to implement a fix for this issue
You are welcome to submit a PR with a fix
You are welcome to submit a PR with a fix
Ouu also discovered that the checkbox is not invalid on errors -- will try to get that in on the same pull request.