Web API Issue 11

F2F Agenda issues last issue next issue

Raised by: Satish in mail.

How does binding to button work

Discussion: Satish: "When the recoable element is a button then if the button is not disabled, then the result of a speech recognition is to activate the button." "For button controls (submit, image, reset, button) the act of recognition just activates the input." "For type checkbox, the input should be set to a checkedness of true. For type radiobutton, the input should be set to a checkedness of true, and all other inputs in the radio button group must be set to a checkedness of false." Does this mean any match at all would activate the button/checkbox or speaking the text displayed on the button would activate the button? If it is the former, that doesn't seem right and we may as well exclude button controls from the list of recoable elements.

Michael: This is specified at Reco Bindings. Currently it would be the former, but note that this is in the section of input so it is really targeted at a specific radio button or specific button. The grammars in use could also be tightly bound to reflect the value (by default at least), so a match might really mean what was said. I think it makes more sense to tie the grammars to the value of the button/checkbox and then say any match works (which then leaves flexibility for other grammar matches [I.e., something like "the first one" might well be in someone's custom grammar even though that isn't the value on the radio button/checkbox/button].

Resolution: Add warning that there is more work to be done here, especially with the buttons and checkboxes.

next