- From: Alice <notifications@github.com>
- Date: Mon, 29 Aug 2016 11:28:26 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Message-ID: <w3c/webcomponents/issues/554/243211172@github.com>
Ah right, thanks for clarifying @TakayoshiKochi! I agree, `<gh-navbar>` shouldn't need `delegatesFocus = true` since it should never itself be focusable. So I guess I don't completely understand what should happen if a *non-focusable* element (like in @ebidel's example) has a shadow root attached with `delegatesFocus = true`. It seems like, as specced, `delegatesFocus = true` implicitly makes the host *quasi-focusable* - i.e., matches `:focus`, has special focusing behaviour when one of its descendants is clicked. I think this is the piece that I hadn't completely understood - my expectation was that `delegatesFocus` would have no effect unless the host element was **explicitly** focusable. I think with the understanding that `delegatesFocus = true` has this special "quasi-focusable" implication, the current behaviour does make sense. However, if this is surprising to others, might we want to revisit that implication? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/554#issuecomment-243211172
Received on Monday, 29 August 2016 18:29:17 UTC