Re: [w3c/uievents] Explain that mousedown focuses form controls (#81)

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