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.
2 parents 5793383 + 3f92293 commit 5168e97Copy full SHA for 5168e97
src/extension/background.js
@@ -18,7 +18,7 @@ const metrics = {};
18
const pruneAxTree = (axTree) => {
19
const axArr = [];
20
for (const node of axTree) {
21
- const {
+ let {
22
backendDOMNodeId,
23
childIds,
24
ignored,
@@ -29,6 +29,17 @@ const pruneAxTree = (axTree) => {
29
properties,
30
} = node;
31
32
+ if(!name){
33
+ if(ignored){
34
+ name = {value: `ignored node: ${ignoredReasons[0].name}`};
35
+ }
36
+ else{
37
+ name = {value: 'visible node with no name'};
38
39
40
+ if(!name.value){
41
+ name.value = 'visible node with no name';
42
43
const axNode = {
44
backendDOMNodeId: backendDOMNodeId,
45
childIds: childIds,
0 commit comments