You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We get the error message: A form label must be associated with a control., which is not actually what the issue is.
I think it would be helpful to have a separate error message for this case, something like: A form label must have accessible text. to clear up any confusion between the two cases
The text was updated successfully, but these errors were encountered:
This rule checks two things:
However, the error message never accounts for the second case. So, if we had this code:
We get the error message:
A form label must be associated with a control.
, which is not actually what the issue is.I think it would be helpful to have a separate error message for this case, something like:
A form label must have accessible text.
to clear up any confusion between the two casesThe text was updated successfully, but these errors were encountered: