E-mail List Archives
Re: Wrap part of a word in <span>
From: Peter Weil
Date: Apr 26, 2021 1:39PM
- Next message: Tom Livingston: "Re: Wrap part of a word in "
- Previous message: Tom Livingston: "Re: Wrap part of a word in "
- Next message in Thread: Tom Livingston: "Re: Wrap part of a word in "
- Previous message in Thread: Tom Livingston: "Re: Wrap part of a word in "
- View all messages in this Thread
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
--
Peter Weil, Web Developer
University Marketing
University of WisconsinâMadison
<EMAIL REMOVED>
(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?
- Next message: Tom Livingston: "Re: Wrap part of a word in "
- Previous message: Tom Livingston: "Re: Wrap part of a word in "
- Next message in Thread: Tom Livingston: "Re: Wrap part of a word in "
- Previous message in Thread: Tom Livingston: "Re: Wrap part of a word in "
- View all messages in this Thread