Commit fafcfcd
Do not include an
Summary:
Pull Request resolved: #56814
Any time we have a non-nullable accessibilityState prop, it appears to always set `expanded` false, which causes most Android screen readers to append or prepend "collapsed". This fixes the issue.
## Changelog
[Android][Fixed] Screen reader behavior for accessibilityState expanded
Reviewed By: javache
Differential Revision: D105035390
fbshipit-source-id: 4b3b1b2a9b6e661cfde0f39d7de6a7cd7af91bb0expanded property by default in accessibilityState (#56814)1 parent 37be935 commit fafcfcd
1 file changed
Lines changed: 3 additions & 2 deletions
File tree
- packages/react-native/ReactCommon/react/renderer/components/view/platform/android/react/renderer/components/view
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
460 | | - | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
461 | 462 | | |
462 | 463 | | |
463 | 464 | | |
| |||
0 commit comments