Skip to content

Commit a2df2e5

Browse files
authored
Remove unsupported event from accessibilityinfo.md
The event name 'accessibilityServiceChanged' is not present in react-native/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts It's not supported, therefore the info is misleading
1 parent 1f5beb7 commit a2df2e5

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

website/versioned_docs/version-0.75/accessibilityinfo.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ Add an event handler. Supported events:
8989

9090
| Event name | Description |
9191
| ------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
92-
| `accessibilityServiceChanged`<br/><div class="label two-lines android">Android</div> | Fires when some services such as TalkBack, other Android assistive technologies, and third-party accessibility services are enabled. The argument to the event handler is a boolean. The boolean is `true` when a some accessibility services is enabled and `false` otherwise. |
9392
| `announcementFinished`<br/><div class="label two-lines ios">iOS</div> | Fires when the screen reader has finished making an announcement. The argument to the event handler is a dictionary with these keys:<ul><li>`announcement`: The string announced by the screen reader.</li><li>`success`: A boolean indicating whether the announcement was successfully made.</li></ul> |
9493
| `boldTextChanged`<br/><div class="label two-lines ios">iOS</div> | Fires when the state of the bold text toggle changes. The argument to the event handler is a boolean. The boolean is `true` when bold text is enabled and `false` otherwise. |
9594
| `grayscaleChanged`<br/><div class="label two-lines ios">iOS</div> | Fires when the state of the gray scale toggle changes. The argument to the event handler is a boolean. The boolean is `true` when a gray scale is enabled and `false` otherwise. |

0 commit comments

Comments
 (0)