Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Accessibility example typos #34559

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class AccessibilityAndroidExample extends React.Component<
<Text style={styles.paragraph}>
In the following example, the words "test", "inline links", "another
link", and "link that spans multiple lines because the text is so
long", should each be independantly focusable elements, announced as
long", should each be independently focusable elements, announced as
their content followed by ", Link".
</Text>
<Text style={styles.paragraph}>
Expand All @@ -162,7 +162,7 @@ class AccessibilityAndroidExample extends React.Component<
</Text>
<Text style={styles.paragraph}>
Focusing on the paragraph itself should also announce that there are
"links avaialable", and opening Talkback's links menu should show
"links available", and opening Talkback's links menu should show
these same links.
</Text>
<Text style={styles.paragraph}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class AccessibilityExample extends React.Component<{}> {
</View>
</RNTesterBlock>

<RNTesterBlock title="Accessible view with TextViews wihout label">
<RNTesterBlock title="Accessible view with TextViews without label">
<View accessible={true}>
<Text style={{color: 'green'}}>This is text one.</Text>
<Text style={{color: 'blue'}}>This is text two.</Text>
Expand Down Expand Up @@ -754,15 +754,15 @@ class AccessibilityActionsExample extends React.Component<{}> {
onAccessibilityAction={event => {
switch (event.nativeEvent.actionName) {
case 'activate':
Alert.alert('Alert', 'Activate accessiblity action');
Alert.alert('Alert', 'Activate accessibility action');
break;
case 'copy':
Alert.alert('Alert', 'copy action success');
break;
}
}}
onPress={() => Alert.alert('Button has been pressed!')}
title="Button with accessiblity action"
title="Button with accessibility action"
/>
</RNTesterBlock>

Expand All @@ -776,7 +776,7 @@ class AccessibilityActionsExample extends React.Component<{}> {
onAccessibilityAction={event => {
switch (event.nativeEvent.actionName) {
case 'activate':
Alert.alert('Alert', 'Activate accessiblity action');
Alert.alert('Alert', 'Activate accessibility action');
break;
case 'copy':
Alert.alert('Alert', 'copy action success');
Expand All @@ -800,7 +800,7 @@ function SliderAccessibilityExample(): React.Node {
<Slider value={25} maximumValue={100} minimumValue={0} disabled />
</RNTesterBlock>
<RNTesterBlock
title="Disabled Slider via accessibiltyState"
title="Disabled Slider via accessibilityState"
description="Verify with TalkBack/VoiceOver announces Slider as disabled">
<Slider
value={75}
Expand Down