WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: title attribute?

for

Number of posts in this thread: 3 (In chronological order)

From: Nancy Johnson
Date: Mon, Nov 18 2013 6:09AM
Subject: title attribute?
No previous message | Next message →

Hi

I'm confused: When it is appropriate to use the title attribute. Can
someone clarify?

According to the following article it is ok to use it as an
alternative to the clip property
http://juicystudio.com/article/hidden-label-firefox-bug.php

This from w3c
http://www.w3.org/TR/WCAG-TECHS/H65.html


I've always stayed away from it because it is a mouse event and I
didn't think all screen readers read the title tag by default.

Thanks,

Nancy

From: Steve Faulkner
Date: Mon, Nov 18 2013 6:29AM
Subject: Re: title attribute?
← Previous message | Next message →

Hi Nancy,

this may be of help
http://blog.paciellogroup.com/2013/01/using-the-html-title-attribute-updated/

--

Regards

SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>;


On 18 November 2013 13:09, Nancy Johnson < = EMAIL ADDRESS REMOVED = > wrote:

> Hi
>
> I'm confused: When it is appropriate to use the title attribute. Can
> someone clarify?
>
> According to the following article it is ok to use it as an
> alternative to the clip property
> http://juicystudio.com/article/hidden-label-firefox-bug.php
>
> This from w3c
> http://www.w3.org/TR/WCAG-TECHS/H65.html
>
>
> I've always stayed away from it because it is a mouse event and I
> didn't think all screen readers read the title tag by default.
>
> Thanks,
>
> Nancy
> > > >

From: Jukka K. Korpela
Date: Mon, Nov 18 2013 6:55AM
Subject: Re: title attribute?
← Previous message | No next message

2013-11-18 15:09, Nancy Johnson wrote:

> I'm confused: When it is appropriate to use the title attribute. Can
> someone clarify?

My short answer is: Never.

It might be somewhat useful in its original use (in the early days, it
was allowed for links only), to help users see what a link points to
before they decide to follow it. But even for such use, CSS tooltips are
now better. The do not suffer the implementation problems of title
attributes in popular browsers (tiny font that cannot be enlargened,
disappearance of the text after some seconds).

> I've always stayed away from it because it is a mouse event and I
> didn't think all screen readers read the title tag by default.

That's part of the problem, but even if these things are fixed, the
other problems remain.

Mostly, when authors write title attributes, they are avoiding the task
of designing understandable, well-structured content and presentation,
throwing some texts into title attributes since they do not know how to
fit them into their design.

Yucca