Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sjjhsjjh opened this issue Jul 17, 2021 · 0 comments
Open

Comments

@sjjhsjjh
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant