Skip to content

Commit

Permalink
chore: Add types table to aria-live and update aria-modal
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldonadel committed Nov 7, 2022
1 parent 9f2db33 commit 78b428b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,12 @@ Indicates that an element will be updated, and describes the types of updates th
- **polite** Accessibility services should announce changes to this view.
- **assertive** Accessibility services should interrupt ongoing speech to immediately announce changes to this view.

| Type | Default |
| ---------------------------------------- | ------- |
| enum(`'assertive'`, `'off'`, `'polite'`) | `'off'` |

---

### `aria-modal` <div class="label ios">iOS</div>

Boolean value indicating whether VoiceOver should ignore the elements within views that are siblings of the receiver.
Expand Down
6 changes: 5 additions & 1 deletion docs/touchablewithoutfeedback.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,15 @@ Indicates that an element will be updated, and describes the types of updates th
- **polite** Accessibility services should announce changes to this view.
- **assertive** Accessibility services should interrupt ongoing speech to immediately announce changes to this view.

| Type | Default |
| ---------------------------------------- | ------- |
| enum(`'assertive'`, `'off'`, `'polite'`) | `'off'` |

---

### `aria-modal` <div class="label ios">iOS</div>

Boolean value indicating whether VoiceOver should ignore the elements within views that are siblings of the receiver. Has precedence over the `accessibilityViewIsModal` prop.
Boolean value indicating whether VoiceOver should ignore the elements within views that are siblings of the receiver. Has precedence over the [`accessibilityViewIsModal`](#accessibilityviewismodal-ios) prop.

| Type | Default |
| ------- | ------- |
Expand Down
6 changes: 5 additions & 1 deletion docs/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,15 @@ Indicates that an element will be updated, and describes the types of updates th
- **polite** Accessibility services should announce changes to this view.
- **assertive** Accessibility services should interrupt ongoing speech to immediately announce changes to this view.

| Type | Default |
| ---------------------------------------- | ------- |
| enum(`'assertive'`, `'off'`, `'polite'`) | `'off'` |

---

### `aria-modal` <div class="label ios">iOS</div>

Boolean value indicating whether VoiceOver should ignore the elements within views that are siblings of the receiver. Has precedence over the `accessibilityViewIsModal` prop.
Boolean value indicating whether VoiceOver should ignore the elements within views that are siblings of the receiver. Has precedence over the [`accessibilityViewIsModal`](#accessibilityviewismodal-ios) prop.

| Type | Default |
| ------- | ------- |
Expand Down

0 comments on commit 78b428b

Please sign in to comment.