- From: Conrad Irwin <notifications@github.com>
- Date: Thu, 04 May 2017 23:50:20 -0700
- To: w3c/uievents <uievents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 5 May 2017 06:51:16 UTC
I think it also focuses things with tabindex, and presumably any other "focusable areas?" https://www.w3.org/TR/html51/editing.html#focusable
I ran into this because I was trying to find reference to this behaviour:
```
<div tabindex="-1" onfocus="console.log('div focus')">
<span onclick="document.querySelector('input').focus()">click me</span>
<input onfocus="console.log('input focus')">
</div>
```
Clicking on the span generates:
```
div focus
input focus
```
--
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/uievents/issues/81#issuecomment-299394979
Received on Friday, 5 May 2017 06:51:16 UTC