html.global_attributes.autocomplete - wrongly indicating full support while values are unsupported
What type of issue is this?
Missing compatibility data
What information was incorrect, unhelpful, or incomplete?
The compatibility table indicates full support for the autocomplete attribute, even if several valid autofill field names (attribute values) are unsupported.
For example, for Firefox the table mentions Full Support, but skimming its source code, it seems that support is limited to the Login Helper, Addresses and Credit Cards.
The following (broad) names seem to be unsupported, which a quick test on https://fill.dev/ seems to confirm:
- nickname
- organization-title
- one-time-code
- address-level2, 3 and 4
- country
- country-name
- cc-csc
- transaction-currency
- transaction-amount
- language
- bday
- sex
- url
- photo
Also, the attribute can accept a token list, allowing for grouping the data into sections. I have no idea about support of this, and it’s hard to test.
What browsers does this problem apply to, if applicable?
No response
What did you expect to see?
A mention that (maybe) sections and not all names are allowed.
Did you test this? If so, how?
I used https://fill.dev/
- I submitted the Identity section
- I went back and reloaded the page
- I focussed the fields to see if any suggestions appear
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#values
https://stackoverflow.com/questions/49197351/birthdate-not-autofilled-in-html-form#
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
MDN metadata
MDN page report details
- Query:
html.global_attributes.autocomplete - Report started: 2022-08-31T12:32:24.418Z