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

Accessibility seems to be limited on Android #957

Open
seasheepjoe opened this issue Feb 10, 2025 · 0 comments
Open

Accessibility seems to be limited on Android #957

seasheepjoe opened this issue Feb 10, 2025 · 0 comments

Comments

@seasheepjoe
Copy link

Bug report

Summary

Hello 👋 I was looking for a way to trigger talkback on Android when the modal opens. The accessibility parameters of the open function of the Android imperative API doesn't seem to work properly. Passing, aria-modal or aria-label doesn't seem to change anything when activating talkback on an Android device. I'm kinda new to accessibility on mobile apps but I think it should say the label out loud for example. Maybe I am doing something wrong or misunderstanding something ? I looked at the code of the imperative API and it doesn't seem to take the accessibility parameters into account.

Reproducible sample code

Steps to reproduce

  1. Clone this repo
  2. Install dependencies with Bun
  3. Run expo start and run on an Android emulator / device
  4. Make sure to activate talkback in accessibility settings of the device

Describe what you expected to happen:

  1. Talkback saying what I assigned to the aria-label prop

Environment info

Expo SDK 52.
npx react-native info output:

System:
  OS: macOS 15.2
  CPU: (8) arm64 Apple M1
  Memory: 115.47 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 23.6.0
    path: ~/.nvm/versions/node/v23.6.0/bin/node
  Yarn:
    version: 1.22.22
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.9.2
    path: ~/.nvm/versions/node/v23.6.0/bin/npm
  Watchman:
    version: 2024.12.02.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.0
      - iOS 18.0
      - macOS 15.0
      - tvOS 18.0
      - visionOS 2.0
      - watchOS 11.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23726.103.2422.12816248
  Xcode:
    version: 16.0/16A242d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.14
    path: /usr/bin/javac
  Ruby:
    version: 2.7.8
    path: /opt/homebrew/opt/[email protected]/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.1.3
    wanted: latest
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.7
    wanted: 0.76.7
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

datetimepicker version: 8.2.0

Android version : 12

@seasheepjoe seasheepjoe changed the title Accessibility seems to be limited Accessibility seems to be limited on Android Feb 10, 2025
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