UX question: select/non selectable text

I came across some CSS code to disable the highlighting effect if the user accidentally selects the text.

However, I would like to know your opinions about when you should use this, and when it shouldn’t be used.

On a design point of view, obviously you would prefer to limit as much of things that would change the worked out design. But in the other hand some people use keyboard to navigate and needs a visual change for selected element. What I have done is reduce the impact of outline selection by using colors of my website. A good compromise I think.

> Infos here < how to achieve that. Should place that code in the custom code in the head tag of either your page or main.