Naming Form Controls with the Label Element recommends incorrect technique #2870
Labels
editorial
Changes to prose that don't alter intended meaning, e.g., phrasing, grammar. May fix inaccuracies.
Inaccuracy
Incorrect statement in prose (not a code bug)
Practice Page
Related to a page within the practices section of the APG
Milestone
On the Providing Accessible Names and Descriptions practices page under the heading Naming Form Controls with the Label Element, the text describes two techniques, commonly known to accessibility professionals as implicit and explicit labeling.
Implicit:
Explicit:
The guidance goes on to state the following, which I believe to be incorrect:
However, explicit labeling using
for
andid
attributes has long been established as the preferable technique due to better support in browsers and assistive technology software, which is echoed by the WAI's own tutorial on Labeling Controls (with my emphasis):This is backed up by experts reporting issues with voice control software like Dragon Naturally Speaking not working with implicit labeling techniques, and more recent testing with screen readers.
I suggest that the advice on the Providing Accessible Names and Descriptions page be reworded to something like:
The text was updated successfully, but these errors were encountered: