Skip to content

[Linux] Widgets are not read by Screen Reader when focused #95230

@crentava

Description

@crentava

issue

there was a similar issue #94791 that discusses this but for a screen reader called NVDA. If you use the tab/arrow keys, you are moved to the UI element that your cursor is positioned over, but the screen reader does not seem to recognize that you moved to the element. This makes applications inaccessible because the user interface is not read to a screen reader user.

Steps to Reproduce

  1. Create the default flutter project by typing "flutter create"
  2. Run your project with "flutter run."
  3. Enable the Orca screen reader by typing "orca" in your terminal than, go back to the application window.
  4. Try hitting tab a couple of times, after that, try the same with each of the arrow keys a couple of times.
    Expected results:
    if you hit tab once, or if you tap one of the arrow keys, the button should be announced by orca
    Actual results:
    nothing is read
Code sample

This effects any UI made for the Linux desktop in flutter. You are able to test this by making a new project with "flutter create" like I said above.

Logs
[✓] Flutter (Channel master, 2.6.0-12.0.pre.1023, on Linux Mint 20.2 5.4.0-91-generic, locale en_US.UTF-8)
    • Flutter version 2.6.0-12.0.pre.1023 at /home/sage/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5691671194 (48 minutes ago), 2021-12-13 20:14:06 -0500
    • Engine revision d8c05122d2
    • Dart version 2.16.0 (build 2.16.0-85.0.dev)
    • DevTools version 2.9.1

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] VS Code (version 1.62.3)
    • VS Code at /usr/share/code
    • Flutter extension version 3.29.0

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Linux Mint 20.2 5.4.0-91-generic

! Doctor found issues in 3 categories.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: desktopRunning on desktopc: regressionIt was better in the past than it is nowf: focusFocus traversal, gaining or losing focusfound in release: 2.6Found to occur in 2.6found in release: 2.8Found to occur in 2.8frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-linuxBuilding on or for Linux specificallyr: fixedIssue is closed as already fixed in a newer versionwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions