-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
There are two conditions in scope of this issue.
- Speech synthesis is unavailable in the browser or web view that is rendering Dasher.
- Speech synthesis is available but no voices are available.
In current Dasher Version Six these cases are handled by setting an error message in the language selection control.
Instead, that control should be hidden or greyed and an informative message displayed in the UI. Could be done by adding convenience methods to Control in controlpanel.js to hide and grey the control. Hiding could be done by removing the control from its parent.
Jim says: Don't do this by showing an alert.
- Detection of the conditions is near here:
dasher-web/browser/dasher/userinterface.js
Line 277 in debdb60
new Speech().initialise(speech => { - The Control class is near here:
dasher-web/browser/dasher/controlpanel.js
Line 10 in debdb60
class Control {
Metadata
Metadata
Assignees
Labels
No labels