WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Minimal style needed to make links accessible?

for

From: Jason Kiss
Date: Aug 24, 2010 3:36PM


On 25/08/10 08:41, Jukka K. Korpela wrote:
> I could write an essay on why underlining links is a stylistically very bad
> idea. For one thing, it breaks the patterns of words, especially if many
> letters have descenders (as in "g") or parts that more or less reside on the
> baseline (as in "u").
>

Can't this be mitigated by using border-bottom for a faux underline
instead of text-decoration: underline? The bottom border can act as an
underline but does not need to bisect a letter's descender nor, if a
sufficient line-height is applied, cut in to the text on the next line.
One account of this approach is described here:
http://dev.opera.com/articles/view/32-styling-lists-and-links/#fauxunderlines

Jason Kiss
accessibleculture.org