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

feat: added aria-modal as alias for accessibilityViewIsModal(iOS) #34506

Prev Previous commit
Next Next commit
improved the documentation
  • Loading branch information
Daksh Bhardwaj committed Aug 26, 2022
commit 04cf3c954dff138ab1e7fd9f149bd6686b88db7f
4 changes: 3 additions & 1 deletion Libraries/Components/View/ViewPropTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,9 @@ type IOSViewProps = $ReadOnly<{|
accessibilityViewIsModal?: ?boolean,

/**
* The aria-modal attribute indicates whether an element is modal when displayed.
* The aria-modal attribute indicates content contained within a modal with aria-modal="true"
* should be accessible to the user.
* Default is `false`.
*
* @platform ios
*/
Expand Down