axe-mode
axe-mode copied to clipboard
Provide component trace
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.
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!
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