WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Alternative to the Title attribute in Links


From: Sailesh Panchang
Date: Aug 28, 2017 7:31AM

Would it be possible to include an img tag within the link for the
currently sorted column and using its alt to convey the sort
direction? No title will be needed then in this situation although it
is a valid attribute whose value can be dynamically set too.

Thanks and regards,

On 8/25/17, Sarah Jevnikar < <EMAIL REMOVED> > wrote:
> Hi again,
> I've come across the use of the Title attribute to provide extra information
> for links, but have read in several places that this is a bad idea. I can't
> seem to find any alternatives though (on Google, anyway). What else would
> achieve the same goal? would it be a matter of just changing the link text?
> Is Aria label a better way to go? Would that work for non-SR users as well?
> I'm conscious of the fact that most are not.
> The code I'm looking at is thus:
> <a href="/en/home?order=field_data_holding&amp;sort=asc" title="sort by Data
> Holding" class="active">Data Holding</a> </th>
> Except with NVDA and IE 11 (I'm testing with JFW, Chrome, IE, Firefox and
> iOS), I'm hearing "Data Holding; sort by data holding", which is what I'd
> hope to hear.
> Thanks again,
> Sarah
> > > > >

Sailesh Panchang
Principal Accessibility Consultant
Deque Systems Inc
Phone 703-225-0380 ext 105
Mobile: 571-344-1765