WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Keyboard accessibility of abbreviations

for

From: _mallory
Date: Apr 16, 2015 1:37PM


On Thu, Apr 16, 2015 at 11:53:23AM -0400, <EMAIL REMOVED> wrote:
> If the text corresponds to anything which is also provided as printouts, then readers of the paper version also don't have access to the expanded acronym beyond the first, explicit expansion.

When I worked in insurance, also with many abbreviations, we used
a CSS style to expand abbreviations on print.

The HTML had something like
<span class="tip" title="Wettelijke aansprakelijkheidsverzekering">WA</span>
In the print stylesheet, we had something like

.tip:after {
content: " ("attr(title)")";
and other styles like bolding
}

Resulting in the screen showing "WA"
and the printout, on the fist instance, showing
"WA (Wettelijke aansprakelijkheidsverzekering)"

We did this for any external URLs that were on the website so people
could see the URLs after print.

On another note, I like Birkir's idea of being able to turn on or
off the tab-expansion.

_mallory