diff --git a/content/practices/names-and-descriptions/names-and-descriptions-practice.html b/content/practices/names-and-descriptions/names-and-descriptions-practice.html index 46d6fbe6c5..69c6e8475f 100644 --- a/content/practices/names-and-descriptions/names-and-descriptions-practice.html +++ b/content/practices/names-and-descriptions/names-and-descriptions-practice.html @@ -308,7 +308,7 @@

Naming Form Controls with the Label Element

For example, text displayed adjacent to a checkbox may be visually associated with the checkbox, so it is understood as the checkbox label by users who can perceive that visual association. However, unless the text is programmatically associated with the checkbox, assistive technology users will experience a checkbox without a label. HTML provides two syntaxes for specifying this relationship. - The syntax with the broadest browser and assistive technology support is to set the for attribute on the label element to the ID of the control. + The syntax with the broadest browser and assistive technology support is to set the for attribute on the label element to the id of the control.

<input type="checkbox" name="subscribe" id="subscribe_checkbox">