W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2010

[whatwg] Speech input element

From: Satish Sampath <satish@google.com>
Date: Tue, 18 May 2010 10:27:29 +0100
Message-ID: <AANLkTimxhVZedBmf4d50vI6ZHS2RvpMQ3SspqQGE_ecx@mail.gmail.com>
>
> Well, the problem with alert is that the assumption (which may or may not
> always hold) is that when alert() is opened, web page shouldn't run
> any scripts. So should <input type="speech"> fire some events when the
> recognition is canceled (if alert cancels recognition), and if yes,
> when? Or if recognition is not canceled, and something is recognized
> (so "input" event should be dispatched), when should the event actually
> fire? The problem is pretty much the same with synchronous XMLHttpRequest.
>

In my opinion, once the speech input element has started recording any event
which takes the user's focus away from actually speaking should ideally stop
the speech recognition. This would include switching to a new window, a new
tab or modal/alert dialogs, submitting a form or navigating to a new page in
the same tab/window.

--
Cheers
Satish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100518/d81caf0b/attachment.htm>
Received on Tuesday, 18 May 2010 02:27:29 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:23 UTC