axe-core 4.4.2-canary.7caef89 → 4.4.2-canary.7e01b00
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/axe.js +86 -60
- package/axe.min.js +2 -2
- package/package.json +1 -1
- package/sri-history.json +3 -3
package/axe.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! axe v4.4.2-canary.
|
|
1
|
+
/*! axe v4.4.2-canary.7e01b00
|
|
2
2
|
* Copyright (c) 2022 Deque Systems, Inc.
|
|
3
3
|
*
|
|
4
4
|
* Your use of this Source Code Form is subject to the terms of the Mozilla Public
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}, _typeof(obj);
|
|
23
23
|
}
|
|
24
24
|
var axe = axe || {};
|
|
25
|
-
axe.version = '4.4.2-canary.
|
|
25
|
+
axe.version = '4.4.2-canary.7e01b00';
|
|
26
26
|
if (typeof define === 'function' && define.amd) {
|
|
27
27
|
define('axe-core', [], function() {
|
|
28
28
|
return axe;
|
|
@@ -7064,7 +7064,7 @@
|
|
|
7064
7064
|
return _isCurrentPageLink;
|
|
7065
7065
|
},
|
|
7066
7066
|
isFocusable: function isFocusable() {
|
|
7067
|
-
return
|
|
7067
|
+
return _isFocusable;
|
|
7068
7068
|
},
|
|
7069
7069
|
isHTML5: function isHTML5() {
|
|
7070
7070
|
return is_html5_default;
|
|
@@ -8029,7 +8029,7 @@
|
|
|
8029
8029
|
return false;
|
|
8030
8030
|
}
|
|
8031
8031
|
var is_natively_focusable_default = isNativelyFocusable;
|
|
8032
|
-
function
|
|
8032
|
+
function _isFocusable(el) {
|
|
8033
8033
|
var vNode = el instanceof abstract_virtual_node_default ? el : get_node_from_tree_default(el);
|
|
8034
8034
|
if (vNode.props.nodeType !== 1) {
|
|
8035
8035
|
return false;
|
|
@@ -8045,10 +8045,9 @@
|
|
|
8045
8045
|
}
|
|
8046
8046
|
return false;
|
|
8047
8047
|
}
|
|
8048
|
-
var is_focusable_default = isFocusable;
|
|
8049
8048
|
function insertedIntoFocusOrder(el) {
|
|
8050
8049
|
var tabIndex = parseInt(el.getAttribute('tabindex'), 10);
|
|
8051
|
-
return tabIndex > -1 &&
|
|
8050
|
+
return tabIndex > -1 && _isFocusable(el) && !is_natively_focusable_default(el);
|
|
8052
8051
|
}
|
|
8053
8052
|
var inserted_into_focus_order_default = insertedIntoFocusOrder;
|
|
8054
8053
|
function isHTML5(doc) {
|
|
@@ -10567,7 +10566,7 @@
|
|
|
10567
10566
|
key: 'isFocusable',
|
|
10568
10567
|
get: function get() {
|
|
10569
10568
|
if (!this._cache.hasOwnProperty('isFocusable')) {
|
|
10570
|
-
this._cache.isFocusable =
|
|
10569
|
+
this._cache.isFocusable = _isFocusable(this.actualNode);
|
|
10571
10570
|
}
|
|
10572
10571
|
return this._cache.isFocusable;
|
|
10573
10572
|
}
|
|
@@ -12685,7 +12684,7 @@
|
|
|
12685
12684
|
var hasGlobalAria = get_global_aria_attrs_default().find(function(attr) {
|
|
12686
12685
|
return vNode.hasAttr(attr);
|
|
12687
12686
|
});
|
|
12688
|
-
return emptyAlt && !hasGlobalAria && !
|
|
12687
|
+
return emptyAlt && !hasGlobalAria && !_isFocusable(vNode) ? 'presentation' : 'img';
|
|
12689
12688
|
},
|
|
12690
12689
|
input: function input(vNode) {
|
|
12691
12690
|
var suggestionsSourceElement;
|
|
@@ -12996,7 +12995,7 @@
|
|
|
12996
12995
|
var hasGlobalAria = get_global_aria_attrs_default().some(function(attr) {
|
|
12997
12996
|
return vNode.hasAttr(attr);
|
|
12998
12997
|
});
|
|
12999
|
-
return hasGlobalAria ||
|
|
12998
|
+
return hasGlobalAria || _isFocusable(vNode);
|
|
13000
12999
|
}
|
|
13001
13000
|
function resolveRole(node) {
|
|
13002
13001
|
var _ref37 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -15969,7 +15968,7 @@
|
|
|
15969
15968
|
}
|
|
15970
15969
|
if (invalid.length) {
|
|
15971
15970
|
this.data(invalid);
|
|
15972
|
-
if (!is_html_element_default(virtualNode) && !role && !
|
|
15971
|
+
if (!is_html_element_default(virtualNode) && !role && !_isFocusable(virtualNode)) {
|
|
15973
15972
|
return void 0;
|
|
15974
15973
|
}
|
|
15975
15974
|
return false;
|
|
@@ -16215,10 +16214,15 @@
|
|
|
16215
16214
|
if (!reqContext) {
|
|
16216
16215
|
return null;
|
|
16217
16216
|
}
|
|
16217
|
+
var allowsGroup = reqContext.includes('group');
|
|
16218
16218
|
var vNode = includeElement ? virtualNode : virtualNode.parent;
|
|
16219
16219
|
while (vNode) {
|
|
16220
|
-
var
|
|
16221
|
-
|
|
16220
|
+
var role = get_role_default(vNode, {
|
|
16221
|
+
noPresentational: true
|
|
16222
|
+
});
|
|
16223
|
+
if (!role) {
|
|
16224
|
+
vNode = vNode.parent;
|
|
16225
|
+
} else if (role === 'group' && allowsGroup) {
|
|
16222
16226
|
if (ownGroupRoles.includes(explicitRole2)) {
|
|
16223
16227
|
reqContext.push(explicitRole2);
|
|
16224
16228
|
}
|
|
@@ -16226,14 +16230,11 @@
|
|
|
16226
16230
|
return r !== 'group';
|
|
16227
16231
|
});
|
|
16228
16232
|
vNode = vNode.parent;
|
|
16229
|
-
|
|
16230
|
-
}
|
|
16231
|
-
if (reqContext.includes(parentRole)) {
|
|
16233
|
+
} else if (reqContext.includes(role)) {
|
|
16232
16234
|
return null;
|
|
16233
|
-
} else
|
|
16235
|
+
} else {
|
|
16234
16236
|
return reqContext;
|
|
16235
16237
|
}
|
|
16236
|
-
vNode = vNode.parent;
|
|
16237
16238
|
}
|
|
16238
16239
|
return reqContext;
|
|
16239
16240
|
}
|
|
@@ -16440,7 +16441,7 @@
|
|
|
16440
16441
|
}
|
|
16441
16442
|
var invalidrole_evaluate_default = invalidroleEvaluate;
|
|
16442
16443
|
function isElementFocusableEvaluate(node, options, virtualNode) {
|
|
16443
|
-
return
|
|
16444
|
+
return _isFocusable(virtualNode);
|
|
16444
16445
|
}
|
|
16445
16446
|
var is_element_focusable_evaluate_default = isElementFocusableEvaluate;
|
|
16446
16447
|
function noImplicitExplicitLabelEvaluate(node, options, virtualNode) {
|
|
@@ -17314,6 +17315,9 @@
|
|
|
17314
17315
|
if (!options || !options.selector || typeof options.selector !== 'string') {
|
|
17315
17316
|
throw new TypeError('has-descendant requires options.selector to be a string');
|
|
17316
17317
|
}
|
|
17318
|
+
if (options.passForModal && is_modal_open_default()) {
|
|
17319
|
+
return true;
|
|
17320
|
+
}
|
|
17317
17321
|
var matchingElms = query_selector_all_filter_default(virtualNode, options.selector, function(vNode) {
|
|
17318
17322
|
return is_visible_default(vNode.actualNode, true);
|
|
17319
17323
|
});
|
|
@@ -17470,7 +17474,7 @@
|
|
|
17470
17474
|
var focusable_modal_open_evaluate_default = focusableModalOpenEvaluate;
|
|
17471
17475
|
function focusableNoNameEvaluate(node, options, virtualNode) {
|
|
17472
17476
|
var tabIndex = virtualNode.attr('tabindex');
|
|
17473
|
-
var inFocusOrder =
|
|
17477
|
+
var inFocusOrder = _isFocusable(virtualNode) && tabIndex > -1;
|
|
17474
17478
|
if (!inFocusOrder) {
|
|
17475
17479
|
return false;
|
|
17476
17480
|
}
|
|
@@ -17504,8 +17508,21 @@
|
|
|
17504
17508
|
}) ? void 0 : false;
|
|
17505
17509
|
}
|
|
17506
17510
|
var focusable_not_tabbable_evaluate_default = focusableNotTabbableEvaluate;
|
|
17511
|
+
function frameFocusableContentEvaluate(node, options, virtualNode) {
|
|
17512
|
+
if (!virtualNode.children) {
|
|
17513
|
+
return void 0;
|
|
17514
|
+
}
|
|
17515
|
+
try {
|
|
17516
|
+
return !virtualNode.children.some(function(child) {
|
|
17517
|
+
return focusableDescendants(child);
|
|
17518
|
+
});
|
|
17519
|
+
} catch (e) {
|
|
17520
|
+
return void 0;
|
|
17521
|
+
}
|
|
17522
|
+
}
|
|
17507
17523
|
function focusableDescendants(vNode) {
|
|
17508
|
-
|
|
17524
|
+
var tabIndex = parseInt(vNode.attr('tabindex'), 10);
|
|
17525
|
+
if ((isNaN(tabIndex) || tabIndex > -1) && _isFocusable(vNode)) {
|
|
17509
17526
|
return true;
|
|
17510
17527
|
}
|
|
17511
17528
|
if (!vNode.children) {
|
|
@@ -17518,19 +17535,6 @@
|
|
|
17518
17535
|
return focusableDescendants(child);
|
|
17519
17536
|
});
|
|
17520
17537
|
}
|
|
17521
|
-
function frameFocusableContentEvaluate(node, options, virtualNode) {
|
|
17522
|
-
if (!virtualNode.children) {
|
|
17523
|
-
return void 0;
|
|
17524
|
-
}
|
|
17525
|
-
try {
|
|
17526
|
-
return !virtualNode.children.some(function(child) {
|
|
17527
|
-
return focusableDescendants(child);
|
|
17528
|
-
});
|
|
17529
|
-
} catch (e) {
|
|
17530
|
-
return void 0;
|
|
17531
|
-
}
|
|
17532
|
-
}
|
|
17533
|
-
var frame_focusable_content_evaluate_default = frameFocusableContentEvaluate;
|
|
17534
17538
|
function landmarkIsTopLevelEvaluate(node) {
|
|
17535
17539
|
var landmarks = get_aria_roles_by_type_default('landmark');
|
|
17536
17540
|
var parent = get_composed_parent_default(node);
|
|
@@ -17584,7 +17588,7 @@
|
|
|
17584
17588
|
var retVal = [];
|
|
17585
17589
|
vNode.children.forEach(function(child) {
|
|
17586
17590
|
var role = get_role_default(child);
|
|
17587
|
-
if (get_role_type_default(role) === 'widget' &&
|
|
17591
|
+
if (get_role_type_default(role) === 'widget' && _isFocusable(child)) {
|
|
17588
17592
|
retVal.push(child);
|
|
17589
17593
|
} else {
|
|
17590
17594
|
retVal.push.apply(retVal, _toConsumableArray(getFocusableDescendants(child)));
|
|
@@ -18664,7 +18668,7 @@
|
|
|
18664
18668
|
var is_data_cell_default = isDataCell;
|
|
18665
18669
|
function isDataTable(node) {
|
|
18666
18670
|
var role = (node.getAttribute('role') || '').toLowerCase();
|
|
18667
|
-
if ((role === 'presentation' || role === 'none') && !
|
|
18671
|
+
if ((role === 'presentation' || role === 'none') && !_isFocusable(node)) {
|
|
18668
18672
|
return false;
|
|
18669
18673
|
}
|
|
18670
18674
|
if (node.getAttribute('contenteditable') === 'true' || find_up_default(node, '[contenteditable="true"]')) {
|
|
@@ -19187,7 +19191,7 @@
|
|
|
19187
19191
|
var hasGlobalAria = get_global_aria_attrs_default().some(function(attr) {
|
|
19188
19192
|
return virtualNode.hasAttr(attr);
|
|
19189
19193
|
});
|
|
19190
|
-
var focusable =
|
|
19194
|
+
var focusable = _isFocusable(virtualNode);
|
|
19191
19195
|
var messageKey;
|
|
19192
19196
|
if (hasGlobalAria && !focusable) {
|
|
19193
19197
|
messageKey = 'globalAria';
|
|
@@ -19594,7 +19598,7 @@
|
|
|
19594
19598
|
var id = node.getAttribute('id').trim();
|
|
19595
19599
|
var idSelector = '*[id="'.concat(escape_selector_default(id), '"]');
|
|
19596
19600
|
var idMatchingElms = Array.from(get_root_node_default2(node).querySelectorAll(idSelector));
|
|
19597
|
-
return !is_accessible_ref_default(node) && idMatchingElms.some(
|
|
19601
|
+
return !is_accessible_ref_default(node) && idMatchingElms.some(_isFocusable);
|
|
19598
19602
|
}
|
|
19599
19603
|
var duplicate_id_active_matches_default = duplicateIdActiveMatches;
|
|
19600
19604
|
function duplicateIdAriaMatches(node) {
|
|
@@ -19606,7 +19610,7 @@
|
|
|
19606
19610
|
var idSelector = '*[id="'.concat(escape_selector_default(id), '"]');
|
|
19607
19611
|
var idMatchingElms = Array.from(get_root_node_default2(node).querySelectorAll(idSelector));
|
|
19608
19612
|
return !is_accessible_ref_default(node) && idMatchingElms.every(function(elm) {
|
|
19609
|
-
return !
|
|
19613
|
+
return !_isFocusable(elm);
|
|
19610
19614
|
});
|
|
19611
19615
|
}
|
|
19612
19616
|
var duplicate_id_misc_matches_default = duplicateIdMiscMatches;
|
|
@@ -19732,7 +19736,7 @@
|
|
|
19732
19736
|
}
|
|
19733
19737
|
var landmark_unique_matches_default = landmarkUniqueMatches;
|
|
19734
19738
|
function dataTableMatches2(node) {
|
|
19735
|
-
return !is_data_table_default(node) && !
|
|
19739
|
+
return !is_data_table_default(node) && !_isFocusable(node);
|
|
19736
19740
|
}
|
|
19737
19741
|
var layout_table_matches_default = dataTableMatches2;
|
|
19738
19742
|
function linkInTextBlockMatches(node) {
|
|
@@ -19784,7 +19788,7 @@
|
|
|
19784
19788
|
return true;
|
|
19785
19789
|
}
|
|
19786
19790
|
var _ref85 = aria_roles_default[role] || {}, accessibleNameRequired = _ref85.accessibleNameRequired;
|
|
19787
|
-
if (accessibleNameRequired ||
|
|
19791
|
+
if (accessibleNameRequired || _isFocusable(virtualNode)) {
|
|
19788
19792
|
return true;
|
|
19789
19793
|
}
|
|
19790
19794
|
return false;
|
|
@@ -19931,7 +19935,7 @@
|
|
|
19931
19935
|
'focusable-modal-open-evaluate': focusable_modal_open_evaluate_default,
|
|
19932
19936
|
'focusable-no-name-evaluate': focusable_no_name_evaluate_default,
|
|
19933
19937
|
'focusable-not-tabbable-evaluate': focusable_not_tabbable_evaluate_default,
|
|
19934
|
-
'frame-focusable-content-evaluate':
|
|
19938
|
+
'frame-focusable-content-evaluate': frameFocusableContentEvaluate,
|
|
19935
19939
|
'frame-focusable-content-matches': frame_focusable_content_matches_default,
|
|
19936
19940
|
'frame-tested-after': frame_tested_after_default,
|
|
19937
19941
|
'frame-tested-evaluate': frame_tested_evaluate_default,
|
|
@@ -23262,7 +23266,7 @@
|
|
|
23262
23266
|
id: 'aria-command-name',
|
|
23263
23267
|
selector: '[role="link"], [role="button"], [role="menuitem"]',
|
|
23264
23268
|
matches: 'no-naming-method-matches',
|
|
23265
|
-
tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
|
|
23269
|
+
tags: [ 'cat.aria', 'wcag2a', 'wcag412', 'ACT' ],
|
|
23266
23270
|
actIds: [ '97a4e1' ],
|
|
23267
23271
|
all: [],
|
|
23268
23272
|
any: [ 'has-visible-text', 'aria-label', 'aria-labelledby', {
|
|
@@ -23348,6 +23352,7 @@
|
|
|
23348
23352
|
id: 'aria-required-attr',
|
|
23349
23353
|
selector: '[role]',
|
|
23350
23354
|
tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
|
|
23355
|
+
actIds: [ '4e8ab6' ],
|
|
23351
23356
|
all: [],
|
|
23352
23357
|
any: [ 'aria-required-attr' ],
|
|
23353
23358
|
none: []
|
|
@@ -23356,7 +23361,7 @@
|
|
|
23356
23361
|
selector: '[role]',
|
|
23357
23362
|
matches: 'aria-required-children-matches',
|
|
23358
23363
|
tags: [ 'cat.aria', 'wcag2a', 'wcag131' ],
|
|
23359
|
-
actIds: [ '
|
|
23364
|
+
actIds: [ 'bc4a75' ],
|
|
23360
23365
|
all: [],
|
|
23361
23366
|
any: [ {
|
|
23362
23367
|
options: {
|
|
@@ -23370,7 +23375,7 @@
|
|
|
23370
23375
|
selector: '[role]',
|
|
23371
23376
|
matches: 'aria-required-parent-matches',
|
|
23372
23377
|
tags: [ 'cat.aria', 'wcag2a', 'wcag131' ],
|
|
23373
|
-
actIds: [ '
|
|
23378
|
+
actIds: [ 'ff89c9' ],
|
|
23374
23379
|
all: [],
|
|
23375
23380
|
any: [ {
|
|
23376
23381
|
options: {
|
|
@@ -23396,6 +23401,7 @@
|
|
|
23396
23401
|
selector: '[role]',
|
|
23397
23402
|
matches: 'no-empty-role-matches',
|
|
23398
23403
|
tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
|
|
23404
|
+
actIds: [ '674b10' ],
|
|
23399
23405
|
all: [],
|
|
23400
23406
|
any: [],
|
|
23401
23407
|
none: [ 'fallbackrole', 'invalidrole', 'abstractrole', 'unsupportedrole', 'deprecatedrole' ]
|
|
@@ -23411,6 +23417,7 @@
|
|
|
23411
23417
|
selector: '[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',
|
|
23412
23418
|
matches: 'no-naming-method-matches',
|
|
23413
23419
|
tags: [ 'cat.aria', 'wcag2a', 'wcag412', 'ACT' ],
|
|
23420
|
+
actIds: [ 'e086e5' ],
|
|
23414
23421
|
all: [],
|
|
23415
23422
|
any: [ 'has-visible-text', 'aria-label', 'aria-labelledby', {
|
|
23416
23423
|
options: {
|
|
@@ -23449,7 +23456,7 @@
|
|
|
23449
23456
|
id: 'aria-valid-attr-value',
|
|
23450
23457
|
matches: 'aria-has-attr-matches',
|
|
23451
23458
|
tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
|
|
23452
|
-
actIds: [ '
|
|
23459
|
+
actIds: [ '6a7281' ],
|
|
23453
23460
|
all: [ {
|
|
23454
23461
|
options: [],
|
|
23455
23462
|
id: 'aria-valid-attr-value'
|
|
@@ -23460,6 +23467,7 @@
|
|
|
23460
23467
|
id: 'aria-valid-attr',
|
|
23461
23468
|
matches: 'aria-has-attr-matches',
|
|
23462
23469
|
tags: [ 'cat.aria', 'wcag2a', 'wcag412' ],
|
|
23470
|
+
actIds: [ '5f99a7' ],
|
|
23463
23471
|
all: [],
|
|
23464
23472
|
any: [ {
|
|
23465
23473
|
options: [],
|
|
@@ -23472,14 +23480,14 @@
|
|
|
23472
23480
|
enabled: false,
|
|
23473
23481
|
excludeHidden: false,
|
|
23474
23482
|
tags: [ 'cat.time-and-media', 'wcag2a', 'wcag121', 'section508', 'section508.22.a' ],
|
|
23475
|
-
actIds: [ '
|
|
23483
|
+
actIds: [ '2eb176', 'afb423' ],
|
|
23476
23484
|
all: [],
|
|
23477
23485
|
any: [],
|
|
23478
23486
|
none: [ 'caption' ]
|
|
23479
23487
|
}, {
|
|
23480
23488
|
id: 'autocomplete-valid',
|
|
23481
23489
|
matches: 'autocomplete-matches',
|
|
23482
|
-
tags: [ 'cat.forms', 'wcag21aa', 'wcag135' ],
|
|
23490
|
+
tags: [ 'cat.forms', 'wcag21aa', 'wcag135', 'ACT' ],
|
|
23483
23491
|
actIds: [ '73f2c2' ],
|
|
23484
23492
|
all: [ {
|
|
23485
23493
|
options: {
|
|
@@ -23492,7 +23500,8 @@
|
|
|
23492
23500
|
}, {
|
|
23493
23501
|
id: 'avoid-inline-spacing',
|
|
23494
23502
|
selector: '[style]',
|
|
23495
|
-
tags: [ 'cat.structure', 'wcag21aa', 'wcag1412' ],
|
|
23503
|
+
tags: [ 'cat.structure', 'wcag21aa', 'wcag1412', 'ACT' ],
|
|
23504
|
+
actIds: [ '24afc2', '9e45ec', '78fd32' ],
|
|
23496
23505
|
all: [ {
|
|
23497
23506
|
options: {
|
|
23498
23507
|
cssProperties: [ 'line-height', 'letter-spacing', 'word-spacing' ]
|
|
@@ -23530,6 +23539,7 @@
|
|
|
23530
23539
|
matches: 'bypass-matches',
|
|
23531
23540
|
reviewOnFail: true,
|
|
23532
23541
|
tags: [ 'cat.keyboard', 'wcag2a', 'wcag241', 'section508', 'section508.22.o' ],
|
|
23542
|
+
actIds: [ 'cf77f2', '047fe0', 'b40fd1', '3e12e1', 'ye5d6e' ],
|
|
23533
23543
|
all: [],
|
|
23534
23544
|
any: [ 'internal-link-present', {
|
|
23535
23545
|
options: {
|
|
@@ -23548,7 +23558,8 @@
|
|
|
23548
23558
|
matches: 'color-contrast-matches',
|
|
23549
23559
|
excludeHidden: false,
|
|
23550
23560
|
enabled: false,
|
|
23551
|
-
tags: [ 'cat.color', 'wcag2aaa', 'wcag146' ],
|
|
23561
|
+
tags: [ 'cat.color', 'wcag2aaa', 'wcag146', 'ACT' ],
|
|
23562
|
+
actIds: [ '09o5cg' ],
|
|
23552
23563
|
all: [],
|
|
23553
23564
|
any: [ {
|
|
23554
23565
|
options: {
|
|
@@ -23576,7 +23587,8 @@
|
|
|
23576
23587
|
id: 'color-contrast',
|
|
23577
23588
|
matches: 'color-contrast-matches',
|
|
23578
23589
|
excludeHidden: false,
|
|
23579
|
-
tags: [ 'cat.color', 'wcag2aa', 'wcag143' ],
|
|
23590
|
+
tags: [ 'cat.color', 'wcag2aa', 'wcag143', 'ACT' ],
|
|
23591
|
+
actIds: [ 'afw4f7' ],
|
|
23580
23592
|
all: [],
|
|
23581
23593
|
any: [ {
|
|
23582
23594
|
options: {
|
|
@@ -23645,6 +23657,7 @@
|
|
|
23645
23657
|
matches: 'duplicate-id-active-matches',
|
|
23646
23658
|
excludeHidden: false,
|
|
23647
23659
|
tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
|
|
23660
|
+
actIds: [ '3ea0c8' ],
|
|
23648
23661
|
all: [],
|
|
23649
23662
|
any: [ 'duplicate-id-active' ],
|
|
23650
23663
|
none: []
|
|
@@ -23664,6 +23677,7 @@
|
|
|
23664
23677
|
matches: 'duplicate-id-misc-matches',
|
|
23665
23678
|
excludeHidden: false,
|
|
23666
23679
|
tags: [ 'cat.parsing', 'wcag2a', 'wcag411' ],
|
|
23680
|
+
actIds: [ '3ea0c8' ],
|
|
23667
23681
|
all: [],
|
|
23668
23682
|
any: [ 'duplicate-id' ],
|
|
23669
23683
|
none: []
|
|
@@ -23672,6 +23686,7 @@
|
|
|
23672
23686
|
selector: 'h1, h2, h3, h4, h5, h6, [role="heading"]',
|
|
23673
23687
|
matches: 'heading-matches',
|
|
23674
23688
|
tags: [ 'cat.name-role-value', 'best-practice' ],
|
|
23689
|
+
actIds: [ 'ffd0e9' ],
|
|
23675
23690
|
impact: 'minor',
|
|
23676
23691
|
all: [],
|
|
23677
23692
|
any: [ 'has-visible-text', 'aria-label', 'aria-labelledby', {
|
|
@@ -23717,6 +23732,7 @@
|
|
|
23717
23732
|
selector: 'html',
|
|
23718
23733
|
matches: 'frame-focusable-content-matches',
|
|
23719
23734
|
tags: [ 'cat.keyboard', 'wcag2a', 'wcag211' ],
|
|
23735
|
+
actIds: [ 'akn7bn' ],
|
|
23720
23736
|
all: [],
|
|
23721
23737
|
any: [ 'frame-focusable-content' ],
|
|
23722
23738
|
none: []
|
|
@@ -23737,6 +23753,7 @@
|
|
|
23737
23753
|
selector: 'frame[title], iframe[title]',
|
|
23738
23754
|
matches: 'frame-title-has-text-matches',
|
|
23739
23755
|
tags: [ 'cat.text-alternatives', 'best-practice' ],
|
|
23756
|
+
actIds: [ '4b1c6c' ],
|
|
23740
23757
|
all: [],
|
|
23741
23758
|
any: [],
|
|
23742
23759
|
none: [ 'unique-frame-title' ]
|
|
@@ -23744,6 +23761,7 @@
|
|
|
23744
23761
|
id: 'frame-title',
|
|
23745
23762
|
selector: 'frame, iframe',
|
|
23746
23763
|
tags: [ 'cat.text-alternatives', 'wcag2a', 'wcag241', 'wcag412', 'section508', 'section508.22.i' ],
|
|
23764
|
+
actIds: [ 'cae760' ],
|
|
23747
23765
|
all: [],
|
|
23748
23766
|
any: [ {
|
|
23749
23767
|
options: {
|
|
@@ -23810,7 +23828,7 @@
|
|
|
23810
23828
|
excludeHidden: false,
|
|
23811
23829
|
matches: 'identical-links-same-purpose-matches',
|
|
23812
23830
|
tags: [ 'cat.semantics', 'wcag2aaa', 'wcag249' ],
|
|
23813
|
-
actIds: [ 'b20e66'
|
|
23831
|
+
actIds: [ 'b20e66' ],
|
|
23814
23832
|
all: [ 'identical-links-same-purpose' ],
|
|
23815
23833
|
any: [],
|
|
23816
23834
|
none: []
|
|
@@ -23844,7 +23862,8 @@
|
|
|
23844
23862
|
id: 'input-button-name',
|
|
23845
23863
|
selector: 'input[type="button"], input[type="submit"], input[type="reset"]',
|
|
23846
23864
|
matches: 'no-explicit-name-required-matches',
|
|
23847
|
-
tags: [ 'cat.name-role-value', 'wcag2a', 'wcag412', 'section508', 'section508.22.a' ],
|
|
23865
|
+
tags: [ 'cat.name-role-value', 'wcag2a', 'wcag412', 'section508', 'section508.22.a', 'ACT' ],
|
|
23866
|
+
actIds: [ '97a4e1' ],
|
|
23848
23867
|
all: [],
|
|
23849
23868
|
any: [ 'non-empty-if-present', {
|
|
23850
23869
|
options: {
|
|
@@ -23904,7 +23923,7 @@
|
|
|
23904
23923
|
selector: 'input, textarea',
|
|
23905
23924
|
matches: 'label-matches',
|
|
23906
23925
|
tags: [ 'cat.forms', 'wcag2a', 'wcag412', 'section508', 'section508.22.n', 'ACT' ],
|
|
23907
|
-
actIds: [ 'e086e5'
|
|
23926
|
+
actIds: [ 'e086e5' ],
|
|
23908
23927
|
all: [],
|
|
23909
23928
|
any: [ 'implicit-label', 'explicit-label', 'aria-label', 'aria-labelledby', {
|
|
23910
23929
|
options: {
|
|
@@ -23992,7 +24011,8 @@
|
|
|
23992
24011
|
tags: [ 'cat.semantics', 'best-practice' ],
|
|
23993
24012
|
all: [ {
|
|
23994
24013
|
options: {
|
|
23995
|
-
selector: 'main:not([role]), [role=\'main\']'
|
|
24014
|
+
selector: 'main:not([role]), [role=\'main\']',
|
|
24015
|
+
passForModal: true
|
|
23996
24016
|
},
|
|
23997
24017
|
id: 'page-has-main'
|
|
23998
24018
|
} ],
|
|
@@ -24057,6 +24077,7 @@
|
|
|
24057
24077
|
selector: 'meta[http-equiv="refresh"]',
|
|
24058
24078
|
excludeHidden: false,
|
|
24059
24079
|
tags: [ 'cat.time-and-media', 'wcag2a', 'wcag221', 'wcag224', 'wcag325' ],
|
|
24080
|
+
actIds: [ 'bc659a' ],
|
|
24060
24081
|
all: [],
|
|
24061
24082
|
any: [ 'meta-refresh' ],
|
|
24062
24083
|
none: []
|
|
@@ -24103,7 +24124,7 @@
|
|
|
24103
24124
|
excludeHidden: false,
|
|
24104
24125
|
selector: 'audio[autoplay], video[autoplay]',
|
|
24105
24126
|
matches: 'no-autoplay-audio-matches',
|
|
24106
|
-
tags: [ 'cat.time-and-media', 'wcag2a', 'wcag142', 'experimental' ],
|
|
24127
|
+
tags: [ 'cat.time-and-media', 'wcag2a', 'wcag142', 'experimental', 'ACT' ],
|
|
24107
24128
|
actIds: [ '80f0bf' ],
|
|
24108
24129
|
preload: true,
|
|
24109
24130
|
all: [ {
|
|
@@ -24160,7 +24181,8 @@
|
|
|
24160
24181
|
tags: [ 'cat.semantics', 'best-practice' ],
|
|
24161
24182
|
all: [ {
|
|
24162
24183
|
options: {
|
|
24163
|
-
selector: 'h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]'
|
|
24184
|
+
selector: 'h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]',
|
|
24185
|
+
passForModal: true
|
|
24164
24186
|
},
|
|
24165
24187
|
id: 'page-has-heading-one'
|
|
24166
24188
|
} ],
|
|
@@ -24170,7 +24192,8 @@
|
|
|
24170
24192
|
id: 'presentation-role-conflict',
|
|
24171
24193
|
matches: 'has-implicit-chromium-role-matches',
|
|
24172
24194
|
selector: '[role="none"], [role="presentation"]',
|
|
24173
|
-
tags: [ 'cat.aria', 'best-practice' ],
|
|
24195
|
+
tags: [ 'cat.aria', 'best-practice', 'ACT' ],
|
|
24196
|
+
actIds: [ '46ca7f' ],
|
|
24174
24197
|
all: [],
|
|
24175
24198
|
any: [],
|
|
24176
24199
|
none: [ 'is-element-focusable', 'has-global-aria-attribute' ]
|
|
@@ -24313,7 +24336,8 @@
|
|
|
24313
24336
|
id: 'valid-lang',
|
|
24314
24337
|
selector: '[lang], [xml\\:lang]',
|
|
24315
24338
|
matches: 'not-html-matches',
|
|
24316
|
-
tags: [ 'cat.language', 'wcag2aa', 'wcag312' ],
|
|
24339
|
+
tags: [ 'cat.language', 'wcag2aa', 'wcag312', 'ACT' ],
|
|
24340
|
+
actIds: [ 'de46e4' ],
|
|
24317
24341
|
all: [],
|
|
24318
24342
|
any: [],
|
|
24319
24343
|
none: [ {
|
|
@@ -24517,14 +24541,16 @@
|
|
|
24517
24541
|
evaluate: 'has-descendant-evaluate',
|
|
24518
24542
|
after: 'has-descendant-after',
|
|
24519
24543
|
options: {
|
|
24520
|
-
selector: 'h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]'
|
|
24544
|
+
selector: 'h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]',
|
|
24545
|
+
passForModal: true
|
|
24521
24546
|
}
|
|
24522
24547
|
}, {
|
|
24523
24548
|
id: 'page-has-main',
|
|
24524
24549
|
evaluate: 'has-descendant-evaluate',
|
|
24525
24550
|
after: 'has-descendant-after',
|
|
24526
24551
|
options: {
|
|
24527
|
-
selector: 'main:not([role]), [role=\'main\']'
|
|
24552
|
+
selector: 'main:not([role]), [role=\'main\']',
|
|
24553
|
+
passForModal: true
|
|
24528
24554
|
}
|
|
24529
24555
|
}, {
|
|
24530
24556
|
id: 'page-no-duplicate-banner',
|