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

Screenreader-only text #1181

Closed
unindented opened this issue Nov 19, 2018 · 2 comments
Closed

Screenreader-only text #1181

unindented opened this issue Nov 19, 2018 · 2 comments
Labels
enhancement Requires extension or creation of new React Native API

Comments

@unindented
Copy link

unindented commented Nov 19, 2018

Is your feature request related to a problem? Please describe.
I want my app to have a nice table of contents for screenreaders, but not all headings should be visible to sighted users (e.g. navigation sections).

Describe a solution you'd like
People use variations of this technique on web: https://github.com/twbs/bootstrap/blob/38ca58bf3c886d99e75e307dd6f631a2c9e2c7a2/scss/mixins/_screen-reader.scss#L6-L15

Describe alternatives you've considered
I'd like to hear from @necolas what's the most RNW way of doing this.

@necolas
Copy link
Owner

necolas commented Dec 20, 2018

The way to do this is the "web way" at the moment. I've mentioned this use case in a RN accessibility proposal to find out how native does the equivalent react-native-community/discussions-and-proposals#56

@necolas necolas added enhancement Requires extension or creation of new React Native API question labels Mar 12, 2019
@necolas
Copy link
Owner

necolas commented Aug 26, 2020

This is something that should be handled in user-space for now. I won't be adding an API to this library as it won't have any compatibility with React Native

@necolas necolas closed this as completed Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requires extension or creation of new React Native API
Projects
None yet
Development

No branches or pull requests

2 participants