Open straker opened 1 week ago
Currently axe-core ignores slot elements and does not add them to the virtual tree. However we've come to understand that slot elements can use CSS to become a visible element (by changing the display property) and can even be given a background color, can have be used as the target of an IDREF ARIA attribute, and should probably alert users of incorrect use of ARIA attributes and role.
slot
display
Currently axe-core ignores
slot
elements and does not add them to the virtual tree. However we've come to understand thatslot
elements can use CSS to become a visible element (by changing thedisplay
property) and can even be given a background color, can have be used as the target of an IDREF ARIA attribute, and should probably alert users of incorrect use of ARIA attributes and role.