autofillforms-e10s
autofillforms-e10s copied to clipboard
Match on labels as well as element names
The code for a form often looks like:
<label for="form_field_1">Enter your name</label>
<input id="form_field_1" name="something_unhelpful" type="text">
Could you make the regexp match on the text inside label
? The for
attribute makes it obvious which form field it's referring to. The name
of the input field is often something not particularly useful for matching.