WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Alts for text links

for

From: L Snider
Date: Mar 26, 2018 10:21AM


Hi Jared,

Yes, in all cases it was almost the same in the accordion sub category
links:
<a href="URL for PDF" alt="Download the PDF" title="Download the PDF">Doc
Title</a>

In all three, there was a small icon next to the link that must be coming
from the CSS, because there is no trace of it in the HTML at all. I haven't
had a chance to look at the css for any of these that I have come across,
but I am now trying to find the sites again so I can see what is up in
there.

It was odd to see three in a short time, and I just wondered what they were
doing, maybe making up for the icon alt? Even though the icon can be
invisible as it is duplicating everything there.

Cheers

Lisa






On Mon, Mar 26, 2018 at 11:07 AM, Jared Smith < <EMAIL REMOVED> > wrote:

> You mean alt on the <a> element? This would not be proper HTML and will do
> nothing for accessibility.
>
> Jared
> > > > >