WebAIM - Web Accessibility In Mind

E-mail List Archives

Available title indication via css

for

From: Wolfgang Berndorfer
Date: Nov 10, 2017 1:08PM


Hi!

Digging around in the main.css of webaim.org I was surprised that the visual
indication for the attribute [title] is only applied onABBR and DFN
elements.

Is there any reason not to use it generally for elements (*[title])?

If NO, could the following code be recommended as best practise:

*[title] {

border-bottom:1px dotted;

cursor:help;

}

It would support the recognability of the feature.

If there were aesthetic reasons against it, FAQ in the navigation would be
infected with abbr[title] anyway.

Hope, me Austian was understandable, who needs more often a TITLE in a
LANG-Attribute.

Wolfgang Berndorfer