ימנעו מזיהוי מלים בלוגו כטקסט

Can we stop words in logos being detected by some browsers? :thinking:

I’m unsure if this is an iOS / macOS issue, a Safari issue, or an issue that reaches wider.

The amount of times per day that I click on the logo on my Discourse logo, expecting to be taken to the homepage, only for my browser to decide it can see a word and it wants to know what I want to do with the text in the image that it’s just very cleverly highlighted and selected :person_facepalming:

eg:

and:

:person_facepalming:

Is there some magic that can be applied to that element in the top corner to tell the browser to not try and interpret the text in these logos and instead to just action the click back to the homepage?

Anyone else with words in their logos struggling with this issue?

2 לייקים

To confirm; this is Safari’s Live Text feature?

Unfortunately, the Live Text Documentation link is broken so we can’t look up how to disable it for a specific image.

I do note people asking for this on their forums with no response:

You could disable this system-wide on your machine?

4 לייקים

זה עשוי לעזור בCSS:

#site-logo {
  user-select: none;
  pointer-events: none;
}

זה אמור להקטין את יכולות ה-OCR של הדפדפן מלהפריע ללוגו.

ניסיתי את זה במהירות עם Safari במערכת ניסיון, וזה נראה עובד.

5 לייקים

But we can’t disable it on the machines of all our community members :blush:

Fantastic, I’ll try it tonight, thanks :grin:

2 לייקים

That’s not Discourse :eyes:

I know!

I’m as disappointed as you are :sob:

3 לייקים

Early tests are looking good!

Thanks again @Arkshine this should save all our Safari users a lot of clicking :smiley:

לייק 1