- From: Hugo <notifications@github.com>
- Date: Mon, 21 Jan 2019 04:53:09 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 21 January 2019 12:53:30 UTC
I think I understand how @TakayoshiKochi wanted to circumvent this problem: @JoelEinbinder, what if you set `delegatesFocus: true` instead of `tabindex=-1`? That should both make your shadow host div _appear_ tab- and click-focusable; the div will immediately forward focus to its shadow tree's tab order's _first_ element\*. Read his [explanation about delegatesFocus](https://github.com/w3c/webcomponents/issues/126#issuecomment-188160444) for the details. \* The shadow tree's tab order's _last_ element, when Shift+TAB focus the shadow host div. -- 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/774#issuecomment-456064029
Received on Monday, 21 January 2019 12:53:30 UTC