You are here: Re: onClick() on an anchor that doesn't force the page to jump to the top? « HTML « IT news, forums, messages
Re: onClick() on an anchor that doesn't force the page to jump to the top?

Posted by Alan J. Flavell on 10/06/91 11:42

On Fri, 17 Mar 2006, Neredbojias wrote:

> <a href="bigimage.gif"><img src="image.gif" alt=""></a>

Someone's likely to take that all too literally.

> Notice the 'alt=""'.

I did. There are situations where a null alternative text is not only
acceptable, it's even recommended; but when the image is the only
content inside a link, that's a clear accessibility failure - as most
of the accessibility checkers would report.

> It is required, and it's good if there's some
> meaningful text between the quotes.

Quite. In this case, accessibility requires it. (If one were trying
to completely hide a link from some class of users, then I'd recommend
either reconsidering the requirement, or doing it in a different way).

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация