Open regexyl opened 9 months ago
I can definitely see both readings (that it applies only to control, and that it applies to both. I think that paragraph needs some splitting up for clarity regardless.
If we can enable glob support on label components in a non-breaking way, then I'm happy to add it.
The docs mention that:
It seems like glob matching only occurs for
controlComponents
, notlabelComponents
in jsx-a11y/label-has-associated-control, though it seems like (and makes sense) to have it applied to both of them.