| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 WebInspector.AccessibilityStrings = {}; | 4 Accessibility.AccessibilityStrings = {}; |
| 5 | 5 |
| 6 WebInspector.AccessibilityStrings.AXAttributes = { | 6 Accessibility.AccessibilityStrings.AXAttributes = { |
| 7 'disabled': { | 7 'disabled': { |
| 8 name: 'Disabled', | 8 name: 'Disabled', |
| 9 description: 'If true, this element currently cannot be interacted with.', | 9 description: 'If true, this element currently cannot be interacted with.', |
| 10 group: 'AXGlobalStates' | 10 group: 'AXGlobalStates' |
| 11 }, | 11 }, |
| 12 'invalid': { | 12 'invalid': { |
| 13 name: 'Invalid user entry', | 13 name: 'Invalid user entry', |
| 14 description: 'If true, this element\'s user-entered value does not conform t
o validation requirement.', | 14 description: 'If true, this element\'s user-entered value does not conform t
o validation requirement.', |
| 15 group: 'AXGlobalStates' | 15 group: 'AXGlobalStates' |
| 16 }, | 16 }, |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 'value': { | 155 'value': { |
| 156 name: 'Value', | 156 name: 'Value', |
| 157 description: | 157 description: |
| 158 'The value of this element; this may be user-provided or developer-provi
ded, depending on the element.', | 158 'The value of this element; this may be user-provided or developer-provi
ded, depending on the element.', |
| 159 group: 'Default' | 159 group: 'Default' |
| 160 }, | 160 }, |
| 161 'help': {name: 'Help', description: 'The computed help text for this element.'
, group: 'Default'}, | 161 'help': {name: 'Help', description: 'The computed help text for this element.'
, group: 'Default'}, |
| 162 'description': {name: 'Description', description: 'The accessible description
for this element.', group: 'Default'} | 162 'description': {name: 'Description', description: 'The accessible description
for this element.', group: 'Default'} |
| 163 }; | 163 }; |
| 164 | 164 |
| 165 WebInspector.AccessibilityStrings.AXSourceTypes = { | 165 Accessibility.AccessibilityStrings.AXSourceTypes = { |
| 166 'attribute': {name: 'From attribute', description: 'Value from attribute.'}, | 166 'attribute': {name: 'From attribute', description: 'Value from attribute.'}, |
| 167 'implicit': { | 167 'implicit': { |
| 168 name: 'Implicit', | 168 name: 'Implicit', |
| 169 description: 'Implicit value.', | 169 description: 'Implicit value.', |
| 170 }, | 170 }, |
| 171 'style': {name: 'From style', description: 'Value from style.'}, | 171 'style': {name: 'From style', description: 'Value from style.'}, |
| 172 'contents': {name: 'Contents', description: 'Value from element contents.'}, | 172 'contents': {name: 'Contents', description: 'Value from element contents.'}, |
| 173 'placeholder': {name: 'From placeholder attribute', description: 'Value from p
laceholder attribute.'}, | 173 'placeholder': {name: 'From placeholder attribute', description: 'Value from p
laceholder attribute.'}, |
| 174 'relatedElement': {name: 'Related element', description: 'Value from related e
lement.'} | 174 'relatedElement': {name: 'Related element', description: 'Value from related e
lement.'} |
| 175 }; | 175 }; |
| 176 | 176 |
| 177 WebInspector.AccessibilityStrings.AXNativeSourceTypes = { | 177 Accessibility.AccessibilityStrings.AXNativeSourceTypes = { |
| 178 'figcaption': {name: 'From caption', description: 'Value from figcaption eleme
nt.'}, | 178 'figcaption': {name: 'From caption', description: 'Value from figcaption eleme
nt.'}, |
| 179 'label': {name: 'From label', description: 'Value from label element.'}, | 179 'label': {name: 'From label', description: 'Value from label element.'}, |
| 180 'labelfor': {name: 'From label (for)', description: 'Value from label element
with for= attribute.'}, | 180 'labelfor': {name: 'From label (for)', description: 'Value from label element
with for= attribute.'}, |
| 181 'labelwrapped': {name: 'From label (wrapped)', description: 'Value from label
element wrapped.'}, | 181 'labelwrapped': {name: 'From label (wrapped)', description: 'Value from label
element wrapped.'}, |
| 182 'tablecaption': {name: 'From caption', description: 'Value from table caption.
'}, | 182 'tablecaption': {name: 'From caption', description: 'Value from table caption.
'}, |
| 183 'title': {'name': 'From title', 'description': 'Value from title attribute.'}, | 183 'title': {'name': 'From title', 'description': 'Value from title attribute.'}, |
| 184 'other': {name: 'From native HTML', description: 'Value from native HTML (unkn
own source).'}, | 184 'other': {name: 'From native HTML', description: 'Value from native HTML (unkn
own source).'}, |
| 185 | 185 |
| 186 }; | 186 }; |
| OLD | NEW |