When xpaths are turned on during a run ({ xpath: true }) and a node has an id, axe-core returns a relative path to the element with just the id instead of the absolute path from html (i.e. /input[@id=name]). However this is incorrect as the path should use a double // and not a single / (i.e. //input[@id=name])
Slack Conversation
When xpaths are turned on during a run (
{ xpath: true }) and a node has an id, axe-core returns a relative path to the element with just the id instead of the absolute path from html (i.e./input[@id=name]). However this is incorrect as the path should use a double//and not a single/(i.e.//input[@id=name])Slack Conversation