WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: One Visible Label - Two Associated Input Fields

for

From: Moore,Michael (DARS)
Date: Apr 13, 2015 12:27PM


You will want to label the fields using either the title attribute or aria-label. Date of Birth would not provide sufficient information to tell you what to put in each of the two fields but title="Birth Month" and title="Birth Year" would make it clear. An alternative would be just to use one field for Date of Birth.

Mike Moore
Accessibility Coordinator,
Texas Department of Assistive and Rehabilitative Services
(512) 424-4159 (Office)
(512) 574-0091 (Cell)