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
Instead of using ARIA to associate text with a form element, use the label element so that it offers better accessibility for people with motor impairments, while still helping screen reader users.
Proposed
Users would be able to click on the label text to put their cursor in the Email Address box.
Reason
People with limited dexterity would have an easier time putting their cursor in the Email Address input box below the "Get email updates about COVID-19" text. People with motor impairments often struggle with putting their cursor in form elements. This would make it easier for people to click the text or the box to get their cursor in the box.
Suggested Code
Note the addition of the label elements with the for attribute associated with the input box's id attribute.
Feature
Instead of using ARIA to associate text with a form element, use the label element so that it offers better accessibility for people with motor impairments, while still helping screen reader users.
Proposed
Users would be able to click on the label text to put their cursor in the Email Address box.
Reason
People with limited dexterity would have an easier time putting their cursor in the Email Address input box below the "Get email updates about COVID-19" text. People with motor impairments often struggle with putting their cursor in form elements. This would make it easier for people to click the text or the box to get their cursor in the box.
Suggested Code
Note the addition of the label elements with the for attribute associated with the input box's id attribute.
Additional References
The text was updated successfully, but these errors were encountered: