E-mail List Archives

Re: Keyword search with highlighting


From: Nancy Johnson
Date: Nov 27, 2012 5:31AM

I like that idea. Thanks. I will probably also use the <strong> as
it will work for this particular instance...


On Mon, Nov 26, 2012 at 3:39 PM, Jared Smith < <EMAIL REMOVED> > wrote:
> On Mon, Nov 26, 2012 at 1:21 PM, Jared Smith wrote:
>> In short, there isn't a good way to do this that is currently
>> supported in screen readers.
> This isn't to suggest that you shouldn't do anything, just that
> whatever you do is either going to be an ugly hack (such as off-screen
> text to indicate the beginning and end of the highlighted content) or
> isn't going to currently work. Personally, I'd use the HTML5 <mark>
> element as it's semantically correct - and will be the optimal
> solution as soon as screen readers start supporting it.
> Jared
> > >