Skip to content

[Accessibility] Talkback doesn't announce anything about Slider when focused  #79528

@adil-s

Description

@adil-s

the material slider has issue on android with talkback. when a user focuses on using talk back swipes, the talk back doesn't announce the value of slider. the talkback doesn't recognise the slider and I only hear the sound feetback that there is something here, but no spoken feetback.
when I use explore by touch to find the slider, talkback behave as expected.

Steps to Reproduce

  1. clone the slider interactive app from the link: https://api.flutter.dev/flutter/material/Slider-class.html
  2. enable the talkback on actual android device
  3. run the app and try exploring the app using talk back gestures (swipe left and right)
  4. when talkback focuses on slider, it doesn't announce anything.
  5. swipe right and then left in continuous motion to increase the slider value.
  6. the slider value increases and talkback gives the proper spoken feetback.

Expected results:

I expect talkback to announce the slider whenever it gains the focus on the slider.
Actual results:
currently, talkbacck doesn't announce anything when slider is focused.
flutter run -v output:

Microsoft Windows [Version 10.0.19042.868]
(c) 2020 Microsoft Corporation. All rights reserved.

flutter doctor -v
[√] Flutter (Channel stable, 2.0.3, on Microsoft Windows [Version 10.0.19042.868], locale en-US)
    • Flutter version 2.0.3 at C:\tools\flutter
    • Framework revision 4d7946a68d (13 days ago), 2021-03-18 17:24:33 -0700
    • Engine revision 3459eb2436
    • Dart version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Android\android-sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = C:\Android\android-sdk
    • Java binary at: C:\Program Files\Java\jdk1.8.0_211\bin\java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
    • All Android licenses accepted.

[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[!] 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/windows#android-setup for detailed instructions).

[√] VS Code, 64-bit edition (version 1.54.3)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.20.0

[√] Connected device (2 available)
    • Mi A2 (mobile) • 4add0e2 • android-arm64  • Android 11 (API 30)
    • Edge (web)     • edge    • web-javascript • Microsoft Edge 89.0.774.63

! Doctor found issues in 2 categories.

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressiona: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: soldierdependency: androidAndroid team may need to help use: device-specificOnly manifests on certain devicesf: material designflutter/packages/flutter/material repository.found in release: 2.0Found to occur in 2.0found in release: 2.2Found to occur in 2.2found in release: 2.3Found to occur in 2.3found in release: 2.4Found to occur in 2.4frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions