: Is text that use CSS "user-select: none;" indexed and ranked by search engines? As I understand this CSS property it is used to prevent the user from accidentally selecting text and other elements
As I understand this CSS property it is used to prevent the user from accidentally selecting text and other elements that are used for stylistic reasons, or are part of the user-interface (e.g. a clickable div with the text "Copy" or "Share" in it). So it seems reasonable that search engines would ignore these text elements in favour of selectable content. Is this a correct assumption?
Sources:
developer.mozilla.org/en-US/docs/Web/CSS/user-select https://drafts.csswg.org/css-ui-4/#propdef-user-select
More posts by @Shelley277
1 Comments
Sorted by latest first Latest Oldest Best
Yes, I would think that user-select would only be for stylistic purposes. Search engines can read through the source & and the DOM without having to actually select text like a user would.
developer.mozilla.org/en-US/docs/Web/CSS/user-select
EDIT: here is a jsfiddle. if you view source and view the DOM, the content is still rendered normally. jsfiddle.net/0asekyyh/
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.