Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | |
|
pfeldman
2015/05/29 12:35:31
TIL: no (c) as per http://dev.chromium.org/develop
aboxhall
2015/05/29 15:33:42
Done.
| |
| 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 = { | |
|
pfeldman
2015/05/29 12:35:31
Pleasr add a prefix matching the file name
aboxhall
2015/05/29 15:33:42
Done.
| |
| 6 "disabled" : { | |
| 7 name : "Disabled", | |
| 8 description : "If true, this element currently cannot be interacted with .", | |
|
paulirish
2015/05/27 05:33:32
"Currently" always applies to these.
The spec te
aboxhall
2015/05/27 18:22:33
I added "currently" to convey that it's a state ra
paulirish
2015/05/27 23:25:32
Yeah not a big deal. let's keep 'currently'
| |
| 9 group : "AXGlobalStates" | |
| 10 }, | |
| 11 "invalid" : { | |
| 12 name : "Invalid user entry", | |
| 13 description : "If true, this element's user-entered value does not confo rm to validation requirement.", | |
| 14 group : "AXGlobalStates" | |
| 15 }, | |
| 16 "live" : { | |
| 17 name : "Live", | |
|
paulirish
2015/05/27 05:33:32
"Live region" since the rest are grouped under th
aboxhall
2015/05/27 18:22:33
Done.
| |
| 18 description : "Whether and what type of live updates may be expected for this element.", | |
|
paulirish
2015/05/27 05:33:32
s/type/priority ?
Whereas atomic is the flavor o
aboxhall
2015/05/27 18:22:33
Oh, good point. Done.
| |
| 19 group : "AXLiveRegionAttributes" | |
| 20 }, | |
| 21 "atomic" : { | |
| 22 name : "Atomic (Live Regions)", | |
| 23 description : "If this element may receive live updates, whether the ent ire live region should be presented to the user on changes.", | |
|
paulirish
2015/05/27 05:33:32
add to the end? "… or just the changed nodes."
aboxhall
2015/05/27 18:22:33
Done.
| |
| 24 group : "AXLiveRegionAttributes" | |
| 25 }, | |
| 26 "relevant" : { | |
| 27 name : "Relevant (Live Regions)", | |
| 28 description : "If this element may receive live updates, what type of up dates should trigger a notification.", | |
|
paulirish
2015/05/27 05:33:32
Let's add the sort of updates?
"…what type of upd
aboxhall
2015/05/27 18:22:33
Not sure about this. It will look something like:
paulirish
2015/05/27 23:25:32
Maybe, but as I'm personally quite new to this stu
aboxhall
2015/05/27 23:45:34
I really don't think this is the place to surface
paulirish
2015/05/27 23:51:55
ok
| |
| 29 group : "AXLiveRegionAttributes" | |
| 30 }, | |
| 31 "busy" : { | |
| 32 name : "Busy (Live Regions)", | |
| 33 description : "Whether this element or its subtree are currently being u pdated (and thus may be in an inconsistent state).", | |
| 34 group : "AXLiveRegionAttributes" | |
| 35 }, | |
| 36 "root" : { | |
| 37 name : "Live region root", | |
| 38 description : "If this element may receive live updates, the root elemen t of the containing live region.", | |
| 39 group : "AXLiveRegionAttributes" | |
| 40 }, | |
| 41 "autocomplete" : { | |
| 42 name : "Has autocomplete", | |
| 43 description : "Whether and what type of autocomplete suggestions are cur rently provided by this element.", | |
| 44 group : "AXWidgetAttributes" | |
| 45 }, | |
| 46 "haspopup" : { | |
| 47 name : "Has popup", | |
| 48 description : "Whether this element has caused some kind of pop-up (such as a menu) to appear.", | |
| 49 group : "AXWidgetAttributes" | |
| 50 }, | |
| 51 "level" : { | |
| 52 name : "Level", | |
| 53 description : "The hierarchical level of this element.", | |
| 54 group : "AXWidgetAttributes" | |
| 55 }, | |
| 56 "multiselectable" : { | |
| 57 name : "Multi-selectable", | |
| 58 description : "Whether a user may select more than one option from this widget.", | |
| 59 group : "AXWidgetAttributes" | |
| 60 }, | |
| 61 "orientation" : { | |
| 62 name : "Orientation", | |
| 63 description : "Whether this linear element's orientation is horizontal o r vertical.", | |
| 64 group : "AXWidgetAttributes" | |
| 65 }, | |
| 66 "multiline" : { | |
| 67 name : "Multi-line", | |
| 68 description : "Whether this textbox may have more than one line.", | |
| 69 group : "AXWidgetAttributes" | |
| 70 }, | |
| 71 "readonly" : { | |
| 72 name : "Read-only", | |
| 73 description : "If true, this element may be interacted with, but its val ue cannot be changed.", | |
| 74 group : "AXWidgetAttributes" | |
| 75 }, | |
| 76 "required" : { | |
| 77 name : "Required", | |
| 78 description : "Whether this element is a required field in a form.", | |
|
paulirish
2015/05/27 05:33:32
"Whether an input value is required for this eleme
aboxhall
2015/05/27 18:22:33
I had something like that, and then I figured peop
paulirish
2015/05/27 23:25:32
I added this because I think developers are still
aboxhall
2015/05/27 23:45:34
They're not, though. This is just the semantic equ
paulirish
2015/05/27 23:51:55
You're telling me that we can end up with a comput
aboxhall
2015/05/27 23:55:43
Afraid so! Welcome to the wonderful world of seman
| |
| 79 group : "AXWidgetAttributes" | |
| 80 }, | |
| 81 "valuemin" : { | |
| 82 name : "Minimum value", | |
| 83 description : "For a range widget, the minimum possible value.", | |
|
paulirish
2015/05/27 05:33:32
for this and the next, s/possible/allowed/
aboxhall
2015/05/27 18:22:33
Done.
| |
| 84 group : "AXWidgetAttributes" | |
| 85 }, | |
| 86 "valuemax" : { | |
| 87 name : "Maximum value", | |
| 88 description : "For a range widget, the maximum possible value.", | |
| 89 group : "AXWidgetAttributes" | |
| 90 }, | |
| 91 "valuetext" : { | |
| 92 name : "Value description", | |
| 93 description : "A human-readable version of the value of a range widget ( where necessary).", | |
| 94 group : "AXWidgetAttributes" | |
| 95 }, | |
| 96 "checked" : { | |
| 97 name : "Checked", | |
| 98 description : "Whether this checkbox, radio button or tree item is check ed, unchecked, or mixed (e.g. has both checked and un-checked children).", | |
| 99 group : "AXWidgetStates" | |
| 100 }, | |
| 101 "expanded" : { | |
| 102 name : "Expanded", | |
| 103 description : "Whether this element, or another grouping element it cont rols, is expanded.", | |
| 104 group : "AXWidgetStates" | |
| 105 }, | |
| 106 "pressed" : { | |
| 107 name : "Pressed", | |
| 108 description : "Whether this toggle button is currently in a pressed stat e.", | |
| 109 group : "AXWidgetStates" | |
| 110 }, | |
| 111 "selected" : { | |
| 112 name : "Selected", | |
| 113 description : "Whether the option represented by this element is current ly selected.", | |
| 114 group : "AXWidgetStates" | |
| 115 }, | |
| 116 "activedescendant" : { | |
| 117 name : "Active descendant", | |
| 118 description : "The descendant of this element which is active; i.e. the element to which focus should be delegated.", | |
| 119 group : "AXRelationshipAttributes" | |
| 120 }, | |
| 121 "flowto" : { | |
| 122 name : "Flows to", | |
| 123 description : "Element to which the user may choose to navigate after th is one, instead of the next element in the DOM order.", | |
| 124 group : "AXRelationshipAttributes" | |
| 125 }, | |
| 126 "controls" : { | |
| 127 name : "Controls", | |
| 128 description : "Element or elements whose content or presence is/are cont rolled by this widget.", | |
| 129 group : "AXRelationshipAttributes" | |
| 130 }, | |
| 131 "describedby" : { | |
| 132 name : "Described by", | |
| 133 description : "Element or elements which form the description of this el ement.", | |
| 134 group : "AXRelationshipAttributes" | |
| 135 }, | |
| 136 "labelledby" : { | |
| 137 name : "Labeled by", | |
| 138 description : "Element or elements which may form the name of this eleme nt.", | |
| 139 group : "AXRelationshipAttributes" | |
| 140 }, | |
| 141 "owns" : { | |
| 142 name : "Owns", | |
| 143 description : "Element or elements which should be considered descendant s of this element, despite not being descendants in the DOM.", | |
| 144 group : "AXRelationshipAttributes" | |
| 145 }, | |
| 146 "name": { | |
| 147 name : "Name", | |
| 148 description : "The computed name of this element.", | |
| 149 group : "Computed" | |
| 150 }, | |
| 151 "role": { | |
| 152 name: "Role", | |
| 153 description: "The role of this element.", | |
|
paulirish
2015/05/27 05:33:32
Can we offer a tad more than this? My attempt:
"T
aboxhall
2015/05/27 18:22:33
Yeah, I wrote these three in a hurry :)
My attempt
paulirish
2015/05/27 23:25:32
Perfekt.
| |
| 154 group: "Computed" | |
| 155 }, | |
| 156 "value": { | |
| 157 name: "Value", | |
| 158 description: "The value of this element.", | |
|
paulirish
2015/05/27 05:33:32
"The value of this element, which may be a boolean
aboxhall
2015/05/27 18:22:33
Again, when its actual value is right next to the
paulirish
2015/05/27 23:25:31
Would rather see "developer" instead of "author".
aboxhall
2015/05/27 23:45:35
Totally agreed re: defining value (hence why I kin
| |
| 159 group: "Computed" | |
| 160 } | |
| 161 } | |
| OLD | NEW |