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 10:33AM


Paul,

Thank you for your response.

If you use title attribute there is no reason to use aria-label, since the title attribute is part of the accessible name calculation for aria enabled technologies, and technologies that are not supporting aria would ignore the aria-label attribute anyway.

http://www.w3.org/TR/wai-aria/roles#namecalculation

Some developers don't want the tooltip for various reasons, so aria-label attribute hopefully makes adding a label easier for them, or the tooltip (title attribute) content is really providing additional information beyond what the label is providing.

Jon

-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ] On Behalf Of Paul J. Adam
Sent: Wednesday, November 06, 2013 11:05 AM
To: WebAIM Discussion List
Subject: Re: [WebAIM] Usage of title attribute or hidden label

Hey Jon, I recommend using both attributes if you want the visual tooltip reinforcement for low vision magnification users and other sighted users. Does aria-label work with other screen readers besides JAWS, NVDA, and VoiceOver? E.g. Window Eyes? Also aria-label will not work for Dragon Naturally Speaking, not sure it title attribute works well their either.

There's no harm in using both aria-label and title, the UA/AT should only pick one as the accessible name.

Paul J. Adam
Accessibility Evangelist
www.deque.com

On Nov 6, 2013, at 10:22 AM, Gunderson, Jon R < <EMAIL REMOVED> > wrote:

> Holli,
>
> What legacy browser/screen reader combination was Deque concerned about not supporting aria-label?
>
> Jon
>
>
> -----Original Message-----
> From: <EMAIL REMOVED>
> [mailto: <EMAIL REMOVED> ] On Behalf Of Holli Smith
> Sent: Wednesday, November 06, 2013 10:17 AM
> To: WebAIM Discussion List
> Subject: Re: [WebAIM] Usage of title attribute or hidden label
>
> I believe the recommendation at the deque conference was to use both title attribute and an aria label to support the maximum combination of browsers and screenreaders On Nov 6, 2013 11:14 AM, "Gunderson, Jon R" < <EMAIL REMOVED> > wrote:
>
>> 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
>> >> >> list messages to <EMAIL REMOVED>
>> >> >> list messages to <EMAIL REMOVED>
>>
> > > list messages to <EMAIL REMOVED>
> > > list messages to <EMAIL REMOVED>