Skip to content

Restore a11y functionality on Android (fix for issue 792)#963

Open
rneiss wants to merge 2 commits intohenninghall:masterfrom
rneiss:master
Open

Restore a11y functionality on Android (fix for issue 792)#963
rneiss wants to merge 2 commits intohenninghall:masterfrom
rneiss:master

Conversation

@rneiss
Copy link
Copy Markdown

@rneiss rneiss commented Mar 16, 2026

Summary
Fixes Android accessibility issue where the NumberPicker is not exposed to TalkBack and Appium (Issue #792).

Problem
In version 5.0.0, the setVisibleToUser() calls in the accessibility code were commented out, causing the NumberPicker components to be invisible to accessibility services like TalkBack and automated testing tools like Appium. This made the picker unusable for non-sighted users and prevented native test automation.

Solution
Added custom isPickerVisibleToUser() helper methods that safely check visibility in React Native context by verifying that the View and parents are shown, Positive dimensions exist, and that the View is attached to visiblewindow, and restored setVisibleToUser() calls.

@ClawGibson
Copy link
Copy Markdown

Please merge this!

…mberPicker.java

Co-authored-by: Oğuzhan Selim Temiz <oguzhanselimtemiz@gmail.com>
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

Successfully merging this pull request may close these issues.

3 participants