Uh oh!
There was an error while loading. Please reload this page.
feat: added aria-modal as alias for accessibilityViewIsModal(iOS) - #34506
feat: added aria-modal as alias for accessibilityViewIsModal(iOS)#34506dakshbhardwaj wants to merge 11 commits into
Conversation
Base commit: 82e9c6a |
cipolleschi
commented
Aug 26, 2022
Hi @dakshbhardwaj, thanks for your PR. Could you please rebse this on |
@cipolleschi I have rebased it with |
Base commit: e8739e9 |
facebook-github-bot
commented
Aug 26, 2022
@necolas has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Uh oh!
There was an error while loading. Please reload this page.
facebook-github-bot
commented
Aug 26, 2022
@necolas has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
…sibility-view-is-modal
facebook-github-bot
commented
Sep 5, 2022
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
…sibility-view-is-modal
facebook-github-bot
commented
Sep 7, 2022
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
facebook-github-bot
commented
Sep 8, 2022
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
| restProps['aria-modal'] !== null | ||
| ? restProps['aria-modal'] | ||
| : restProps.accessibilityViewIsModal, |
There was a problem hiding this comment.
| restProps['aria-modal']!==null | |
| ? restProps['aria-modal'] | |
| : restProps.accessibilityViewIsModal, | |
| restProps['aria-modal']??restProps.accessibilityViewIsModal, |
| this.props['aria-modal'] !== null | ||
| ? this.props['aria-modal'] | ||
| : this.props.accessibilityViewIsModal |
There was a problem hiding this comment.
| this.props['aria-modal']!==null | |
| ? this.props['aria-modal'] | |
| : this.props.accessibilityViewIsModal | |
| this.props['aria-modal']??this.props.accessibilityViewIsModal |
| this.props['aria-modal'] !== null | ||
| ? this.props['aria-modal'] | ||
| : this.props.accessibilityViewIsModal |
There was a problem hiding this comment.
| this.props['aria-modal']!==null | |
| ? this.props['aria-modal'] | |
| : this.props.accessibilityViewIsModal | |
| this.props['aria-modal']??this.props.accessibilityViewIsModal |
| this.props['aria-modal'] !== null | ||
| ? this.props['aria-modal'] | ||
| : this.props.accessibilityViewIsModal, |
There was a problem hiding this comment.
| this.props['aria-modal']!==null | |
| ? this.props['aria-modal'] | |
| : this.props.accessibilityViewIsModal, | |
| this.props['aria-modal']??this.props.accessibilityViewIsModal, |
| this.props['aria-modal'] !== null | ||
| ? this.props['aria-modal'] | ||
| : this.props.accessibilityViewIsModal |
There was a problem hiding this comment.
| this.props['aria-modal']!==null | |
| ? this.props['aria-modal'] | |
| : this.props.accessibilityViewIsModal | |
| this.props['aria-modal']??this.props.accessibilityViewIsModal |
dakshbhardwaj
commented
Sep 9, 2022
@jacdebug i have pushed the changes |
facebook-github-bot
commented
Sep 12, 2022
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
react-native-bot
commented
Sep 12, 2022
This pull request was successfully merged by @dakshbhardwaj in 095f19a. When will my fix make it into a release? | Upcoming Releases |
Summary
This adds the
aria-modalprop to the components where it's used as requested on #34424, mapping web aria-modal to equivalent accessibilityViewIsModalChangelog
[General] [Added] - Add aria-modal prop to basic component
TestPlan
Checked manually we are receiving the values by props.