WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Wrap part of a word in <span>


From: Peter Weil
Date: Apr 26, 2021 1:39PM

Not by default.

If it's of any importance at to display the full names, the best option is to display the full name and dispense with the initials. That's the most straightforward, simplest, and accessible solution.

If you still want to use the initials for your content, the most semantic way to do it might be to enclose the initials in an <abbr> element and use the title attribute for the expansion. But it still wouldn't be read by default by a screenreader.


Peter Weil, Web Developer
University Marketing
University of Wisconsin–Madison
(m) 608-220-3089

On Apr 26, 2021, 2:25 PM -0500, <EMAIL REMOVED> < <EMAIL REMOVED> >, wrote:
But wouldn't the AT read the title attribute, supplementing the visual hover?