spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Feat][Checkbox][Switch]: CheckboxBase should support label, labelledby and describedby

Open majornista opened this issue 1 year ago • 9 comments

Code of conduct

  • [X] I agree to follow this project's code of conduct.

Impacted component(s)

Checkbox, CheckboxBase, Switch

Description of the requested feature

It should be possible to label a Checkbox, without a visible label, using label, labelledby and describedby, so that for example checkboxes in a Table used for row selection can be labeled using label="Select" and labelledby referencing the checkbox itself and IDREFs for the row header cells.

Mockups or screenshots

No response

Implementation notes or ideas

No response

majornista avatar Jun 02 '23 19:06 majornista