diff --git a/lib/checks/generic/page-no-duplicate-evaluate.js b/lib/checks/generic/page-no-duplicate-evaluate.js index 3521a44952..1ce7130035 100644 --- a/lib/checks/generic/page-no-duplicate-evaluate.js +++ b/lib/checks/generic/page-no-duplicate-evaluate.js @@ -1,6 +1,7 @@ import cache from '../../core/base/cache'; import { querySelectorAllFilter } from '../../core/utils'; import { isVisibleToScreenReaders, findUpVirtual } from '../../commons/dom'; +import { getRole } from '../../commons/aria'; function pageNoDuplicateEvaluate(node, options, virtualNode) { if (!options || !options.selector || typeof options.selector !== 'string') { @@ -21,6 +22,7 @@ function pageNoDuplicateEvaluate(node, options, virtualNode) { isVisibleToScreenReaders(elm) ); + // @deprecated options.nativeScopeFilter // Filter elements that, within certain contexts, don't map their role. // e.g. a