Why *can’t* you add alt text to text?

  • This topic has 7 replies, 3 voices, and was last updated 4 months, 3 weeks ago by krollans.
Viewing 4 posts - 1 through 4 (of 8 total)
Why *can't* you add alt text to text? thread
Author Posts
krollans

There’ve been a few questions about how to make underlined text more accessible (one of which was mine), and it made me wonder if you could just add an alt tag to text to get screen readers to read something before or after a certain span of text (e.g., “the phrase ‘Brian [comma], Gemma [comma], and me’ is underlined.”) Answer: no, you can’t do this. But why not?

It would be so much more efficient than having to create a bunch of images. Is there a reason that the alt attribute has been set up such that it can’t be applied to graphic text? Is changing it at this point even possible?

b.keith

Wouldn’t a title work? I have seen it used with abbreviations and links… click here <abbr title="New York City">NYC</abbr>

krollans

BTK! Thank you—you’re always giving me such handy tips. I’ll give this a try.

 

Can I ask who you are / what press you’re at?

APLN Moderator

I would caution against using the abbr element with the title attribute (especially for text that is not an abbreviation since that might mislead the reader). According to DAISY Knowledge Base:

“A drawback of using the abbr element is that the expansion may only be available to users of assistive technologies. Although using the title attribute will produce a tooltip when a mouse is hovered over the abbreviation, readers may not be using a reading system with a pointing device.”

For AT users, the repetition of the text in the title attribute followed by the text content it elaborates on might hinder the reading experience.

Viewing 4 posts - 1 through 4 (of 8 total)
  • You must be logged in to reply to this topic.

Want to join the discussion?

a wooden table with a white keyboard on top, and a persons hand writing on a piece of paper

View our current resources