Highlight Search Terms on Page
Reads the search query from the URL (s, q, or search parameter) and wraps matching words in the page content with a highlighted mark element.
JavaScriptProby SnipCraft
This is a Pro snippet
The full code for “Highlight Search Terms on Page” is part of the SnipCraft Pro library. Get every Pro snippet and module, and import them in one click.
Get SnipCraft ProQuestions about Pro? Contact us.
#accessibility#highlight#search#text#ux