Broken DOM autocomplete suggestions

58 views
Skip to first unread message

David Wakelin

unread,
Jul 26, 2018, 4:15:06 AM7/26/18
to Chrome DevTools
I have been liking these new DOM suggestions that DevTolols is spitting out in the verbose level, however, it doesn't seem to understand multiple entries in an autocomplete property:

09:02:26.588 [DOM] Input elements should have autocomplete attributes (suggested: autocomplete='tel', confirm at https://goo.gl/6KgkJg)
<input type=​"tel" name=​"billing-phone" id=​"billing-phone" aria-label=​"Phone number" autocomplete=​"billing tel tel-national work" required>​

09:02:26.588 [DOM] Input elements should have autocomplete attributes (suggested: autocomplete='tel', confirm at https://goo.gl/6KgkJg)
<input type=​"tel" name=​"billing-phone2" id=​"billing-phone2" autocomplete=​"billing tel tel-national mobile" placeholder=​"Your mobile number..." aria-label=​"Your mobile number...">​

09:02:26.589 [DOM] Input elements should have autocomplete attributes (suggested: autocomplete='tel', confirm at https://goo.gl/6KgkJg)
<input class=​"address-phone" type=​"tel" name=​"shipping-phone" id=​"shipping-phone" aria-label=​"Phone number" autocomplete=​"shipping tel tel-national" required>​

09:02:26.589 [DOM] Input elements should have autocomplete attributes (suggested: autocomplete='tel-national', confirm at https://goo.gl/6KgkJg)
<input class=​"address-phone" type=​"tel" name=​"shipping-phone" id=​"shipping-phone" aria-label=​"Phone number" autocomplete=​"shipping tel tel-national" required>​


As you can see, it's suggesting I use an attribute which is already present.
In the case of the last element, it has given me 2 suggestions, both of which are present.
Reply all
Reply to author
Forward
0 new messages