Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
husseinalhammad opened this issue Feb 21, 2021 · 1 comment
Labels
Outlook Windows, macOS, iOS, Android and Outlook.com Yahoo Webmail, iOS and Android apps

Comments

@husseinalhammad
Copy link

husseinalhammad commented Feb 21, 2021

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">
@hteumeuleu hteumeuleu added Outlook Windows, macOS, iOS, Android and Outlook.com Yahoo Webmail, iOS and Android apps labels Feb 22, 2021
@hteumeuleu
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Outlook Windows, macOS, iOS, Android and Outlook.com Yahoo Webmail, iOS and Android apps
Projects
None yet
Development

No branches or pull requests

2 participants