Folks
I'm currently working on a page that contains a list of results for a search. One of the things required is hit highlighting for the search term.
So if you were to search for "stuff" it would return:
However we have made it accessible for speaking browsers such as JAWS. So it returns:Dramatic stuff in Political Play
As such the html output is:Dramatic hit stuff in Political Play
where class "hit" does the bold, underline, highlighting etc for the browsers, and class "hiddenText" does the obvious and hides the word (to the left of the viewable area) "hit" unless read out.HTML Code:Dramatic <span class="hit"><span class="hiddenText">hit</span>stuff</span> in Political Play
Unfortunately if a user selects the text "Dramatic stuff in Political Play" and then tries to copy and paste it (into notepad or Word for example), they get "Dramatic hit stuff in Political Play".
Is it possible to do something so that if a user copies and pastes the word "hit" is not picked up?
Cheers



Reply With Quote





Bookmarks