[whatwg] input type=barcode?
Andy Davies
dajdavies at gmail.com
Mon Aug 27 15:01:42 PDT 2012
On 27 August 2012 20:25, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
> On Mon, Aug 27, 2012 at 10:56 AM, Ian Hickson <ian at hixie.ch> wrote:
>>>
>>> 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.
>
When you say "barcode" I'm presuming you're referring to barcode in
all it's forms e.g. barcode, QR code, datamatrix etc?
Some of these can contain up to 4,000 characters but many imagers have
problems reading them.
BTW there's an interesting introduction to barcodes from Data Logic
here: https://easeofaccess.scanning.datalogic.com/public/marketlit/Send.aspx?file=EB-THEARTOFTHECODE-EN
Cheers
Andy
More information about the whatwg
mailing list