WebAIM - Web Accessibility In Mind

E-mail List Archives

Using title attribute on non-anchor elements?

for

From: Alex Hall
Date: May 2, 2016 7:22AM


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>