Getting below error on Magento 2 contact page in console.
[DOM] Found 2 elements with non-unique id #email: (More info: https://goo.gl/9p2vKq)
<input name=​"email" id=​"email" title=​"Email" value class=​"input-text" type=​"email" data-validate=​"{required:​true, 'validate-email':​true}​" aria-required=​"true">​
<input name=​"username" id=​"email" type=​"email" class=​"input-text" data-bind=​"attr:​ {autocomplete:​ autocomplete}​" data-validate=​"{required:​true, 'validate-email':​true}​" autocomplete=​"off">​

Hi,
PR is done for 2.3-develop
2.2-develop is already done in commit : https://github.com/magento/magento2/commit/781ec89aaca6e6ee2853e98065416614f2edffce
Thanks
Hi @shivkumarsingh7. Thank you for your report.
The issue has been fixed in magento/magento2#14867 by @julienanquetil in 2.3-develop branch
Related commit(s):
The fix will be available with the upcoming 2.3.0 release.
@julienanquetil thank you :)
Closing this now, as it seems to be fixed in 2.3-develop and 2.2.4
this is not fixed in 2.2.5 fyi -sorry
@ishakhsuvarov This is still a bug in magento 2.2.5 .
@artskeem, @milossh: it is fixed in 2.2.4 and 2.2.5 on the contact page, I've just verified this on a vanilla installation.
Make sure you have no customisations done where it still uses a id="email" somewhere. Maybe you overwrite the authentication-popup.html file in your custom theme? Or maybe some 3rd party module inserts that somewhere?
@hostep I have Porto theme, with latest patches.
Most helpful comment
this is not fixed in 2.2.5 fyi -sorry