primereact icon indicating copy to clipboard operation
primereact copied to clipboard

MultiStateCheckbox: A form field element has neither an id nor a name attribute

Open KubaGorka opened this issue 4 months ago • 0 comments

Describe the bug

The MultiStateCheckbox component fails accessibility requirements. A form field element has neither an id nor a name attribute. This might prevent the browser from correctly autofilling the form.

Reproducer

No response

System Information

primereact: 10.9.7

Steps to reproduce the behavior

Go to https://primereact.org/multistatecheckbox/

Inspect the input element of the MultiStateCheckbox

Notice that the input is marked by the browser as a node with an issue.

Expected behavior

Input should have a name or id, so it follows the accessibility guidelines

KubaGorka avatar Sep 17 '25 09:09 KubaGorka