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 164cab3 commit 60bf702Copy full SHA for 60bf702
lib/core/base/rule.js
@@ -599,13 +599,13 @@ Rule.prototype.after = function after(result, options) {
599
600
// Trying for sub-menu
601
if (result.id === 'sub-menu-metadata') {
602
- const data = result.nodes.filter((r) => !r.all[0].result);
603
- data.forEach((r) => {
+ const data = result.nodes.filter(r => !r.all[0].result);
+ data.forEach(r => {
604
const node = r.all[0].data;
605
r.node = new axe.utils.DqElement(node);
606
});
607
608
- result.nodes.forEach((r) => {
+ result.nodes.forEach(r => {
609
delete r.all[0].data;
610
611
}
0 commit comments