I missed this part when I first skimmed this article:
Unfortunately in CSS we don't have any such previous sibling selectors, but yes in axe(ACSSSS)- Augmented Cascading Style Sheet Syntax, we have previous or preceding sibling selectors.
Just to reiterate: ? and ! selectors are not part of the CSS standard. They're provided by the axe library, which adds support for nonstandard selectors in CSS. Other tools (document.querySelector, jQuery, etc.) do not support these nonstandard selectors.
Just wanted to share that for anyone else who might've skimmed the article like I did. 😅 Thank you for writing this helpful overview!!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I missed this part when I first skimmed this article:
Just to reiterate:
?
and!
selectors are not part of the CSS standard. They're provided by the axe library, which adds support for nonstandard selectors in CSS. Other tools (document.querySelector
, jQuery, etc.) do not support these nonstandard selectors.Just wanted to share that for anyone else who might've skimmed the article like I did. 😅 Thank you for writing this helpful overview!!