Replies: 5 comments
-
there are so many different variations of content, and how it's presented, out in the wild...don't be surprised that things aren't all explicitly referenced. in answer to your question, if the yellow background there was the only thing that was visually highlighting the |
Beta Was this translation helpful? Give feedback.
-
@sarasuri -- if you do not have a follow-up question about this, please close this issues. |
Beta Was this translation helpful? Give feedback.
-
Please, keep this open. Assigning this issue to myself. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
This issue is labelled as a discussion, so we’re moving this to Discussions. There doesn’t seem to be an update to make to the documentation, but if that changes, we can move it back to the issues list. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I can’t seem to find any reference about highlighted colour in text and Web accessibility. In the screenshot below, the search term is highlighted using yellow background. In this case, the text passes the contrast ratio (SC 1.4.3) over its background. However, I am not sure should the yellow against its adjacent background white have at least 3:1 contrast to meet SC 1.4.11 Non-text contrast?
The highlighted search term is coded using the element.
<p>if you develop <mark>flu-like symptoms</mark> while travelling</p>
Any feedback would be appreciated.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions