Pseudo element on cousin not recognized as giving a background #4534
Labels
color contrast
Color contrast issues
fix
Bug fixes
rules
Issue or false result from an axe-core rule
support
Milestone
Came across this gem of a false positive. A pseudo element on a previous sibling's child node was used to provide a background color:
Axe-core currently looks at the element and the parent for pseudo elements. When we wrote that we knew it was an imperfect solution. To improve on this I wonder if we just need to find every pseudo element with a background and guestimate its position.
The text was updated successfully, but these errors were encountered: