[whatwg] input type=barcode?
Tab Atkins Jr.
jackalmage at gmail.com
Mon Aug 27 12:25:22 PDT 2012
On Mon, Aug 27, 2012 at 10:56 AM, Ian Hickson <ian at hixie.ch> wrote:
> On Wed, 3 Aug 2011, Tab Atkins Jr. wrote:
>> On Wed, Aug 3, 2011 at 8:50 AM, Randy <randy at prowebdesign.nl> wrote:
>> > On top of that, the vast majority of these readers just translate it
>> > back to text. It's just another input "device", as barcodes are fixed
>> > (and sometimes standardized) fonts.
>>
>> True, so this is perhaps closer to an IME hint, as has been suggested
>> for a couple of other input types.
>
> Do you mean something like inputmode=barcode? Can you elaborate on how
> that would work? It's an intriguing idea, but I'm not sure I follow quite
> how to specify it.
Yes, something like that. In terms of the table in the spec:
Keyword: barcode
State: Barcode
Fallback State: Default
Description: Text input in the user's locale, with keys to activate
the system's built-in barcode reader to retrieve a value instead.
~TJ
More information about the whatwg
mailing list