WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Usage of title attribute or hidden label

for

From: Paul J. Adam
Date: Nov 6, 2013 2:00PM


I think Steve’s article is just a bit more anti title attribute.

E.g. the tl;dr says:

If you want to hide content from mobile and tablet users as well as assistive tech users and keyboard only users, use the title attribute.

So I don’t want people to be scared away from the title attribute. I’ve heard many times that the title attribute should NEVER be used so I’m tying to dispel that myth a bit :)

On Nov 6, 2013, at 2:53 PM, Léonie Watson < <EMAIL REMOVED> > wrote:

> Paul J Adam wrote:
> "I’m just trying to point out that all Accessibility experts, even those in
> the same company have differing opinions/evidence for why to use or not use
> the title attribute."
>
> That's often the case, but unless I'm missing something (quite possible) the
> advice in both these articles seems fairly consistent with regard to the
> title attribute on form controls.
>
> In providing an alternative to a hidden label (because of a Firefox CSS
> bug), Gez's article says:
>
> "We generally recommend the title attribute or the aria-label attribute if
> there is no visible label at all (such as checkboxes arranged in grids that
> make sense visually)."
>
> In a list of exceptions where the title attribute is helpful, Steve's
> article includes:
>
> "Providing a programmatically associated label for a control in situations
> where a visible text label would be redundant."
>
> Léonie.
>
>
>
>
> > >