Skip to content

Commit

Permalink
chore: Remove aria-labelledby from Text props
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldonadel committed Nov 14, 2022
1 parent f657d29 commit 632568c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Libraries/Components/View/ViewPropTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ export type ViewProps = $ReadOnly<{|
'aria-hidden'?: ?boolean,

/**
* 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.
* It represents the nativeID of the associated label text. When the assistive technology focuses on the component with this props, the text is read aloud.
*
* @platform android
*/
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Image/ImageProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export type ImageProps = {|
'aria-label'?: ?Stringish,

/**
* Reperesents the nativeID of the associated label. When the assistive technology focuses on the component with this props.
* Represents the nativeID of the associated label. When the assistive technology focuses on the component with this props.
*
* @platform android
*/
Expand Down
7 changes: 0 additions & 7 deletions Libraries/Text/TextProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,6 @@ export type TextProps = $ReadOnly<{|
'aria-expanded'?: ?boolean,
'aria-selected'?: ?boolean,

/**
* Reperesents the nativeID of the associated label text. When the assistive technology focuses on the component with this props, the text is read aloud.
*
* @platform android
*/
'aria-labelledby'?: ?string,

children?: ?Node,

/**
Expand Down

0 comments on commit 632568c

Please sign in to comment.