axe-mode icon indicating copy to clipboard operation
axe-mode copied to clipboard

Provide component trace

Open raunofreiberg opened this issue 4 years ago • 2 comments

I haven't thought this through or done any research as to if it is even possible, but...

Would be really cool if instead of displaying the target node that axe-core gives us, we could show the component in which the node is present.

This might be possible by using the node. React DevTools does something similar. If you select an element on the page to inspect and then jump to the "Components" tab, it will highlight the component in which the node exists.

Might be worth looking into.

raunofreiberg avatar Apr 30 '20 09:04 raunofreiberg

I think it could be useful to do both. Or better yet, perhaps, what if the component name linked directly to open up a tab in React Dev Tools if the user has it installed in their browser? Worth exploring for sure!

chaance avatar Apr 30 '20 15:04 chaance

Or better yet, perhaps, what if the component name linked directly to open up a tab in React Dev Tools if the user has it installed in their browser?

I love this! Let's do this as a follow up for #5

raunofreiberg avatar Apr 30 '20 18:04 raunofreiberg