mantine icon indicating copy to clipboard operation
mantine copied to clipboard

Error message of an erroneous checkbox component is not accessible to voice readers

Open chumba-wamba opened this issue 4 months ago • 2 comments

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 - Image

Meanwhile text input achieves this - Image

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

chumba-wamba avatar Oct 07 '25 23:10 chumba-wamba

You are welcome to submit a PR with a fix

rtivital avatar Oct 08 '25 06:10 rtivital

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.

chumba-wamba avatar Oct 08 '25 16:10 chumba-wamba