Wikidata:Property proposal/HTML autocomplete attribute

From Wikidata
Jump to navigation Jump to search

appropriate HTML autocomplete attribute

[edit]

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

[edit]

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

[edit]
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]