Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to use accessible highlighting in HTML?

I developing HTML5 web app and have a case when some parts of sentence should be highlighted. For example, "Your search for blac was adjusted to black".

In markup i have something like that:

<span> You search for <b>blac</b> was adjusted to <b>black</b></span>


When VoiceOver is turned on it reads a 4 parts: "You search for", "blac", "was adjusted to ", "black".


Another case:

User search for "black" and on search result see category "Black/White movies" and word "Black" should be highlighted, but in that case VoiceOver reads two parts: "Black" and "/White movies". That's not very comfortable...


How can I use highlighting to avoid such separating?

Posted on Jan 24, 2013 1:11 AM

Reply

There are no replies.

How to use accessible highlighting in HTML?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.