Skip to content

Commit 333ebc4

Browse files
fix: accessibilityElementsHidden & aria-hidden descriptions (#4761)
1 parent 640d6b2 commit 333ebc4

File tree

9 files changed

+28
-28
lines changed

9 files changed

+28
-28
lines changed

docs/accessibility.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ For example, in a window that contains sibling views `A` and `B`, setting `acces
222222

223223
### `accessibilityElementsHidden` <div className="label ios">iOS</div>
224224

225-
A boolean value indicating whether the accessibility elements contained within this accessibility element are hidden.
225+
A boolean value indicating whether the given accessibility element, and any accessibility elements it contains, are hidden.
226226

227-
For example, in a window that contains sibling views `A` and `B`, setting `accessibilityElementsHidden` to `true` on view `B` causes VoiceOver to ignore the elements in view `B`. This is similar to the Android property `importantForAccessibility="no-hide-descendants"`.
227+
For example, in a window that contains sibling views `A` and `B`, setting `accessibilityElementsHidden` to `true` on view `B` causes VoiceOver to ignore the `B` view and any elements it contains. This is similar to the Android property `importantForAccessibility="no-hide-descendants"`.
228228

229229
### `aria-valuemax`
230230

@@ -276,17 +276,17 @@ Indicates whether an expandable element is currently expanded or collapsed.
276276

277277
### `aria-hidden`
278278

279-
Indicates whether the accessibility elements contained within this accessibility element are hidden.
279+
Indicates whether the element is hidden from assistive technologies.
280280

281-
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the elements in view `B`.
281+
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the `B` element and its children.
282282

283283
| Type | Default |
284284
| ------- | ------- |
285285
| boolean | false |
286286

287287
### `aria-label`
288288

289-
Defines a string value that labels an interactive element.
289+
Defines a string value that can be used to name an element.
290290

291291
| Type |
292292
| ------ |

docs/touchablewithoutfeedback.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,9 @@ Indicates whether an expandable element is currently expanded or collapsed.
246246

247247
### `aria-hidden`
248248

249-
Indicates whether the accessibility elements contained within this accessibility element are hidden.
249+
Indicates whether the element is hidden from assistive technologies.
250250

251-
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the elements in the view `B`.
251+
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the `B` element and its children.
252252

253253
| Type | Default |
254254
| ------- | ------- |

docs/view.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ See the [Accessibility guide](accessibility.md#accessibility-actions) for more i
5757

5858
### `accessibilityElementsHidden` <div className="label ios">iOS</div>
5959

60-
A value indicating whether the accessibility elements contained within this accessibility element are hidden. Default is `false`.
60+
A boolean value indicating whether the given accessibility element, and any accessibility elements it contains, are hidden. Default is `false`.
6161

6262
See the [Accessibility guide](accessibility.md#accessibilityelementshidden-ios) for more information.
6363

@@ -254,9 +254,9 @@ Indicates whether an expandable element is currently expanded or collapsed.
254254

255255
### `aria-hidden`
256256

257-
Indicates whether the accessibility elements contained within this accessibility element are hidden.
257+
Indicates whether the element is hidden from assistive technologies.
258258

259-
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the elements in the view `B`.
259+
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the `B` element and its children.
260260

261261
| Type | Default |
262262
| ------- | ------- |

website/versioned_docs/version-0.80/accessibility.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ For example, in a window that contains sibling views `A` and `B`, setting `acces
222222

223223
### `accessibilityElementsHidden` <div className="label ios">iOS</div>
224224

225-
A boolean value indicating whether the accessibility elements contained within this accessibility element are hidden.
225+
A boolean value indicating whether the given accessibility element, and any accessibility elements it contains, are hidden.
226226

227-
For example, in a window that contains sibling views `A` and `B`, setting `accessibilityElementsHidden` to `true` on view `B` causes VoiceOver to ignore the elements in view `B`. This is similar to the Android property `importantForAccessibility="no-hide-descendants"`.
227+
For example, in a window that contains sibling views `A` and `B`, setting `accessibilityElementsHidden` to `true` on view `B` causes VoiceOver to ignore the `B` view and any elements it contains. This is similar to the Android property `importantForAccessibility="no-hide-descendants"`.
228228

229229
### `aria-valuemax`
230230

@@ -276,9 +276,9 @@ Indicates whether an expandable element is currently expanded or collapsed.
276276

277277
### `aria-hidden`
278278

279-
Indicates whether the accessibility elements contained within this accessibility element are hidden.
279+
Indicates whether the element is hidden from assistive technologies.
280280

281-
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the elements in view `B`.
281+
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the `B` element and its children.
282282

283283
| Type | Default |
284284
| ------- | ------- |

website/versioned_docs/version-0.80/touchablewithoutfeedback.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ Indicates whether an expandable element is currently expanded or collapsed.
244244

245245
### `aria-hidden`
246246

247-
Indicates whether the accessibility elements contained within this accessibility element are hidden.
247+
Indicates whether the element is hidden from assistive technologies.
248248

249-
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the elements in the view `B`.
249+
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the `B` element and its children.
250250

251251
| Type | Default |
252252
| ------- | ------- |

website/versioned_docs/version-0.80/view.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ See the [Accessibility guide](accessibility.md#accessibility-actions) for more i
5757

5858
### `accessibilityElementsHidden` <div className="label ios">iOS</div>
5959

60-
A value indicating whether the accessibility elements contained within this accessibility element are hidden. Default is `false`.
60+
A boolean value indicating whether the given accessibility element, and any accessibility elements it contains, are hidden. Default is `false`.
6161

6262
See the [Accessibility guide](accessibility.md#accessibilityelementshidden-ios) for more information.
6363

@@ -254,9 +254,9 @@ Indicates whether an expandable element is currently expanded or collapsed.
254254

255255
### `aria-hidden`
256256

257-
Indicates whether the accessibility elements contained within this accessibility element are hidden.
257+
Indicates whether the element is hidden from assistive technologies.
258258

259-
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the elements in the view `B`.
259+
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the `B` element and its children.
260260

261261
| Type | Default |
262262
| ------- | ------- |

website/versioned_docs/version-0.81/accessibility.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ For example, in a window that contains sibling views `A` and `B`, setting `acces
222222

223223
### `accessibilityElementsHidden` <div className="label ios">iOS</div>
224224

225-
A boolean value indicating whether the accessibility elements contained within this accessibility element are hidden.
225+
A boolean value indicating whether the given accessibility element, and any accessibility elements it contains, are hidden.
226226

227-
For example, in a window that contains sibling views `A` and `B`, setting `accessibilityElementsHidden` to `true` on view `B` causes VoiceOver to ignore the elements in view `B`. This is similar to the Android property `importantForAccessibility="no-hide-descendants"`.
227+
For example, in a window that contains sibling views `A` and `B`, setting `accessibilityElementsHidden` to `true` on view `B` causes VoiceOver to ignore the `B` view and any elements it contains. This is similar to the Android property `importantForAccessibility="no-hide-descendants"`.
228228

229229
### `aria-valuemax`
230230

@@ -276,9 +276,9 @@ Indicates whether an expandable element is currently expanded or collapsed.
276276

277277
### `aria-hidden`
278278

279-
Indicates whether the accessibility elements contained within this accessibility element are hidden.
279+
Indicates whether the element is hidden from assistive technologies.
280280

281-
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the elements in view `B`.
281+
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the `B` element and its children.
282282

283283
| Type | Default |
284284
| ------- | ------- |

website/versioned_docs/version-0.81/touchablewithoutfeedback.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ Indicates whether an expandable element is currently expanded or collapsed.
244244

245245
### `aria-hidden`
246246

247-
Indicates whether the accessibility elements contained within this accessibility element are hidden.
247+
Indicates whether the element is hidden from assistive technologies.
248248

249-
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the elements in the view `B`.
249+
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the `B` element and its children.
250250

251251
| Type | Default |
252252
| ------- | ------- |

website/versioned_docs/version-0.81/view.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ See the [Accessibility guide](accessibility.md#accessibility-actions) for more i
5757

5858
### `accessibilityElementsHidden` <div className="label ios">iOS</div>
5959

60-
A value indicating whether the accessibility elements contained within this accessibility element are hidden. Default is `false`.
60+
A boolean value indicating whether the given accessibility element, and any accessibility elements it contains, are hidden. Default is `false`.
6161

6262
See the [Accessibility guide](accessibility.md#accessibilityelementshidden-ios) for more information.
6363

@@ -254,9 +254,9 @@ Indicates whether an expandable element is currently expanded or collapsed.
254254

255255
### `aria-hidden`
256256

257-
Indicates whether the accessibility elements contained within this accessibility element are hidden.
257+
Indicates whether the element is hidden from assistive technologies.
258258

259-
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the elements in the view `B`.
259+
For example, in a window that contains sibling views `A` and `B`, setting `aria-hidden` to `true` on view `B` causes VoiceOver to ignore the `B` element and its children.
260260

261261
| Type | Default |
262262
| ------- | ------- |

0 commit comments

Comments
 (0)