WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Keyword Search results, highlighting words within the text


From: Kornbrot, Diana
Date: Sep 21, 2012 5:49AM

You need to produce your page using a html editor that produces html5 compliant responsive html5

http://www.tinymce.com/index.php, http://ckeditor.com/

These use the tag <strong> for bold, which will be ok with screen readers
You can check conformance with guidelines using RNIB resources given at http://www.rnib.org.uk/professionals/webaccessibility/testingtips/Pages/automated_testing.aspx>;

Confromance with guideline, unfortunately, does not guarentee accessibility - but it helps

Meanwhile, there is probably be accessible ARIA code for the whole keyword search that other members of this list can supply
Good luck


On 21/09/2012 12:21, "Nancy Johnson" < <EMAIL REMOVED> > wrote:


We are adding a Keyword search to our site. For the results, we are
thinking of highlighting the keywords within the text, with a bold and
maybe color.

For screen reader users, Does the screen reader pick up on the bold text?
If it doesn't what is the best way for the screen reader to indicate the
text is of some importance.


Nancy Johnson
Emeritus Professor Diana Kornbrot
web: http://dianakornbrot.wordpress.com/
Department of Psychology
School of Life and Medical Sciences
University of Hertfordshire
College Lane, Hatfield, Hertfordshire AL10 9AB, UK
voice: +44 (0) 170 728 4626
fax: +44 (0) 170 728 5073
19 Elmhurst Avenue
London N2 0LT, UK
voice: +44 (0) 208 444 2081
mobile: +44 (0) 740 318 1612
fax: +44 (0) 870 706 1445