Re: [whatwg/dom] Add delegatesFocus init to attachShadow and flag to ShadowRoot (#768)

@rakina did you see https://github.com/whatwg/dom/pull/768#issuecomment-521131690 ? I'll try to answer as best I can.

> What happens to focus rings?

These seem to be largely user-agent defined, according to the CSSWG. https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo. Any changes would probably be done there, but I'm unsure what changes we would make, given how much leeway that document gives user agents. Perhaps we could add another bullet point to the non-normative suggestions?

@rakina can probably explain what Chrome does, perhaps as a starting point for such a non-normative suggestion.

> WPT test in web-platform-tests/wpt#18035 seems to have bugs.

Looks like this got stalled a bit, I'll poke it.

> What does the first focusable area mean when focusing a shadow host with delegatesFocus set to true? Does it consider any elements that are focusable during sequential navigation? e.g. anchors vs. buttons.

This is the subject of great discussion in https://github.com/whatwg/html/pull/4796#discussion_r313706005 and https://github.com/w3c/webcomponents/issues/830 . Complicated :(. As I stated in the PR it might be best to merge with a big red box pointing to the open issue.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/768#issuecomment-525829162

Received on Wednesday, 28 August 2019 16:50:07 UTC