Re: [whatwg] input type=barcode?

On Mon, Aug 27, 2012 at 10:56 AM, Ian Hickson <ian@hixie.ch> wrote:
> On Wed, 3 Aug 2011, Tab Atkins Jr. wrote:
>> On Wed, Aug 3, 2011 at 8:50 AM, Randy <randy@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

Received on Monday, 27 August 2012 19:26:16 UTC