email-bugs icon indicating copy to clipboard operation
email-bugs copied to clipboard

[Outlook.com | Yahoo] prefix id/name attributes on <input>, but does not prefix for attribute on <label>

Open husseinalhammad opened this issue 5 years ago • 1 comments

Outlook.com and Yahoo prefix the values of the id and/or name attributes on <input> tags, which is reasonable. However, they do not prefix the value of the for attribute on <label> tags.

So the following:

<label for="foo">Label</label>
<input type="text" name="foo" id="foo">

becomes:

<!-- Outlook.com -->
<label for="foo">Label</label>
<input type="text" name="x_foo" id="x_foo">

<!-- Yahoo -->
<label for="foo">Label</label>
<input type="text" name="foo" id="yiv8694647735foo">

husseinalhammad avatar Feb 21 '21 11:02 husseinalhammad

I knew about this in Yahoo but not in Outlook.com! I'm wondering if this is related to a recent update.

hteumeuleu avatar Feb 22 '21 09:02 hteumeuleu