dasher-project / dasher-web

Dasher text entry in HTML, CSS, JavaScript, and SVG
https://dasher-project.github.io/dasher-web/browser/
MIT License
43 stars 8 forks source link

Proper error message if speech is unavailable or no voices are available #101

Open sjjhsjjh opened 3 years ago

sjjhsjjh commented 3 years ago

There are two conditions in scope of this issue.

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.