-
-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Expand file tree
/
Copy pathAccessibilityServer.xml
More file actions
927 lines (927 loc) · 35.1 KB
/
AccessibilityServer.xml
File metadata and controls
927 lines (927 loc) · 35.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
<?xml version="1.0" encoding="UTF-8" ?>
<class name="AccessibilityServer" inherits="Object" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
A server interface for screen reader support.
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="create_element">
<return type="RID" />
<param index="0" name="window_id" type="int" />
<param index="1" name="role" type="int" enum="AccessibilityServer.AccessibilityRole" />
<description>
Creates a new, empty accessibility element resource.
[b]Note:[/b] An accessibility element is created and freed automatically for each [Node]. In general, this function should not be called manually.
</description>
</method>
<method name="create_sub_element">
<return type="RID" />
<param index="0" name="parent_rid" type="RID" />
<param index="1" name="role" type="int" enum="AccessibilityServer.AccessibilityRole" />
<param index="2" name="insert_pos" type="int" default="-1" />
<description>
Creates a new, empty accessibility sub-element resource. Sub-elements can be used to provide accessibility information for objects which are not [Node]s, such as list items, table cells, or menu items. Sub-elements are freed automatically when the parent element is freed, or can be freed early using the [method free_element] method.
</description>
</method>
<method name="create_sub_text_edit_elements">
<return type="RID" />
<param index="0" name="parent_rid" type="RID" />
<param index="1" name="shaped_text" type="RID" />
<param index="2" name="min_height" type="float" />
<param index="3" name="insert_pos" type="int" default="-1" />
<param index="4" name="is_last_line" type="bool" default="false" />
<description>
Creates a new, empty accessibility sub-element from the shaped text buffer. Sub-elements are freed automatically when the parent element is freed, or can be freed early using the [method free_element] method.
If [param is_last_line] is [code]true[/code], no trailing newline is appended to the text content. Set to [code]true[/code] for the last line in multi-line text fields and for single-line text fields.
</description>
</method>
<method name="element_get_meta" qualifiers="const">
<return type="Variant" />
<param index="0" name="id" type="RID" />
<description>
Returns the metadata of the accessibility element [param id].
</description>
</method>
<method name="element_set_meta">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="meta" type="Variant" />
<description>
Sets the metadata of the accessibility element [param id] to [param meta].
</description>
</method>
<method name="free_element">
<return type="void" />
<param index="0" name="id" type="RID" />
<description>
Frees the accessibility element [param id] created by [method create_element], [method create_sub_element], or [method create_sub_text_edit_elements].
</description>
</method>
<method name="get_window_root" qualifiers="const">
<return type="RID" />
<param index="0" name="window_id" type="int" />
<description>
Returns the main accessibility element of the OS native window.
</description>
</method>
<method name="has_element" qualifiers="const">
<return type="bool" />
<param index="0" name="id" type="RID" />
<description>
Returns [code]true[/code] if [param id] is a valid accessibility element.
</description>
</method>
<method name="is_supported" qualifiers="const">
<return type="bool" />
<description>
Returns [code]true[/code] if screen reader is support by this implementation.
</description>
</method>
<method name="set_window_focused">
<return type="void" />
<param index="0" name="window_id" type="int" />
<param index="1" name="focused" type="bool" />
<description>
Sets the window focused state for assistive apps.
[b]Note:[/b] This method is implemented on Linux, macOS, and Windows.
[b]Note:[/b] Advanced users only! [Window] objects call this method automatically.
</description>
</method>
<method name="set_window_rect">
<return type="void" />
<param index="0" name="window_id" type="int" />
<param index="1" name="rect_out" type="Rect2" />
<param index="2" name="rect_in" type="Rect2" />
<description>
Sets window outer (with decorations) and inner (without decorations) bounds for assistive apps.
[b]Note:[/b] This method is implemented on Linux, macOS, and Windows.
[b]Note:[/b] Advanced users only! [Window] objects call this method automatically.
</description>
</method>
<method name="update_add_action">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="action" type="int" enum="AccessibilityServer.AccessibilityAction" />
<param index="2" name="callable" type="Callable" />
<description>
Adds a callback for the accessibility action (action which can be performed by using a special screen reader command or buttons on the Braille display), and marks this action as supported. The action callback receives one [Variant] argument, which value depends on action type.
</description>
</method>
<method name="update_add_child">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="child_id" type="RID" />
<description>
Adds a child accessibility element.
[b]Note:[/b] [Node] children and sub-elements are added to the child list automatically.
</description>
</method>
<method name="update_add_custom_action">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="action_id" type="int" />
<param index="2" name="action_description" type="String" />
<description>
Adds support for a custom accessibility action. [param action_id] is passed as an argument to the callback of [constant ACTION_CUSTOM] action.
</description>
</method>
<method name="update_add_related_controls">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="related_id" type="RID" />
<description>
Adds an element that is controlled by this element.
</description>
</method>
<method name="update_add_related_described_by">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="related_id" type="RID" />
<description>
Adds an element that describes this element.
</description>
</method>
<method name="update_add_related_details">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="related_id" type="RID" />
<description>
Adds an element that details this element.
</description>
</method>
<method name="update_add_related_flow_to">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="related_id" type="RID" />
<description>
Adds an element that this element flow into.
</description>
</method>
<method name="update_add_related_labeled_by">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="related_id" type="RID" />
<description>
Adds an element that labels this element.
</description>
</method>
<method name="update_add_related_radio_group">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="related_id" type="RID" />
<description>
Adds an element that is part of the same radio group.
[b]Note:[/b] This method should be called on each element of the group, using all other elements as [param related_id].
</description>
</method>
<method name="update_set_active_descendant">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="other_id" type="RID" />
<description>
Adds an element that is an active descendant of this element.
</description>
</method>
<method name="update_set_background_color">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="color" type="Color" />
<description>
Sets element background color.
</description>
</method>
<method name="update_set_bounds">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="rect" type="Rect2" />
<description>
Sets element bounding box, relative to the node position.
</description>
</method>
<method name="update_set_braille_label">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="name" type="String" />
<description>
Sets element accessibility label for Braille display.
</description>
</method>
<method name="update_set_braille_role_description">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="description" type="String" />
<description>
Sets element accessibility role description for Braille display.
</description>
</method>
<method name="update_set_checked">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="checekd" type="bool" />
<description>
Sets element checked state.
</description>
</method>
<method name="update_set_classname">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="classname" type="String" />
<description>
Sets element class name.
</description>
</method>
<method name="update_set_color_value">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="color" type="Color" />
<description>
Sets element color value.
</description>
</method>
<method name="update_set_description">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="description" type="String" />
<description>
Sets element accessibility description.
</description>
</method>
<method name="update_set_error_message">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="other_id" type="RID" />
<description>
Sets an element which contains an error message for this element.
</description>
</method>
<method name="update_set_extra_info">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="name" type="String" />
<description>
Sets element accessibility extra information added to the element name.
</description>
</method>
<method name="update_set_flag">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="flag" type="int" enum="AccessibilityServer.AccessibilityFlags" />
<param index="2" name="value" type="bool" />
<description>
Sets element flag.
</description>
</method>
<method name="update_set_focus">
<return type="void" />
<param index="0" name="id" type="RID" />
<description>
Sets currently focused element.
</description>
</method>
<method name="update_set_foreground_color">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="color" type="Color" />
<description>
Sets element foreground color.
</description>
</method>
<method name="update_set_in_page_link_target">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="other_id" type="RID" />
<description>
Sets target element for the link.
</description>
</method>
<method name="update_set_language">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="language" type="String" />
<description>
Sets element text language.
</description>
</method>
<method name="update_set_list_item_count">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="size" type="int" />
<description>
Sets number of items in the list.
</description>
</method>
<method name="update_set_list_item_expanded">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="expanded" type="bool" />
<description>
Sets list/tree item expanded status.
</description>
</method>
<method name="update_set_list_item_index">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="index" type="int" />
<description>
Sets the position of the element in the list.
</description>
</method>
<method name="update_set_list_item_level">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="level" type="int" />
<description>
Sets the hierarchical level of the element in the list.
</description>
</method>
<method name="update_set_list_item_selected">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="selected" type="bool" />
<description>
Sets list/tree item selected status.
</description>
</method>
<method name="update_set_list_orientation">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="vertical" type="bool" />
<description>
Sets the orientation of the list elements.
</description>
</method>
<method name="update_set_live">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="live" type="int" enum="AccessibilityServer.AccessibilityLiveMode" />
<description>
Sets the priority of the live region updates.
</description>
</method>
<method name="update_set_member_of">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="group_id" type="RID" />
<description>
Sets the element to be a member of the group.
</description>
</method>
<method name="update_set_name">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="name" type="String" />
<description>
Sets element accessibility name.
</description>
</method>
<method name="update_set_next_on_line">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="other_id" type="RID" />
<description>
Sets next element on the line.
</description>
</method>
<method name="update_set_num_jump">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="jump" type="float" />
<description>
Sets numeric value jump.
</description>
</method>
<method name="update_set_num_range">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="min" type="float" />
<param index="2" name="max" type="float" />
<description>
Sets numeric value range.
</description>
</method>
<method name="update_set_num_step">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="step" type="float" />
<description>
Sets numeric value step.
</description>
</method>
<method name="update_set_num_value">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="position" type="float" />
<description>
Sets numeric value.
</description>
</method>
<method name="update_set_placeholder">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="placeholder" type="String" />
<description>
Sets placeholder text.
</description>
</method>
<method name="update_set_popup_type">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="popup" type="int" enum="AccessibilityServer.AccessibilityPopupType" />
<description>
Sets popup type for popup buttons.
</description>
</method>
<method name="update_set_previous_on_line">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="other_id" type="RID" />
<description>
Sets previous element on the line.
</description>
</method>
<method name="update_set_role">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="role" type="int" enum="AccessibilityServer.AccessibilityRole" />
<description>
Sets element accessibility role.
</description>
</method>
<method name="update_set_role_description">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="description" type="String" />
<description>
Sets element accessibility role description text.
</description>
</method>
<method name="update_set_scroll_x">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="position" type="float" />
<description>
Sets scroll bar x position.
</description>
</method>
<method name="update_set_scroll_x_range">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="min" type="float" />
<param index="2" name="max" type="float" />
<description>
Sets scroll bar x range.
</description>
</method>
<method name="update_set_scroll_y">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="position" type="float" />
<description>
Sets scroll bar y position.
</description>
</method>
<method name="update_set_scroll_y_range">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="min" type="float" />
<param index="2" name="max" type="float" />
<description>
Sets scroll bar y range.
</description>
</method>
<method name="update_set_shortcut">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="shortcut" type="String" />
<description>
Sets the list of keyboard shortcuts used by element.
</description>
</method>
<method name="update_set_state_description">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="description" type="String" />
<description>
Sets human-readable description of the current checked state.
</description>
</method>
<method name="update_set_table_cell_position">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="row_index" type="int" />
<param index="2" name="column_index" type="int" />
<description>
Sets cell position in the table.
</description>
</method>
<method name="update_set_table_cell_span">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="row_span" type="int" />
<param index="2" name="column_span" type="int" />
<description>
Sets cell row/column span.
</description>
</method>
<method name="update_set_table_column_count">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="count" type="int" />
<description>
Sets number of columns in the table.
</description>
</method>
<method name="update_set_table_column_index">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="index" type="int" />
<description>
Sets position of the column.
</description>
</method>
<method name="update_set_table_row_count">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="count" type="int" />
<description>
Sets number of rows in the table.
</description>
</method>
<method name="update_set_table_row_index">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="index" type="int" />
<description>
Sets position of the row in the table.
</description>
</method>
<method name="update_set_text_align">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="align" type="int" enum="HorizontalAlignment" />
<description>
Sets element text alignment.
</description>
</method>
<method name="update_set_text_decorations">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="underline" type="bool" />
<param index="2" name="strikethrough" type="bool" />
<param index="3" name="overline" type="bool" />
<param index="4" name="color" type="Color" default="Color(0, 0, 0, 1)" />
<description>
Sets text underline/overline/strikethrough.
</description>
</method>
<method name="update_set_text_orientation">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="vertical" type="bool" />
<description>
Sets text orientation.
</description>
</method>
<method name="update_set_text_selection">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="text_start_id" type="RID" />
<param index="2" name="start_char" type="int" />
<param index="3" name="text_end_id" type="RID" />
<param index="4" name="end_char" type="int" />
<description>
Sets text selection to the text field. [param text_start_id] and [param text_end_id] should be elements created by [method create_sub_text_edit_elements]. Character offsets are relative to the corresponding element.
</description>
</method>
<method name="update_set_tooltip">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="tooltip" type="String" />
<description>
Sets tooltip text.
</description>
</method>
<method name="update_set_transform">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="transform" type="Transform2D" />
<description>
Sets element 2D transform.
</description>
</method>
<method name="update_set_url">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="url" type="String" />
<description>
Sets link URL.
</description>
</method>
<method name="update_set_value">
<return type="void" />
<param index="0" name="id" type="RID" />
<param index="1" name="value" type="String" />
<description>
Sets element text value.
</description>
</method>
</methods>
<constants>
<constant name="ROLE_UNKNOWN" value="0" enum="AccessibilityRole">
Unknown or custom role.
</constant>
<constant name="ROLE_DEFAULT_BUTTON" value="1" enum="AccessibilityRole">
Default dialog button element.
</constant>
<constant name="ROLE_AUDIO" value="2" enum="AccessibilityRole">
Audio player element.
</constant>
<constant name="ROLE_VIDEO" value="3" enum="AccessibilityRole">
Video player element.
</constant>
<constant name="ROLE_STATIC_TEXT" value="4" enum="AccessibilityRole">
Non-editable text label.
</constant>
<constant name="ROLE_CONTAINER" value="5" enum="AccessibilityRole">
Container element. Elements with this role are used for internal structure and ignored by screen readers.
</constant>
<constant name="ROLE_PANEL" value="6" enum="AccessibilityRole">
Panel container element.
</constant>
<constant name="ROLE_BUTTON" value="7" enum="AccessibilityRole">
Button element.
</constant>
<constant name="ROLE_LINK" value="8" enum="AccessibilityRole">
Link element.
</constant>
<constant name="ROLE_CHECK_BOX" value="9" enum="AccessibilityRole">
Check box element.
</constant>
<constant name="ROLE_RADIO_BUTTON" value="10" enum="AccessibilityRole">
Radio button element.
</constant>
<constant name="ROLE_CHECK_BUTTON" value="11" enum="AccessibilityRole">
Check button element.
</constant>
<constant name="ROLE_SCROLL_BAR" value="12" enum="AccessibilityRole">
Scroll bar element.
</constant>
<constant name="ROLE_SCROLL_VIEW" value="13" enum="AccessibilityRole">
Scroll container element.
</constant>
<constant name="ROLE_SPLITTER" value="14" enum="AccessibilityRole">
Container splitter handle element.
</constant>
<constant name="ROLE_SLIDER" value="15" enum="AccessibilityRole">
Slider element.
</constant>
<constant name="ROLE_SPIN_BUTTON" value="16" enum="AccessibilityRole">
Spin box element.
</constant>
<constant name="ROLE_PROGRESS_INDICATOR" value="17" enum="AccessibilityRole">
Progress indicator element.
</constant>
<constant name="ROLE_TEXT_FIELD" value="18" enum="AccessibilityRole">
Editable text field element.
</constant>
<constant name="ROLE_MULTILINE_TEXT_FIELD" value="19" enum="AccessibilityRole">
Multiline editable text field element.
</constant>
<constant name="ROLE_COLOR_PICKER" value="20" enum="AccessibilityRole">
Color picker element.
</constant>
<constant name="ROLE_TABLE" value="21" enum="AccessibilityRole">
Table element.
</constant>
<constant name="ROLE_CELL" value="22" enum="AccessibilityRole">
Table/tree cell element.
</constant>
<constant name="ROLE_ROW" value="23" enum="AccessibilityRole">
Table/tree row element.
</constant>
<constant name="ROLE_ROW_GROUP" value="24" enum="AccessibilityRole">
Table/tree row group element.
</constant>
<constant name="ROLE_ROW_HEADER" value="25" enum="AccessibilityRole">
Table/tree row header element.
</constant>
<constant name="ROLE_COLUMN_HEADER" value="26" enum="AccessibilityRole">
Table/tree column header element.
</constant>
<constant name="ROLE_TREE" value="27" enum="AccessibilityRole">
Tree view element.
</constant>
<constant name="ROLE_TREE_ITEM" value="28" enum="AccessibilityRole">
Tree view item element.
</constant>
<constant name="ROLE_LIST" value="29" enum="AccessibilityRole">
List element.
</constant>
<constant name="ROLE_LIST_ITEM" value="30" enum="AccessibilityRole">
List item element.
</constant>
<constant name="ROLE_LIST_BOX" value="31" enum="AccessibilityRole">
List view element.
</constant>
<constant name="ROLE_LIST_BOX_OPTION" value="32" enum="AccessibilityRole">
List view item element.
</constant>
<constant name="ROLE_TAB_BAR" value="33" enum="AccessibilityRole">
Tab bar element.
</constant>
<constant name="ROLE_TAB" value="34" enum="AccessibilityRole">
Tab bar item element.
</constant>
<constant name="ROLE_TAB_PANEL" value="35" enum="AccessibilityRole">
Tab panel element.
</constant>
<constant name="ROLE_MENU_BAR" value="36" enum="AccessibilityRole">
Menu bar element.
</constant>
<constant name="ROLE_MENU" value="37" enum="AccessibilityRole">
Popup menu element.
</constant>
<constant name="ROLE_MENU_ITEM" value="38" enum="AccessibilityRole">
Popup menu item element.
</constant>
<constant name="ROLE_MENU_ITEM_CHECK_BOX" value="39" enum="AccessibilityRole">
Popup menu check button item element.
</constant>
<constant name="ROLE_MENU_ITEM_RADIO" value="40" enum="AccessibilityRole">
Popup menu radio button item element.
</constant>
<constant name="ROLE_IMAGE" value="41" enum="AccessibilityRole">
Image element.
</constant>
<constant name="ROLE_WINDOW" value="42" enum="AccessibilityRole">
Window element.
</constant>
<constant name="ROLE_TITLE_BAR" value="43" enum="AccessibilityRole">
Embedded window title bar element.
</constant>
<constant name="ROLE_DIALOG" value="44" enum="AccessibilityRole">
Dialog window element.
</constant>
<constant name="ROLE_TOOLTIP" value="45" enum="AccessibilityRole">
Tooltip element.
</constant>
<constant name="ROLE_REGION" value="46" enum="AccessibilityRole">
Region/landmark element. Screen readers can navigate between regions using landmark navigation.
</constant>
<constant name="ROLE_TEXT_RUN" value="47" enum="AccessibilityRole">
Unifor text run.
Note: This role is used for internal text elements, and should not be assigned to nodes.
</constant>
<constant name="POPUP_MENU" value="0" enum="AccessibilityPopupType">
Popup menu.
</constant>
<constant name="POPUP_LIST" value="1" enum="AccessibilityPopupType">
Popup list.
</constant>
<constant name="POPUP_TREE" value="2" enum="AccessibilityPopupType">
Popup tree view.
</constant>
<constant name="POPUP_DIALOG" value="3" enum="AccessibilityPopupType">
Popup dialog.
</constant>
<constant name="FLAG_HIDDEN" value="0" enum="AccessibilityFlags">
Element is hidden for accessibility tools.
</constant>
<constant name="FLAG_MULTISELECTABLE" value="1" enum="AccessibilityFlags">
Element supports multiple item selection.
</constant>
<constant name="FLAG_REQUIRED" value="2" enum="AccessibilityFlags">
Element require user input.
</constant>
<constant name="FLAG_VISITED" value="3" enum="AccessibilityFlags">
Element is a visited link.
</constant>
<constant name="FLAG_BUSY" value="4" enum="AccessibilityFlags">
Element content is not ready (e.g. loading).
</constant>
<constant name="FLAG_MODAL" value="5" enum="AccessibilityFlags">
Element is modal window.
</constant>
<constant name="FLAG_TOUCH_PASSTHROUGH" value="6" enum="AccessibilityFlags">
Element allows touches to be passed through when a screen reader is in touch exploration mode.
</constant>
<constant name="FLAG_READONLY" value="7" enum="AccessibilityFlags">
Element is text field with selectable but read-only text.
</constant>
<constant name="FLAG_DISABLED" value="8" enum="AccessibilityFlags">
Element is disabled.
</constant>
<constant name="FLAG_CLIPS_CHILDREN" value="9" enum="AccessibilityFlags">
Element clips children.
</constant>
<constant name="ACTION_CLICK" value="0" enum="AccessibilityAction">
Single click action, callback argument is not set.
</constant>
<constant name="ACTION_FOCUS" value="1" enum="AccessibilityAction">
Focus action, callback argument is not set.
</constant>
<constant name="ACTION_BLUR" value="2" enum="AccessibilityAction">
Blur action, callback argument is not set.
</constant>
<constant name="ACTION_COLLAPSE" value="3" enum="AccessibilityAction">
Collapse action, callback argument is not set.
</constant>
<constant name="ACTION_EXPAND" value="4" enum="AccessibilityAction">
Expand action, callback argument is not set.
</constant>
<constant name="ACTION_DECREMENT" value="5" enum="AccessibilityAction">
Decrement action, callback argument is not set.
</constant>
<constant name="ACTION_INCREMENT" value="6" enum="AccessibilityAction">
Increment action, callback argument is not set.
</constant>
<constant name="ACTION_HIDE_TOOLTIP" value="7" enum="AccessibilityAction">
Hide tooltip action, callback argument is not set.
</constant>
<constant name="ACTION_SHOW_TOOLTIP" value="8" enum="AccessibilityAction">
Show tooltip action, callback argument is not set.
</constant>
<constant name="ACTION_SET_TEXT_SELECTION" value="9" enum="AccessibilityAction">
Set text selection action, callback argument is set to [Dictionary] with the following keys:
- [code]"start_element"[/code] accessibility element of the selection start.
- [code]"start_char"[/code] character offset relative to the accessibility element of the selection start.
- [code]"end_element"[/code] accessibility element of the selection end.
- [code]"end_char"[/code] character offset relative to the accessibility element of the selection end.
</constant>
<constant name="ACTION_REPLACE_SELECTED_TEXT" value="10" enum="AccessibilityAction">
Replace text action, callback argument is set to [String] with the replacement text.
</constant>
<constant name="ACTION_SCROLL_BACKWARD" value="11" enum="AccessibilityAction">
Scroll backward action, callback argument is not set.
</constant>
<constant name="ACTION_SCROLL_DOWN" value="12" enum="AccessibilityAction">
Scroll down action, callback argument is set to [enum AccessibilityScrollUnit].
</constant>
<constant name="ACTION_SCROLL_FORWARD" value="13" enum="AccessibilityAction">
Scroll forward action, callback argument is not set.
</constant>
<constant name="ACTION_SCROLL_LEFT" value="14" enum="AccessibilityAction">
Scroll left action, callback argument is set to [enum AccessibilityScrollUnit].
</constant>
<constant name="ACTION_SCROLL_RIGHT" value="15" enum="AccessibilityAction">
Scroll right action, callback argument is set to [enum AccessibilityScrollUnit].
</constant>
<constant name="ACTION_SCROLL_UP" value="16" enum="AccessibilityAction">
Scroll up action, callback argument is set to [enum AccessibilityScrollUnit].
</constant>
<constant name="ACTION_SCROLL_INTO_VIEW" value="17" enum="AccessibilityAction">
Scroll into view action, callback argument is set to [enum AccessibilityScrollHint].
</constant>
<constant name="ACTION_SCROLL_TO_POINT" value="18" enum="AccessibilityAction">
Scroll to point action, callback argument is set to [Vector2] with the relative point coordinates.
</constant>
<constant name="ACTION_SET_SCROLL_OFFSET" value="19" enum="AccessibilityAction">
Set scroll offset action, callback argument is set to [Vector2] with the scroll offset.
</constant>
<constant name="ACTION_SET_VALUE" value="20" enum="AccessibilityAction">
Set value action, callback argument is set to [String] or number with the new value.
</constant>
<constant name="ACTION_SHOW_CONTEXT_MENU" value="21" enum="AccessibilityAction">
Show context menu action, callback argument is not set.
</constant>
<constant name="ACTION_CUSTOM" value="22" enum="AccessibilityAction">
Custom action, callback argument is set to the integer action ID.
</constant>
<constant name="LIVE_OFF" value="0" enum="AccessibilityLiveMode">
Indicates that updates to the live region should not be presented.
</constant>
<constant name="LIVE_POLITE" value="1" enum="AccessibilityLiveMode">
Indicates that updates to the live region should be presented at the next opportunity (for example at the end of speaking the current sentence).
</constant>
<constant name="LIVE_ASSERTIVE" value="2" enum="AccessibilityLiveMode">
Indicates that updates to the live region have the highest priority and should be presented immediately.
</constant>
<constant name="SCROLL_UNIT_ITEM" value="0" enum="AccessibilityScrollUnit">
The amount by which to scroll. A single item of a list, line of text.
</constant>
<constant name="SCROLL_UNIT_PAGE" value="1" enum="AccessibilityScrollUnit">
The amount by which to scroll. A single page.
</constant>
<constant name="SCROLL_HINT_TOP_LEFT" value="0" enum="AccessibilityScrollHint">
A preferred position for the node scrolled into view. Top-left edge of the scroll container.
</constant>
<constant name="SCROLL_HINT_BOTTOM_RIGHT" value="1" enum="AccessibilityScrollHint">
A preferred position for the node scrolled into view. Bottom-right edge of the scroll container.
</constant>
<constant name="SCROLL_HINT_TOP_EDGE" value="2" enum="AccessibilityScrollHint">
A preferred position for the node scrolled into view. Top edge of the scroll container.
</constant>
<constant name="SCROLL_HINT_BOTTOM_EDGE" value="3" enum="AccessibilityScrollHint">
A preferred position for the node scrolled into view. Bottom edge of the scroll container.
</constant>
<constant name="SCROLL_HINT_LEFT_EDGE" value="4" enum="AccessibilityScrollHint">
A preferred position for the node scrolled into view. Left edge of the scroll container.
</constant>
<constant name="SCROLL_HINT_RIGHT_EDGE" value="5" enum="AccessibilityScrollHint">
A preferred position for the node scrolled into view. Right edge of the scroll container.
</constant>
</constants>
</class>