| OLD | NEW |
| (Empty) | |
| 1 // 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. |
| 4 |
| 5 WebInspector.AccessibilityStrings = {}; |
| 6 |
| 7 WebInspector.AccessibilityStrings.AXAttributes = { |
| 8 "disabled" : { |
| 9 name : "Disabled", |
| 10 description : "If true, this element currently cannot be interacted with
.", |
| 11 group : "AXGlobalStates" |
| 12 }, |
| 13 "invalid" : { |
| 14 name : "Invalid user entry", |
| 15 description : "If true, this element's user-entered value does not confo
rm to validation requirement.", |
| 16 group : "AXGlobalStates" |
| 17 }, |
| 18 "live" : { |
| 19 name : "Live region", |
| 20 description : "Whether and what priority of live updates may be expected
for this element.", |
| 21 group : "AXLiveRegionAttributes" |
| 22 }, |
| 23 "atomic" : { |
| 24 name : "Atomic (live regions)", |
| 25 description : "If this element may receive live updates, whether the ent
ire live region should be presented to the user on changes, or only changed node
s.", |
| 26 group : "AXLiveRegionAttributes" |
| 27 }, |
| 28 "relevant" : { |
| 29 name : "Relevant (live regions)", |
| 30 description : "If this element may receive live updates, what type of up
dates should trigger a notification.", |
| 31 group : "AXLiveRegionAttributes" |
| 32 }, |
| 33 "busy" : { |
| 34 name : "Busy (live regions)", |
| 35 description : "Whether this element or its subtree are currently being u
pdated (and thus may be in an inconsistent state).", |
| 36 group : "AXLiveRegionAttributes" |
| 37 }, |
| 38 "root" : { |
| 39 name : "Live region root", |
| 40 description : "If this element may receive live updates, the root elemen
t of the containing live region.", |
| 41 group : "AXLiveRegionAttributes" |
| 42 }, |
| 43 "autocomplete" : { |
| 44 name : "Has autocomplete", |
| 45 description : "Whether and what type of autocomplete suggestions are cur
rently provided by this element.", |
| 46 group : "AXWidgetAttributes" |
| 47 }, |
| 48 "haspopup" : { |
| 49 name : "Has popup", |
| 50 description : "Whether this element has caused some kind of pop-up (such
as a menu) to appear.", |
| 51 group : "AXWidgetAttributes" |
| 52 }, |
| 53 "level" : { |
| 54 name : "Level", |
| 55 description : "The hierarchical level of this element.", |
| 56 group : "AXWidgetAttributes" |
| 57 }, |
| 58 "multiselectable" : { |
| 59 name : "Multi-selectable", |
| 60 description : "Whether a user may select more than one option from this
widget.", |
| 61 group : "AXWidgetAttributes" |
| 62 }, |
| 63 "orientation" : { |
| 64 name : "Orientation", |
| 65 description : "Whether this linear element's orientation is horizontal o
r vertical.", |
| 66 group : "AXWidgetAttributes" |
| 67 }, |
| 68 "multiline" : { |
| 69 name : "Multi-line", |
| 70 description : "Whether this textbox may have more than one line.", |
| 71 group : "AXWidgetAttributes" |
| 72 }, |
| 73 "readonly" : { |
| 74 name : "Read-only", |
| 75 description : "If true, this element may be interacted with, but its val
ue cannot be changed.", |
| 76 group : "AXWidgetAttributes" |
| 77 }, |
| 78 "required" : { |
| 79 name : "Required", |
| 80 description : "Whether this element is a required field in a form.", |
| 81 group : "AXWidgetAttributes" |
| 82 }, |
| 83 "valuemin" : { |
| 84 name : "Minimum value", |
| 85 description : "For a range widget, the minimum allowed value.", |
| 86 group : "AXWidgetAttributes" |
| 87 }, |
| 88 "valuemax" : { |
| 89 name : "Maximum value", |
| 90 description : "For a range widget, the maximum allowed value.", |
| 91 group : "AXWidgetAttributes" |
| 92 }, |
| 93 "valuetext" : { |
| 94 name : "Value description", |
| 95 description : "A human-readable version of the value of a range widget (
where necessary).", |
| 96 group : "AXWidgetAttributes" |
| 97 }, |
| 98 "checked" : { |
| 99 name : "Checked", |
| 100 description : "Whether this checkbox, radio button or tree item is check
ed, unchecked, or mixed (e.g. has both checked and un-checked children).", |
| 101 group : "AXWidgetStates" |
| 102 }, |
| 103 "expanded" : { |
| 104 name : "Expanded", |
| 105 description : "Whether this element, or another grouping element it cont
rols, is expanded.", |
| 106 group : "AXWidgetStates" |
| 107 }, |
| 108 "pressed" : { |
| 109 name : "Pressed", |
| 110 description : "Whether this toggle button is currently in a pressed stat
e.", |
| 111 group : "AXWidgetStates" |
| 112 }, |
| 113 "selected" : { |
| 114 name : "Selected", |
| 115 description : "Whether the option represented by this element is current
ly selected.", |
| 116 group : "AXWidgetStates" |
| 117 }, |
| 118 "activedescendant" : { |
| 119 name : "Active descendant", |
| 120 description : "The descendant of this element which is active; i.e. the
element to which focus should be delegated.", |
| 121 group : "AXRelationshipAttributes" |
| 122 }, |
| 123 "flowto" : { |
| 124 name : "Flows to", |
| 125 description : "Element to which the user may choose to navigate after th
is one, instead of the next element in the DOM order.", |
| 126 group : "AXRelationshipAttributes" |
| 127 }, |
| 128 "controls" : { |
| 129 name : "Controls", |
| 130 description : "Element or elements whose content or presence is/are cont
rolled by this widget.", |
| 131 group : "AXRelationshipAttributes" |
| 132 }, |
| 133 "describedby" : { |
| 134 name : "Described by", |
| 135 description : "Element or elements which form the description of this el
ement.", |
| 136 group : "AXRelationshipAttributes" |
| 137 }, |
| 138 "labelledby" : { |
| 139 name : "Labeled by", |
| 140 description : "Element or elements which may form the name of this eleme
nt.", |
| 141 group : "AXRelationshipAttributes" |
| 142 }, |
| 143 "owns" : { |
| 144 name : "Owns", |
| 145 description : "Element or elements which should be considered descendant
s of this element, despite not being descendants in the DOM.", |
| 146 group : "AXRelationshipAttributes" |
| 147 }, |
| 148 "name": { |
| 149 name : "Name", |
| 150 description : "The computed name of this element.", |
| 151 group : "Default" |
| 152 }, |
| 153 "role": { |
| 154 name: "Role", |
| 155 description: "Indicates the purpose of this element, such as a user inte
rface idiom for a widget, or structural role within a document.", |
| 156 group: "Default" |
| 157 }, |
| 158 "value": { |
| 159 name: "Value", |
| 160 description: "The value of this element; this may be user-provided or de
veloper-provided, depending on the element.", |
| 161 group: "Default" |
| 162 } |
| 163 }; |
| OLD | NEW |