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

Android: Progress Bar values not announced #30845

Closed
amarlette opened this issue Feb 3, 2021 · 4 comments
Closed

Android: Progress Bar values not announced #30845

amarlette opened this issue Feb 3, 2021 · 4 comments
Labels

Comments

@amarlette
Copy link

amarlette commented Feb 3, 2021

Description

In the component, when using a screen reader it does not announce current value on focus. Without this, the progress bars are not usable.

React Native version:

v0.63

Expected Behavior

The current value of the progress bar should be announced on focus.

While not standard Android system behavior, progress bars could be improved by adding an option to automatically announce their progress as it increments.

Snack

Android Details

Accessibility for Progress bars on Android rely heavily on the AccessibilityNodeInfo's RangeInfo class. This class defines a min, max, and current value, and should be attached to the AccessibilityNodeInfo for any progress bar component.

Currently, this all works if using the accessibilityValue prop, but the built in class does not do this automatically.

@blavalla
Copy link
Contributor

@kacieb , @nadiia , @lunaleaps , this issue was with the component, which is not included in the docs on reactnative.dev, so my guess is it's either deprecated, or not an officially supported component. That being said, it is included in the repo, so we should probably fix it, or delete it since it doesn't really work.

@lunaleaps
Copy link
Contributor

Yea it looks deprecated: https://reactnative.dev/docs/progressbarandroid. This is not worth looking into since we're recommending users to use a community package instead -- should we close the issue @amarlette?

@Simek
Copy link
Collaborator

Simek commented Feb 16, 2021

@lunaleaps ProgressBarAndroid component is deprecated since 0.63 (f295d7f) release.

You might want to report the issue in the extracted package from core (https://github.com/react-native-progress-view/progress-bar-android). It was a part of RNC, but lately the policy have changed and many packages have been moved to their own organizations.

This is also the reason why we lately switch from recommending single package to RN Directory links:

@fabOnReact
Copy link
Contributor

fabOnReact commented Feb 9, 2022

@blavalla @cortinico should be closed in favor of react-native-progress-view/progress-bar-android#61

@facebook facebook locked as resolved and limited conversation to collaborators Feb 10, 2023
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Feb 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

7 participants