We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c15e66 commit 72144ebCopy full SHA for 72144eb
lib/core/utils/dq-element.js
@@ -246,6 +246,9 @@ DqElement.prototype = {
246
* @return {String}
247
*/
248
get selector() {
249
+ if (axe._cache.get('targetFormat') === 'ancestry') {
250
+ return this.spec.selector || [getAncestry(this.element)];
251
+ }
252
if (axe._cache.get('runTypeAOpt')) {
253
return this.spec.selector || [generateSelectorWithShadow(this.element)];
254
}
0 commit comments