Steps to reproduce
In a form, add an input and a label.
Associate them by giving an “id” to the input, and a “for” attribute to the label, that contain the same string of text.
Add an <img> tag in the label.
Try clicking on the label where the picture is.
You can see an example here : http://codepen.io/mh-nichts/full/xaiyu
In a form, when you click on a label, the expected behaviour is that the associated input gets focused on (if its type is text) or checked/unchecked (if its type is checkbox or radio).
So when you have a picture included in the label, clicking on it should also trigger the focus/check of the associated input.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “IPBS P.”
Changed Status to “Site Outreach”
Changed Assigned To from “IPBS P.” to “Rossen A.”
Not working on Internet Explorer 11 - Windows 10.
Update version 11.0.38