Wikidata:Property proposal/HTML autocomplete attribute

Revision as of 23:07, 22 January 2023 by Laftp0 (talk | contribs) (Undid revision 1604712296 by 187.245.64.204 (talk))

appropriate HTML autocomplete attribute

Originally proposed at Wikidata:Property proposal/Generic

Descriptionthe appropriate value of the autocomplete attribute in HTML
Representsautocomplete attribute (Q87200292)
Data typeString
Domainproperty
Allowed valuesspecification of possible values
Example 1given name (P735) → given-name
Example 2family name (P734) → family-name
Example 3languages spoken, written or signed (P1412) → language
Example 4sex or gender (P21) → sex
Sourceofficial specification
Expected completenesseventually complete (Q21873974)
Formatter URLhttps://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete-$1

Motivation

I am working on an html based application where a user can enter wikidata properties into text fields. to enable a web browser to make smarter autocomplete suggestions, it is possible to add a fitting autocomplete attribute. this might also be used the other way around: in theory a browser developer might choose to autocomplete any text field with the most common values for that property in wikidata. Shisma (talk) 19:59, 6 March 2020 (UTC)reply

Discussion

ArthurPSmith that's a long story. but in short: it is the HTML standard. I added a working formatter url. 🙂 Shisma (talk) 19:34, 9 March 2020 (UTC)reply