WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Using title attribute on non-anchor elements?

for

From: Patrick H. Lauke
Date: May 3, 2016 2:13AM


On 03/05/2016 08:40, Detlev Fischer wrote:
> Weird - IE11 (11.0.9600.17842) does display title, but only on links
> (incl. linked images)

I briefly tested it for links, for <span tabindex="0"> items, and for an
<input type="text">, and in all cases it displayed.

> There is an offset of about a second before it appears which means
> you can easily miss it when tabbing through several links. The
> 'tooltip' does not scale along with browser zoom. And it only lasts
> for about 5 secs and then fades. Oh, and in some cases (depending on
> the position of the element and the page's scroll state), it is
> actually displayed outside the browser window far below the element -
> I guess this is a bug. I have checked this on an alt and title test
> page that I have put together recently:
> http://www.3needs.org/en/testing/code/alt+title-test.html

Note that all those characteristics (the 1 second delay, the fact it
doesn't scale with browser zoom, etc) are just as true for mouse users.
i.e. this tooltip is the IE11/Edge standard tooltip.

With regards to not changing size relative to browser zoom: arguably the
tooltip is part of the browser UI, so I can understand why it would take
its sizing not from the current page content, but from the UI font size.

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke