cpu-audio icon indicating copy to clipboard operation
cpu-audio copied to clipboard

Focus outline of WebComponent on Safari

Open dascritch opened this issue 4 years ago • 2 comments

We want the ability to ride off the standard accessibility feature of Apple, as we have already one. Or have a simple way to parameter it, or document it for integrators.

it's not on <cpu-audio>, it's not on :host , it's not :focus , :focus-within , :hover ..... I'm searching for the source of the default stylesheet of safari :/

  • https://trac.webkit.org/browser/trunk/Source/WebCore/css/html.css
  • :host(:focus) { outline : none; } not working too :/

(I write it in French because it really piss me off)

Si vous jouez avec les pseudo-sélecteurs de :focus comme :focus-within ou :focus-visible dans le shadowRoot et que vous vous demandez pourquoi c'est tant le bordel sur Safari. Ben c'est en rapport avec vos problèmes sur la gestion de l'événement focus , buggé depuis toujours sur Safari https://blogs.igalia.com/mrego/2021/01/28/focus-visible-in-webkit-january-2021/ Le mot-clé qui pourrait vous aider dans vos futures recherches : :-webkit-direct-focus

dascritch avatar Apr 13 '21 16:04 dascritch

:focus-visible in Safari seems supported since 15.4 .

dascritch avatar Sep 28 '22 14:09 dascritch

BTW, as I don't have a currently updated Apple iDevice to test, I woiuld like to have some help from someone having an iPad or iPhone, and knowing how to remote debug with it.

dascritch avatar Sep 30 '23 17:09 dascritch