Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit a150cc1

Browse files
authored
Fix minor typos in accessibility action docs (#7882)
Fixes a minor pluralisation error in docs for didGainAccessibilityFocus, didLoseAccessibilityFocus.
1 parent bf16544 commit a150cc1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/stub_ui/semantics.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class SemanticsAction {
124124
/// Paste the current content of the clipboard.
125125
static const SemanticsAction paste = const SemanticsAction._(_kPasteIndex);
126126

127-
/// Indicates that the nodes has gained accessibility focus.
127+
/// Indicates that the node has gained accessibility focus.
128128
///
129129
/// This handler is invoked when the node annotated with this handler gains
130130
/// the accessibility focus. The accessibility focus is the
@@ -137,7 +137,7 @@ class SemanticsAction {
137137
/// Accessibility focus and input focus can be held by two different nodes!
138138
static const SemanticsAction didGainAccessibilityFocus = const SemanticsAction._(_kDidGainAccessibilityFocusIndex);
139139

140-
/// Indicates that the nodes has lost accessibility focus.
140+
/// Indicates that the node has lost accessibility focus.
141141
///
142142
/// This handler is invoked when the node annotated with this handler
143143
/// loses the accessibility focus. The accessibility focus is

lib/ui/semantics.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class SemanticsAction {
124124
/// Paste the current content of the clipboard.
125125
static const SemanticsAction paste = const SemanticsAction._(_kPasteIndex);
126126

127-
/// Indicates that the nodes has gained accessibility focus.
127+
/// Indicates that the node has gained accessibility focus.
128128
///
129129
/// This handler is invoked when the node annotated with this handler gains
130130
/// the accessibility focus. The accessibility focus is the
@@ -137,7 +137,7 @@ class SemanticsAction {
137137
/// Accessibility focus and input focus can be held by two different nodes!
138138
static const SemanticsAction didGainAccessibilityFocus = const SemanticsAction._(_kDidGainAccessibilityFocusIndex);
139139

140-
/// Indicates that the nodes has lost accessibility focus.
140+
/// Indicates that the node has lost accessibility focus.
141141
///
142142
/// This handler is invoked when the node annotated with this handler
143143
/// loses the accessibility focus. The accessibility focus is

0 commit comments

Comments
 (0)