Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
SeleniumHQ
GitHub Repository: SeleniumHQ/Selenium
Path: blob/trunk/third_party/closure/goog/a11y/aria/datatables.js
1865 views
1
// Copyright 2013 The Closure Library Authors. All Rights Reserved.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS-IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
16
17
/**
18
* @fileoverview The file contains data tables generated from the ARIA
19
* standard schema http://www.w3.org/TR/wai-aria/.
20
*
21
* This is auto-generated code. Do not manually edit!
22
*/
23
24
goog.provide('goog.a11y.aria.datatables');
25
26
goog.require('goog.a11y.aria.State');
27
goog.require('goog.object');
28
29
30
/**
31
* A map that contains mapping between an ARIA state and the default value
32
* for it. Note that not all ARIA states have default values.
33
*
34
* @type {Object<!(goog.a11y.aria.State|string), (string|boolean|number)>}
35
*/
36
goog.a11y.aria.DefaultStateValueMap_;
37
38
39
/**
40
* A method that creates a map that contains mapping between an ARIA state and
41
* the default value for it. Note that not all ARIA states have default values.
42
*
43
* @return {!Object<!(goog.a11y.aria.State|string), (string|boolean|number)>}
44
* The names for each of the notification methods.
45
*/
46
goog.a11y.aria.datatables.getDefaultValuesMap = function() {
47
if (!goog.a11y.aria.DefaultStateValueMap_) {
48
goog.a11y.aria.DefaultStateValueMap_ = goog.object.create(
49
goog.a11y.aria.State.ATOMIC, false, goog.a11y.aria.State.AUTOCOMPLETE,
50
'none', goog.a11y.aria.State.DROPEFFECT, 'none',
51
goog.a11y.aria.State.HASPOPUP, false, goog.a11y.aria.State.LIVE, 'off',
52
goog.a11y.aria.State.MULTILINE, false,
53
goog.a11y.aria.State.MULTISELECTABLE, false,
54
goog.a11y.aria.State.ORIENTATION, 'vertical',
55
goog.a11y.aria.State.READONLY, false, goog.a11y.aria.State.RELEVANT,
56
'additions text', goog.a11y.aria.State.REQUIRED, false,
57
goog.a11y.aria.State.SORT, 'none', goog.a11y.aria.State.BUSY, false,
58
goog.a11y.aria.State.DISABLED, false, goog.a11y.aria.State.HIDDEN,
59
false, goog.a11y.aria.State.INVALID, 'false');
60
}
61
62
return goog.a11y.aria.DefaultStateValueMap_;
63
};
64
65