WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Usage of title attribute or hidden label

for

From: Paul Adam
Date: Nov 6, 2013 10:55AM


Also usually the title is treated as a hint or help text so it should
usually be different than the short, concise aria-label.

Sent from my iPhone

> On Nov 6, 2013, at 11:34 AM, "Gunderson, Jon R" < <EMAIL REMOVED> > wrote:
>
> 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
>
>