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
Apparently Chrome has become stricter in regards to following specifications the form fields and associated for statements. "for " attributes in labels are supposed to point to input type elements and the viewer has some that point to the surrounding div instead of to the input field. This is causing an error in the console in chrome Version 114.0.5735.134 (Official Build) (64-bit). The error is coming up for the "Map Name" label which points at the div mapName. Since the mapName isn't an input field, perhaps getting rid of the for attribute in the label is the correct action?
Also the labels for Search: and Orientation: are causing warnings in the console because they don't have for statements for the labels.
The text was updated successfully, but these errors were encountered:
Chrome now complains about label elements with missing or incorrect "for"
attributes. See issue #505.
I found four <label> elements in chm.html that were semantically labels,
but not labels in the strict HTML sense as referring to a specific form
input element.
I changed them to plain <span> elements. Since we weren't formatted them
any differently from plain elements, I didn't add a class field that we
could use as a css selector in the future. I could easily be convinced to
add one.
Chrome now complains about label elements with missing or incorrect "for"
attributes. See issue #505.
I found four <label> elements in chm.html that were semantically labels,
but not labels in the strict HTML sense as referring to a specific form
input element.
I changed them to plain <span> elements. Since we weren't formatted them
any differently from plain elements, I didn't add a class field that we
could use as a css selector in the future. I could easily be convinced to
add one.
Apparently Chrome has become stricter in regards to following specifications the form fields and associated for statements. "for " attributes in labels are supposed to point to input type elements and the viewer has some that point to the surrounding div instead of to the input field. This is causing an error in the console in chrome Version 114.0.5735.134 (Official Build) (64-bit). The error is coming up for the "Map Name" label which points at the div mapName. Since the mapName isn't an input field, perhaps getting rid of the for attribute in the label is the correct action?
Also the labels for Search: and Orientation: are causing warnings in the console because they don't have for statements for the labels.
The text was updated successfully, but these errors were encountered: