Skip to content

Commit d6e386d

Browse files
committed
Added ariadescribedbyText
2 parents 9607bd8 + ac57923 commit d6e386d

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

lib/commons/dom/get-overflow-hidden-ancestors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const getOverflowHiddenAncestors = memoize(
2828
ancestors.push(vNode);
2929
}
3030
} else {
31-
if (overflow.includes('hidden') || overflow.includes('clip')) {
31+
if (overflow === 'hidden' || overflow.includes('clip')) {
3232
ancestors.push(vNode);
3333
}
3434
}

lib/core/utils/aggregate-checks.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,7 @@ function aggregateChecks(nodeResOriginal) {
6767
nodeResult[type].forEach(check => impacts.push(check.impact));
6868
});
6969

70-
// for failed nodes, define the impact
71-
if ([CANTTELL_PRIO, FAIL_PRIO].includes(nodeResult.priority)) {
72-
nodeResult.impact = aggregate(constants.impact, impacts);
73-
} else {
74-
nodeResult.impact = null;
75-
}
70+
nodeResult.impact = aggregate(constants.impact, impacts);
7671

7772
// Delete the old result and priority properties
7873
anyAllNone(nodeResult, c => {

lib/core/utils/check-helper.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ function checkHelper(checkResult, options, resolve, reject) {
2525
data(data) {
2626
checkResult.data = data;
2727
},
28+
getCheckData() {
29+
return checkResult.data;
30+
},
2831
relatedNodes(nodes) {
2932
if (!window.Node) {
3033
return;

0 commit comments

Comments
 (0)