Label elements don't always give focus to their related inputs, if the label contains an image and some text is highlighted elsewhere on page
Reported by
use...@gmail.com,
May 24 2016
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 Example URL: http://jsbin.com/fokusexuya/1/edit?html,output Steps to reproduce the problem: 1. highlight some text on the page 2. click <label for=foo><img></label> 3. #foo doesn't get focus correctly What is the expected behavior? the input that the label is for should get focus What went wrong? Sometimes the input gets focus just fine, other times not. Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? N/A Does this work in other browsers? Yes Chrome version: 50.0.2661.102 Channel: stable OS Version: OS X 10.11.4 Flash Version: Shockwave Flash 21.0 r0
,
May 24 2016
Can reproduce on Canary 53.0.2747.0 (64-bit)
,
May 24 2016
Confirmed on m50 and m53 on Mac. The first click on the image after highlighting text shows the incorrect behavior.
,
Jun 9 2016
Confirmed on Linux, this isn't Mac specific. Also, this looks like a problem with forms.
,
Jun 9 2016
,
Jun 12 2017
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 13 2017
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by mikehall...@gmail.com
, May 24 2016