Skip to content

Commit 1dd74db

Browse files
gabrieldonadelfacebook-github-bot
authored andcommitted
fix: Accessibility example typos (facebook#34559)
Summary: While working on facebook#34552 I noticed that a couple of words inside the Accessibility example files were misspelled. ## Changelog [Internal] [Fixed] - Fix accessibility example typos Pull Request resolved: facebook#34559 Test Plan: Shouldn't require much testing as this is just fixing some typos inside Accessibility example Reviewed By: cipolleschi Differential Revision: D39252742 Pulled By: jacdebug fbshipit-source-id: 0d3860f438c55d58d0816b9ae65e52925864c8d3
1 parent 12e5842 commit 1dd74db

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

packages/rn-tester/js/examples/Accessibility/AccessibilityAndroidExample.android.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class AccessibilityAndroidExample extends React.Component<
153153
<Text style={styles.paragraph}>
154154
In the following example, the words "test", "inline links", "another
155155
link", and "link that spans multiple lines because the text is so
156-
long", should each be independantly focusable elements, announced as
156+
long", should each be independently focusable elements, announced as
157157
their content followed by ", Link".
158158
</Text>
159159
<Text style={styles.paragraph}>
@@ -162,7 +162,7 @@ class AccessibilityAndroidExample extends React.Component<
162162
</Text>
163163
<Text style={styles.paragraph}>
164164
Focusing on the paragraph itself should also announce that there are
165-
"links avaialable", and opening Talkback's links menu should show
165+
"links available", and opening Talkback's links menu should show
166166
these same links.
167167
</Text>
168168
<Text style={styles.paragraph}>

packages/rn-tester/js/examples/Accessibility/AccessibilityExample.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class AccessibilityExample extends React.Component<{}> {
110110
</View>
111111
</RNTesterBlock>
112112

113-
<RNTesterBlock title="Accessible view with TextViews wihout label">
113+
<RNTesterBlock title="Accessible view with TextViews without label">
114114
<View accessible={true}>
115115
<Text style={{color: 'green'}}>This is text one.</Text>
116116
<Text style={{color: 'blue'}}>This is text two.</Text>
@@ -754,15 +754,15 @@ class AccessibilityActionsExample extends React.Component<{}> {
754754
onAccessibilityAction={event => {
755755
switch (event.nativeEvent.actionName) {
756756
case 'activate':
757-
Alert.alert('Alert', 'Activate accessiblity action');
757+
Alert.alert('Alert', 'Activate accessibility action');
758758
break;
759759
case 'copy':
760760
Alert.alert('Alert', 'copy action success');
761761
break;
762762
}
763763
}}
764764
onPress={() => Alert.alert('Button has been pressed!')}
765-
title="Button with accessiblity action"
765+
title="Button with accessibility action"
766766
/>
767767
</RNTesterBlock>
768768

@@ -776,7 +776,7 @@ class AccessibilityActionsExample extends React.Component<{}> {
776776
onAccessibilityAction={event => {
777777
switch (event.nativeEvent.actionName) {
778778
case 'activate':
779-
Alert.alert('Alert', 'Activate accessiblity action');
779+
Alert.alert('Alert', 'Activate accessibility action');
780780
break;
781781
case 'copy':
782782
Alert.alert('Alert', 'copy action success');
@@ -800,7 +800,7 @@ function SliderAccessibilityExample(): React.Node {
800800
<Slider value={25} maximumValue={100} minimumValue={0} disabled />
801801
</RNTesterBlock>
802802
<RNTesterBlock
803-
title="Disabled Slider via accessibiltyState"
803+
title="Disabled Slider via accessibilityState"
804804
description="Verify with TalkBack/VoiceOver announces Slider as disabled">
805805
<Slider
806806
value={75}

0 commit comments

Comments
 (0)