@@ -72,7 +72,7 @@ const EventNames: Map<
72
72
* well as to register to be notified when the state of the screen reader
73
73
* changes.
74
74
*
75
- * See https://reactnative.dev/docs/accessibilityinfo.html
75
+ * See https://reactnative.dev/docs/accessibilityinfo
76
76
*/
77
77
const AccessibilityInfo = {
78
78
/**
@@ -81,7 +81,7 @@ const AccessibilityInfo = {
81
81
* Returns a promise which resolves to a boolean.
82
82
* The result is `true` when bold text is enabled and `false` otherwise.
83
83
*
84
- * See https://reactnative.dev/docs/accessibilityinfo.html #isBoldTextEnabled
84
+ * See https://reactnative.dev/docs/accessibilityinfo#isBoldTextEnabled
85
85
*/
86
86
isBoldTextEnabled ( ) : Promise < boolean > {
87
87
if ( Platform . OS === 'android' ) {
@@ -106,7 +106,7 @@ const AccessibilityInfo = {
106
106
* Returns a promise which resolves to a boolean.
107
107
* The result is `true` when grayscale is enabled and `false` otherwise.
108
108
*
109
- * See https://reactnative.dev/docs/accessibilityinfo.html #isGrayscaleEnabled
109
+ * See https://reactnative.dev/docs/accessibilityinfo#isGrayscaleEnabled
110
110
*/
111
111
isGrayscaleEnabled ( ) : Promise < boolean > {
112
112
if ( Platform . OS === 'android' ) {
@@ -131,7 +131,7 @@ const AccessibilityInfo = {
131
131
* Returns a promise which resolves to a boolean.
132
132
* The result is `true` when invert color is enabled and `false` otherwise.
133
133
*
134
- * See https://reactnative.dev/docs/accessibilityinfo.html #isInvertColorsEnabled
134
+ * See https://reactnative.dev/docs/accessibilityinfo#isInvertColorsEnabled
135
135
*/
136
136
isInvertColorsEnabled ( ) : Promise < boolean > {
137
137
if ( Platform . OS === 'android' ) {
@@ -156,7 +156,7 @@ const AccessibilityInfo = {
156
156
* Returns a promise which resolves to a boolean.
157
157
* The result is `true` when a reduce motion is enabled and `false` otherwise.
158
158
*
159
- * See https://reactnative.dev/docs/accessibilityinfo.html #isReduceMotionEnabled
159
+ * See https://reactnative.dev/docs/accessibilityinfo#isReduceMotionEnabled
160
160
*/
161
161
isReduceMotionEnabled ( ) : Promise < boolean > {
162
162
return new Promise ( ( resolve , reject ) => {
@@ -185,7 +185,7 @@ const AccessibilityInfo = {
185
185
* Returns a promise which resolves to a boolean.
186
186
* The result is `true` when a reduce transparency is enabled and `false` otherwise.
187
187
*
188
- * See https://reactnative.dev/docs/accessibilityinfo.html #isReduceTransparencyEnabled
188
+ * See https://reactnative.dev/docs/accessibilityinfo#isReduceTransparencyEnabled
189
189
*/
190
190
isReduceTransparencyEnabled ( ) : Promise < boolean > {
191
191
if ( Platform . OS === 'android' ) {
@@ -210,7 +210,7 @@ const AccessibilityInfo = {
210
210
* Returns a promise which resolves to a boolean.
211
211
* The result is `true` when a screen reader is enabled and `false` otherwise.
212
212
*
213
- * See https://reactnative.dev/docs/accessibilityinfo.html #isScreenReaderEnabled
213
+ * See https://reactnative.dev/docs/accessibilityinfo#isScreenReaderEnabled
214
214
*/
215
215
isScreenReaderEnabled ( ) : Promise < boolean > {
216
216
return new Promise ( ( resolve , reject ) => {
@@ -292,7 +292,7 @@ const AccessibilityInfo = {
292
292
* - `success`: A boolean indicating whether the announcement was
293
293
* successfully made.
294
294
*
295
- * See https://reactnative.dev/docs/accessibilityinfo.html #addeventlistener
295
+ * See https://reactnative.dev/docs/accessibilityinfo#addeventlistener
296
296
*/
297
297
addEventListener < K : $Keys < AccessibilityEventDefinitions >> (
298
298
eventName : K ,
@@ -307,7 +307,7 @@ const AccessibilityInfo = {
307
307
/**
308
308
* Set accessibility focus to a React component.
309
309
*
310
- * See https://reactnative.dev/docs/accessibilityinfo.html #setaccessibilityfocus
310
+ * See https://reactnative.dev/docs/accessibilityinfo#setaccessibilityfocus
311
311
*/
312
312
setAccessibilityFocus ( reactTag : number ) : void {
313
313
legacySendAccessibilityEvent ( reactTag , 'focus' ) ;
@@ -331,7 +331,7 @@ const AccessibilityInfo = {
331
331
/**
332
332
* Post a string to be announced by the screen reader.
333
333
*
334
- * See https://reactnative.dev/docs/accessibilityinfo.html #announceforaccessibility
334
+ * See https://reactnative.dev/docs/accessibilityinfo#announceforaccessibility
335
335
*/
336
336
announceForAccessibility ( announcement : string ) : void {
337
337
if ( Platform . OS === 'android' ) {
@@ -363,7 +363,7 @@ const AccessibilityInfo = {
363
363
/**
364
364
* Get the recommended timeout for changes to the UI needed by this user.
365
365
*
366
- * See https://reactnative.dev/docs/accessibilityinfo.html #getrecommendedtimeoutmillis
366
+ * See https://reactnative.dev/docs/accessibilityinfo#getrecommendedtimeoutmillis
367
367
*/
368
368
getRecommendedTimeoutMillis ( originalTimeout : number ) : Promise < number > {
369
369
if ( Platform . OS === 'android' ) {
0 commit comments