WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Wrap part of a word in <span>

for

From: Tom Livingston
Date: Apr 26, 2021 7:30AM


How about both? This is an intranet and a small captive audience, but
I'd like to make sure it's right - right as possible.

I will test, thanks.



On Mon, Apr 26, 2021 at 9:20 AM John Hicks < <EMAIL REMOVED> > wrote:
>
> as long as by hover you mean ... focus !
>
> I reckon you'd best test it though, I find voiceover takes every possible
> opportunity to surprise ... :)
>
> Le lun. 26 avr. 2021 à 15:17, Tom Livingston < <EMAIL REMOVED> > a écrit :
>
> > OK, thank you Steve.
> >
> > I am working on a situation where I want to have a person's first and
> > last initials expand to their full name on hover. My thought was to
> > hide the rest of each in a span (not using display: none). Wanted to
> > make sure that wasn't going to be a bad thing.
> >
> >
> >
> >
> > On Mon, Apr 26, 2021 at 9:12 AM Steve Green
> > < <EMAIL REMOVED> > wrote:
> > >
> > > No, it won't cause any issues unless you apply the "display:none" style
> > to the span or something like that.
> > >
> > > Steve Green
> > > Managing Director
> > > Test Partners Ltd
> > >
> > >
> > >