WebAIM - Web Accessibility In Mind

E-mail List Archives

Use of SAMP to highlight search results

for

From: Pete Fairhurst
Date: Oct 28, 2010 4:06AM


Hi everyone,

I'm Pete Fairhurst, a web developer with 11 years' experience based in
Bristol, England.

I was wondering what people think of my idea to use the SAMP element to
highlight matching text in a list of search results?

http://www.htmlcodetutorial.com/_SAMP.html

On the face of it, SAMP sounds like it might be a better element to use than
EM, which is how I currently highlight matching text in search results.

What do you think? Does this sound like a good alternative, or should I be
using a different element entirely to EM or SAMP?

Thanks in advance!

- Pete

~~~~

"Haste in art is almost always vulgarisation." H.G. Wells