WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Using title attribute on non-anchor elements?

for

From: Steve Faulkner
Date: May 2, 2016 7:58AM


Hi Alex, use of title attribute is not recommended under most circumstances
for many reasons:
Refer to
https://www.paciellogroup.com/blog/2013/01/using-the-html-title-attribute-updated/


On Monday, 2 May 2016, Alex Hall < <EMAIL REMOVED> > wrote:

> Hi all,
> I have a results table showing what was pulled from a database query. I'm
> using the title attribute on some th and td elements to, hopefully, show
> some data when the user mouses over it. NVDA under Firefox doesn't seem to
> indicate that this title is there at all, and I don't know if there's a way
> to have it do so. Is this a shortcoming/bug in NVDA, or is using title on
> non-anchors not recommended for conveying information to screen readers? If
> the latter, what's a good alternative? Would using JQuery's onFocus to
> populate a hidden div work, or is there something simpler? Thanks.
>
> --
> Alex Hall
> Automatic Distributors, IT department
> <EMAIL REMOVED> <javascript:;>
> > > > >


--
--

Regards

SteveF
Current Standards Work @W3C
<http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>;