Highlights in search results are only implemented as a CSS class, so they are not exposed to assistive technologies. The <mark> element is designed for exactly this purpose and is more accessible.
To do:
Update highlight queries so they specify the <mark> tag instead of a <span class="highlight">.
Update the CSS rule that selects .highlight to select mark.
Highlights in search results are only implemented as a CSS class, so they are not exposed to assistive technologies. The
<mark>
element is designed for exactly this purpose and is more accessible.To do:
<mark>
tag instead of a<span class="highlight">
..highlight
to selectmark
.