Skip to content

fix: accessibilityElementsHidden & aria-hidden descriptions#4761

Merged
Simek merged 10 commits into
react:mainfrom
mdjastrzebski:fix/aria-hidden-description
Sep 2, 2025
Merged

fix: accessibilityElementsHidden & aria-hidden descriptions#4761
Simek merged 10 commits into
react:mainfrom
mdjastrzebski:fix/aria-hidden-description

Conversation

@mdjastrzebski

Copy link
Copy Markdown
Contributor

This PR removes the lack of clarity regarding accessibilityElementsHidden and aria-hidden. The current documentation is unclear whether the prop affects just the children of the element or also the element itself.

The official Apple docs do not help as it does not have description for this prop.

In order to resolve this uncertainty I've created a simple iOS app testing this prop. This clearly shows that the accessibilityElementsHidden prop also affects the elements it's applied to.

demo.mp4

@meta-cla meta-cla Bot added the CLA Signed label Sep 2, 2025
@mdjastrzebski mdjastrzebski changed the title fix: accessibilityElementsHidden & aria-hidden descriptions fix: accessibilityElementsHidden & aria-hidden descriptions Sep 2, 2025
@netlify

netlify Bot commented Sep 2, 2025

Copy link
Copy Markdown

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 8b050b4
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/68b6f3a29ef25f00070d5746
😎 Deploy Preview https://deploy-preview-4761--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.

@Simek Simek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @mdjastrzebski, thanks for the updates and testing the exact prop behaviour! 👍

Just a few typos to fix below, before we can ship it.

Comment thread docs/accessibility.md Outdated
Comment thread docs/touchablewithoutfeedback.md Outdated
Comment thread docs/view.md Outdated
Comment thread website/versioned_docs/version-0.80/accessibility.md Outdated
Comment thread website/versioned_docs/version-0.80/touchablewithoutfeedback.md Outdated
Comment thread website/versioned_docs/version-0.80/view.md Outdated
Comment thread website/versioned_docs/version-0.81/accessibility.md Outdated
Comment thread website/versioned_docs/version-0.81/touchablewithoutfeedback.md Outdated
Comment thread website/versioned_docs/version-0.81/view.md Outdated
mdjastrzebski and others added 9 commits September 2, 2025 15:37
Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
@mdjastrzebski mdjastrzebski requested a review from Simek September 2, 2025 13:41
@Simek Simek merged commit 333ebc4 into react:main Sep 2, 2025
4 checks passed
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.

2 participants