Skip to content

Reword accessible prop in accessiblity guide#4656

Merged
joevilches merged 1 commit into
react:mainfrom
joevilches:accessible-prop-rewrite
Jun 18, 2025
Merged

Reword accessible prop in accessiblity guide#4656
joevilches merged 1 commit into
react:mainfrom
joevilches:accessible-prop-rewrite

Conversation

@joevilches

Copy link
Copy Markdown
Contributor

The current description of the accessible prop is misleading and confusing. The current wording implies that this prop mainly "groups its children into a single selectable component", which is a round-about way of saying it can receive focus, I think? I am not really sure what that means.

Regardless, the main point is not hammered home: This prop allows the View to be discoverable by screen readers (and other things).

The example is also a bit misleading, since Text is focusable by default on iOS. It is not wrong, but the example is better for a guide on label co-opting, not basic use of accessible.

Curious how, if at all, I should change this for previous versions.

NOTE: This is the same as #4653, with the requested changes. I had mucked up my fork and wanted to fix it.

@netlify

netlify Bot commented Jun 17, 2025

Copy link
Copy Markdown

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 8ecd9fd
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/6851e1c73c19b5000854a199
😎 Deploy Preview https://deploy-preview-4656--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@joevilches joevilches merged commit 469d3d2 into react:main Jun 18, 2025
4 checks passed
@joevilches joevilches deleted the accessible-prop-rewrite branch June 18, 2025 13:49
coado pushed a commit to coado/react-native-website that referenced this pull request Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants