W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2012

Is it okay to add role="tooltip" to static elements?

From: Ian Yang <ian.html@gmail.com>
Date: Wed, 27 Jun 2012 19:50:28 +0800
Message-ID: <CAFhBhuPoQrNQVjisvMwfPcksb9M7Fgv5A82yEK-Eq-0gAQ+MtA@mail.gmail.com>
To: "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
Hi everyone,

Please take a look at this image (
) which is taken from this blog page (

The image shows that there is a static description paragraph (< p >
element) below the password input field. In that case, is it okay to
add ARIA role="tooltip" to the static < p > element?

In most web designs, tooltips are often designed as "popups" which are
triggered by mouse hover. However, if I understand it correctly,
"tooltip" literally means "tip of tool" and doesn't imply that a
tooltip must be a "popup" thing. So, can I add role="tooltip" to
elements which can be considered as "tip of tool", even if they are
static elements? (Just like the example above) By doing so, I feel
they are markup'ed more meaningfully, and we also get the benefit of
having styling hooks.

I'm not sure whether adding role="tooltip" to static elements has
negative effects to assistive technologies or not. Is this idea
appropriate or inappropriate?

Kind Regards,
Received on Wednesday, 27 June 2012 11:51:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:44 UTC