You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Libraries/Components/View/ViewPropTypes.js
+7
Original file line number
Diff line number
Diff line change
@@ -542,6 +542,13 @@ export type ViewProps = $ReadOnly<{|
542
542
*/
543
543
'aria-hidden'?: ?boolean,
544
544
545
+
/**
546
+
* It reperesents the nativeID of the associated label text. When the assistive technology focuses on the component with this props, the text is read aloud.
547
+
*
548
+
* @platform android
549
+
*/
550
+
'aria-labelledby'?: ?string,
551
+
545
552
/**
546
553
* Views that are only used to layout their children or otherwise don't draw
547
554
* anything may be automatically removed from the native hierarchy as an
Copy file name to clipboardExpand all lines: Libraries/Text/TextProps.js
+8
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,14 @@ export type TextProps = $ReadOnly<{|
89
89
'aria-disabled'?: ?boolean,
90
90
'aria-expanded'?: ?boolean,
91
91
'aria-selected'?: ?boolean,
92
+
93
+
/**
94
+
* Reperesents the nativeID of the associated label text. When the assistive technology focuses on the component with this props, the text is read aloud.
0 commit comments