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

require textToSpeech action to support accessibility in Flutter Web #1702

Open
TheNoumanDev opened this issue Oct 27, 2024 · 0 comments
Open

Comments

@TheNoumanDev
Copy link
Member

TheNoumanDev commented Oct 27, 2024

The Semantic Tree feature in Flutter does not support screen reader functionality for web accessibility. To achieve this, we typically rely on external software like NVDA (free for Windows) or JAWS (paid for Windows). However, since these solutions are platform-specific, they are not ideal for cross-platform accessibility.

A Practical Alternative Approach: Text-to-Speech Integration
Using the flutter_tts package (flutter_tts) in Flutter, we can implement custom text-to-speech (TTS) announcements for key UI states like onLoad, onFocus, and onTap, providing audio feedback without depending on external screen readers. This approach delivers essential context and interaction details, mimicking basic screen reader feedback.

Implementation Flow:

  1. We can introduce a new action in the Ensemble framework, named something like textToSpeech.
  2. This action can then be added to onLoad, onResume, onTap, and widgets with onFocus. When triggered, it will read aloud the specified message, providing the user with immediate audio feedback."

Project: KPN webui

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