blob: f42870e631da67f410724a6fb5f864dd1981d6ff [file] [log] [blame]
Blink Reformat4c46d092018-04-07 15:32:371// Copyright 2015 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4Accessibility.AccessibilityStrings = {};
5
6Accessibility.AccessibilityStrings.AXAttributes = {
7 'disabled': {
Mandy Chenba6de382019-06-07 21:38:508 name: ls`Disabled`,
9 description: ls`If true, this element currently cannot be interacted with.`,
Blink Reformat4c46d092018-04-07 15:32:3710 group: 'AXGlobalStates'
11 },
12 'invalid': {
Mandy Chenba6de382019-06-07 21:38:5013 name: ls`Invalid user entry`,
14 description: ls`If true, this element's user-entered value does not conform to validation requirement.`,
Blink Reformat4c46d092018-04-07 15:32:3715 group: 'AXGlobalStates'
16 },
Mandy Chenba6de382019-06-07 21:38:5017 'editable': {name: ls`Editable`, description: ls`If and how this element can be edited.`},
18 'focusable': {name: ls`Focusable`, description: ls`If true, this element can receive focus.`},
19 'focused': {name: ls`Focused`, description: ls`If true, this element currently has focus.`},
20 'settable': {name: ls`Can set value`, description: ls`Whether the value of this element can be set.`},
Blink Reformat4c46d092018-04-07 15:32:3721 'live': {
Mandy Chenba6de382019-06-07 21:38:5022 name: ls`Live region`,
23 description: ls`Whether and what priority of live updates may be expected for this element.`,
Blink Reformat4c46d092018-04-07 15:32:3724 group: 'AXLiveRegionAttributes'
25 },
Mandy Chenba6de382019-06-07 21:38:5026 'atomic': {name: ls`Atomic (live regions)`, description: ls
27 `If this element may receive live updates, whether the entire live region should be presented to the user on changes, or only changed nodes.`,
Blink Reformat4c46d092018-04-07 15:32:3728 group: 'AXLiveRegionAttributes'
29 },
30 'relevant': {
Mandy Chenba6de382019-06-07 21:38:5031 name: ls`Relevant (live regions)`,
32 description: ls`If this element may receive live updates, what type of updates should trigger a notification.`,
Blink Reformat4c46d092018-04-07 15:32:3733 group: 'AXLiveRegionAttributes'
34 },
35 'busy': {
Mandy Chenba6de382019-06-07 21:38:5036 name: ls`Busy (live regions)`,
37 description: ls
38 `Whether this element or its subtree are currently being updated (and thus may be in an inconsistent state).`,
Blink Reformat4c46d092018-04-07 15:32:3739 group: 'AXLiveRegionAttributes'
40 },
41 'root': {
Mandy Chenba6de382019-06-07 21:38:5042 name: ls`Live region root`,
43 description: ls`If this element may receive live updates, the root element of the containing live region.`,
Blink Reformat4c46d092018-04-07 15:32:3744 group: 'AXLiveRegionAttributes'
45 },
46 'autocomplete': {
Mandy Chenba6de382019-06-07 21:38:5047 name: ls`Has autocomplete`,
48 description: ls`Whether and what type of autocomplete suggestions are currently provided by this element.`,
Blink Reformat4c46d092018-04-07 15:32:3749 group: 'AXWidgetAttributes'
50 },
51 'haspopup': {
Mandy Chenba6de382019-06-07 21:38:5052 name: ls`Has popup`,
53 description: ls`Whether this element has caused some kind of pop-up (such as a menu) to appear.`,
Blink Reformat4c46d092018-04-07 15:32:3754 group: 'AXWidgetAttributes'
55 },
Mandy Chenba6de382019-06-07 21:38:5056 'level': {name: ls`Level`, description: ls`The hierarchical level of this element.`, group: 'AXWidgetAttributes'},
Blink Reformat4c46d092018-04-07 15:32:3757 'multiselectable': {
Mandy Chenba6de382019-06-07 21:38:5058 name: ls`Multi-selectable`,
59 description: ls`Whether a user may select more than one option from this widget.`,
Blink Reformat4c46d092018-04-07 15:32:3760 group: 'AXWidgetAttributes'
61 },
62 'orientation': {
Mandy Chenba6de382019-06-07 21:38:5063 name: ls`Orientation`,
64 description: ls`Whether this linear element's orientation is horizontal or vertical.`,
Blink Reformat4c46d092018-04-07 15:32:3765 group: 'AXWidgetAttributes'
66 },
67 'multiline': {
Mandy Chenba6de382019-06-07 21:38:5068 name: ls`Multi-line`,
69 description: ls`Whether this text box may have more than one line.`,
Blink Reformat4c46d092018-04-07 15:32:3770 group: 'AXWidgetAttributes'
71 },
72 'readonly': {
Mandy Chenba6de382019-06-07 21:38:5073 name: ls`Read-only`,
74 description: ls`If true, this element may be interacted with, but its value cannot be changed.`,
Blink Reformat4c46d092018-04-07 15:32:3775 group: 'AXWidgetAttributes'
76 },
77 'required': {
Mandy Chenba6de382019-06-07 21:38:5078 name: ls`Required`,
79 description: ls`Whether this element is a required field in a form.`,
Blink Reformat4c46d092018-04-07 15:32:3780 group: 'AXWidgetAttributes'
81 },
82 'valuemin': {
Mandy Chenba6de382019-06-07 21:38:5083 name: ls`Minimum value`,
84 description: ls`For a range widget, the minimum allowed value.`,
Blink Reformat4c46d092018-04-07 15:32:3785 group: 'AXWidgetAttributes'
86 },
87 'valuemax': {
Mandy Chenba6de382019-06-07 21:38:5088 name: ls`Maximum value`,
89 description: ls`For a range widget, the maximum allowed value.`,
Blink Reformat4c46d092018-04-07 15:32:3790 group: 'AXWidgetAttributes'
91 },
92 'valuetext': {
Mandy Chenba6de382019-06-07 21:38:5093 name: ls`Value description`,
94 description: ls`A human-readable version of the value of a range widget (where necessary).`,
Blink Reformat4c46d092018-04-07 15:32:3795 group: 'AXWidgetAttributes'
96 },
97 'checked': {
Mandy Chenba6de382019-06-07 21:38:5098 name: ls`Checked`,
99 description: ls
100 `Whether this checkbox, radio button or tree item is checked, unchecked, or mixed (e.g. has both checked and un-checked children).`,
Blink Reformat4c46d092018-04-07 15:32:37101 group: 'AXWidgetStates'
102 },
103 'expanded': {
Mandy Chenba6de382019-06-07 21:38:50104 name: ls`Expanded`,
105 description: ls`Whether this element, or another grouping element it controls, is expanded.`,
Blink Reformat4c46d092018-04-07 15:32:37106 group: 'AXWidgetStates'
107 },
108 'pressed': {
Mandy Chenba6de382019-06-07 21:38:50109 name: ls`Pressed`,
110 description: ls`Whether this toggle button is currently in a pressed state.`,
Blink Reformat4c46d092018-04-07 15:32:37111 group: 'AXWidgetStates'
112 },
113 'selected': {
Mandy Chenba6de382019-06-07 21:38:50114 name: ls`Selected`,
115 description: ls`Whether the option represented by this element is currently selected.`,
Blink Reformat4c46d092018-04-07 15:32:37116 group: 'AXWidgetStates'
117 },
118 'activedescendant': {
Mandy Chenba6de382019-06-07 21:38:50119 name: ls`Active descendant`,
120 description: ls
121 `The descendant of this element which is active; i.e. the element to which focus should be delegated.`,
Blink Reformat4c46d092018-04-07 15:32:37122 group: 'AXRelationshipAttributes'
123 },
124 'flowto': {
Mandy Chenba6de382019-06-07 21:38:50125 name: ls`Flows to`,
126 description: ls
127 `Element to which the user may choose to navigate after this one, instead of the next element in the DOM order.`,
Blink Reformat4c46d092018-04-07 15:32:37128 group: 'AXRelationshipAttributes'
129 },
130 'controls': {
Mandy Chenba6de382019-06-07 21:38:50131 name: ls`Controls`,
132 description: ls`Element or elements whose content or presence is/are controlled by this widget.`,
Blink Reformat4c46d092018-04-07 15:32:37133 group: 'AXRelationshipAttributes'
134 },
135 'describedby': {
Mandy Chenba6de382019-06-07 21:38:50136 name: ls`Described by`,
137 description: ls`Element or elements which form the description of this element.`,
Blink Reformat4c46d092018-04-07 15:32:37138 group: 'AXRelationshipAttributes'
139 },
140 'labelledby': {
Mandy Chenba6de382019-06-07 21:38:50141 name: ls`Labeled by`,
142 description: ls`Element or elements which may form the name of this element.`,
Blink Reformat4c46d092018-04-07 15:32:37143 group: 'AXRelationshipAttributes'
144 },
145 'owns': {
Mandy Chenba6de382019-06-07 21:38:50146 name: ls`Owns`,
147 description: ls
148 `Element or elements which should be considered descendants of this element, despite not being descendants in the DOM.`,
Blink Reformat4c46d092018-04-07 15:32:37149 group: 'AXRelationshipAttributes'
150 },
Mandy Chenba6de382019-06-07 21:38:50151 'name': {name: ls`Name`, description: ls`The computed name of this element.`, group: 'Default'},
Blink Reformat4c46d092018-04-07 15:32:37152 'role': {
Mandy Chenba6de382019-06-07 21:38:50153 name: ls`Role`,
154 description: ls
155 `Indicates the purpose of this element, such as a user interface idiom for a widget, or structural role within a document.`,
Blink Reformat4c46d092018-04-07 15:32:37156 group: 'Default'
157 },
158 'value': {
Mandy Chenba6de382019-06-07 21:38:50159 name: ls`Value`,
160 description: ls
161 `The value of this element; this may be user-provided or developer-provided, depending on the element.`,
Blink Reformat4c46d092018-04-07 15:32:37162 group: 'Default'
163 },
Mandy Chenba6de382019-06-07 21:38:50164 'help': {name: ls`Help`, description: ls`The computed help text for this element.`, group: 'Default'},
165 'description':
166 {name: ls`Description`, description: ls`The accessible description for this element.`, group: 'Default'}
Blink Reformat4c46d092018-04-07 15:32:37167};
168
169Accessibility.AccessibilityStrings.AXSourceTypes = {
Mandy Chenba6de382019-06-07 21:38:50170 'attribute': {name: ls`From attribute`, description: ls`Value from attribute.`},
Blink Reformat4c46d092018-04-07 15:32:37171 'implicit': {
Mandy Chenba6de382019-06-07 21:38:50172 name: ls`Implicit`,
173 description: ls`Implicit value.`,
Blink Reformat4c46d092018-04-07 15:32:37174 },
Mandy Chenba6de382019-06-07 21:38:50175 'style': {name: ls`From style`, description: ls`Value from style.`},
176 'contents': {name: ls`Contents`, description: ls`Value from element contents.`},
177 'placeholder': {name: ls`From placeholder attribute`, description: ls`Value from placeholder attribute.`},
178 'relatedElement': {name: ls`Related element`, description: ls`Value from related element.`}
Blink Reformat4c46d092018-04-07 15:32:37179};
180
181Accessibility.AccessibilityStrings.AXNativeSourceTypes = {
Mandy Chenba6de382019-06-07 21:38:50182 'figcaption': {name: ls`From caption`, description: ls`Value from figcaption element.`},
183 'label': {name: ls`From label`, description: ls`Value from label element.`},
184 'labelfor': {name: ls`From label (for)`, description: ls`Value from label element with for= attribute.`},
185 'labelwrapped': {name: ls`From label (wrapped)`, description: ls`Value from label element wrapped.`},
186 'tablecaption': {name: ls`From caption`, description: ls`Value from table caption.`},
187 'title': {name: ls`From title`, description: ls`Value from title attribute.`},
188 'other': {name: ls`From native HTML`, description: ls`Value from native HTML (unknown source).`},
Blink Reformat4c46d092018-04-07 15:32:37189
190};