WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Usage of title attribute or hidden label

for

From: Gunderson, Jon R
Date: Nov 6, 2013 9:13AM


Another option is to use the aria-label attribute:

http://www.w3.org/TR/wai-aria/states_and_properties#aria-label

It works just like the title attribute, but produces no tooltip.

Example:

<input type="text" name="firstname" size="15" aria-label="First Name">

Jon


-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ] On Behalf Of jyothi gogireddy
Sent: Wednesday, November 06, 2013 7:23 AM
To: <EMAIL REMOVED>
Subject: [WebAIM] Usage of title attribute or hidden label

Hi All,
 
I have a scenario where I can't use visual text label does title attribute to input field or a hidden label will be a better option to implement as per accessibility guideline.
 
Thanks in advance.
 
Regards,
Jyothi
Accessibility Consultant