The polyfill in this gist works on web components with delegated focus. There's a slight bug on form-associated web components where the events are fired out of order. You can check it out here: https://nickgard.github.io/click-focus-testing/#web_component_form_associated_delegates_focus