Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: ergophobe
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:
Dramatic stuff in Political Play
However we have made it accessible for speaking browsers such as JAWS. So it returns:
Dramatic hit stuff in Political Play
As such the html output is:
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?
Dramatic hitstuff in Political Play
We're using Tapestry along with Prototype and Scriptaculous, so I'm wandering if I should be looking more down that route than traditional code and css?