TriStateCheckbox component uses an element with checkbox role. Value to describe the component can either be provided with aria-labelledby or aria-label props. Component adds an element with aria-live attribute
that is only visible to screen readers to read the value displayed. Values to read are defined with the trueLabel, falseLabel and nullLabel keys of the aria property from the
Key | Function |
---|---|
tab | Moves focus to the checkbox. |
space | Toggles between the values. |
enter | Toggles between the values. |