Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Side by Side Diff: Source/devtools/front_end/accessibility/AccessibilityStrings.js

Issue 1156223002: Show human-readable names for accessibility properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add AccessibilityStrings.js Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 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.
4
5 WebInspector.AXAttributes = {
6 "disabled" : {
7 name : "Disabled",
8 description : "If true, this element currently cannot be interacted with .",
9 group : "AXGlobalStates"
10 },
11 "hidden" : {
12 name : "Hidden",
dmazzoni 2015/05/26 23:15:03 We don't actually show a full AX node in this case
aboxhall 2015/05/26 23:31:56 Good point - this shouldn't actually ever get show
13 description : "Whether this element is hidden from assistive technology. ",
14 group : "AXGlobalStates"
15 },
16 "hiddenRoot" : {
17 name : "Hidden region root",
dmazzoni 2015/05/26 23:15:03 I don't like this one but I'm not sure what it sho
aboxhall 2015/05/26 23:31:56 This is actually wrapped up in the hidden node exp
18 description : "The ancestor whose properties cause this element to be hi dden.",
19 group : "AXGlobalStates"
20 },
21 "invalid" : {
22 name : "Invalid",
dmazzoni 2015/05/26 23:15:04 Invalid user entry? So it's not taken to mean tha
aboxhall 2015/05/26 23:31:56 Done.
23 description : "If true, this element's user-entered value does not confo rm to validation requirement.",
24 group : "AXGlobalStates"
25 },
26 "live" : {
27 name : "Live",
28 description : "Whether and what type of live updates may be expected for this element.",
29 group : "AXLiveRegionAttributes"
30 },
31 "atomic" : {
32 name : "Atomic",
dmazzoni 2015/05/26 23:15:04 Is this grouped under "Live region properties"? If
aboxhall 2015/05/26 23:31:56 It's not currently grouped, no. Good suggestion -
33 description : "If this element may receive live updates, whether the ent ire live region should be presented to the user on changes.",
34 group : "AXLiveRegionAttributes"
35 },
36 "relevant" : {
37 name : "Relevant",
38 description : "If this element may receive live updates, what type of up dates should trigger a notification.",
39 group : "AXLiveRegionAttributes"
40 },
41 "busy" : {
42 name : "Busy",
43 description : "Whether this element or its subtree are currently being u pdated (and thus may be in an inconsistent state).",
44 group : "AXLiveRegionAttributes"
45 },
46 "root" : {
47 name : "Live region root",
48 description : "If this element may receive live updates, the root elemen t of the containing live region.",
49 group : "AXLiveRegionAttributes"
50 },
51 "autocomplete" : {
52 name : "Has autocomplete",
53 description : "Whether and what type of autocomplete suggestions are cur rently provided by this element.",
54 group : "AXWidgetAttributes"
55 },
56 "haspopup" : {
57 name : "Has popup",
58 description : "Whether this element has caused some kind of pop-up (such as a menu) to appear.",
59 group : "AXWidgetAttributes"
60 },
61 "level" : {
62 name : "Level",
63 description : "The hierarchical level of this element.",
64 group : "AXWidgetAttributes"
65 },
66 "multiselectable" : {
67 name : "Multi-selectable",
68 description : "Whether a user may select more than one option from this widget.",
69 group : "AXWidgetAttributes"
70 },
71 "orientation" : {
72 name : "Orientation",
73 description : "Whether this linear element's orientation is horizontal o r vertical.",
74 group : "AXWidgetAttributes"
75 },
76 "multiline" : {
77 name : "Multi-line",
78 description : "Whether this textbox may have more than one line.",
79 group : "AXWidgetAttributes"
80 },
81 "readonly" : {
82 name : "Read-only",
83 description : "If true, this element may be interacted with, but its val ue cannot be changed.",
84 group : "AXWidgetAttributes"
85 },
86 "required" : {
87 name : "Required",
88 description : "Whether this element is a required field in a form.",
89 group : "AXWidgetAttributes"
90 },
91 "valuemin" : {
92 name : "Minimum value",
93 description : "For a range widget, the minimum possible value.",
94 group : "AXWidgetAttributes"
95 },
96 "valuemax" : {
97 name : "Maximum value",
98 description : "For a range widget, the maximum possible value.",
99 group : "AXWidgetAttributes"
100 },
101 "valuetext" : {
102 name : "Value description",
103 description : "A human-readable version of the value of a range widget ( where necessary).",
104 group : "AXWidgetAttributes"
105 },
106 "checked" : {
107 name : "Checked",
108 description : "Whether this checkbox, radio button or tree item is check ed, unchecked, or mixed (e.g. has both checked and un-checked children).",
109 group : "AXWidgetStates"
110 },
111 "expanded" : {
112 name : "Expanded",
113 description : "Whether this element, or another grouping element it cont rols, is expanded.",
114 group : "AXWidgetStates"
115 },
116 "pressed" : {
117 name : "Pressed",
118 description : "Whether this toggle button is currently in a pressed stat e.",
119 group : "AXWidgetStates"
120 },
121 "selected" : {
122 name : "Selected",
123 description : "Whether the option represented by this element is current ly selected.",
124 group : "AXWidgetStates"
125 },
126 "activedescendant" : {
127 name : "Active descendant",
128 description : "The descendant of this element which is active; i.e. the element to which focus should be delegated.",
129 group : "AXRelationshipAttributes"
130 },
131 "flowto" : {
132 name : "Flows to",
133 description : "Element to which the user may choose to navigate after th is one, instead of the next element in the DOM order.",
134 group : "AXRelationshipAttributes"
135 },
136 "controls" : {
137 name : "Controls",
138 description : "Element or elements whose content or presence is/are cont rolled by this widget.",
139 group : "AXRelationshipAttributes"
140 },
141 "describedby" : {
142 name : "Described by",
143 description : "Element or elements which form the description of this el ement.",
144 group : "AXRelationshipAttributes"
145 },
146 "labelledby" : {
147 name : "Labeled by",
148 description : "Element or elements which may form the name of this eleme nt.",
149 group : "AXRelationshipAttributes"
150 },
151 "owns" : {
152 name : "Owns",
dmazzoni 2015/05/26 23:15:04 Note: with my latest change, we should reconsider
aboxhall 2015/05/26 23:31:56 Once we're showing the full tree, yes, we should d
153 description : "Element or elements which should be considered descendant s of this element, despite not being descendants in the DOM.",
154 group : "AXRelationshipAttributes"
155 },
156 "name": {
157 name : "Name",
158 description : "The computed name of this element.",
159 group : "Computed"
160 },
161 "role": {
162 name: "Role",
163 description: "The role of this element.",
164 group: "Computed"
165 },
166 "value": {
167 name: "Value",
168 description: "The value of this element.",
169 group: "Computed"
170 }
171 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698