Another big caveat is the accessibility. We should use aria-attributes, but at this point we are already using js.
Yeah, I'd love to do that, but I havent found a way for CSS selectors to work on aria. I'm also unsure how a screen-reader or braille-board would react to most SPAs to be honest.
You should probably use the attribute selector [aria-active]{} but as i said, you need js.
Regardless of JS, that selector was new to me 😊
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
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.
Another big caveat is the accessibility. We should use aria-attributes, but at this point we are already using js.
Yeah, I'd love to do that, but I havent found a way for CSS selectors to work on aria. I'm also unsure how a screen-reader or braille-board would react to most SPAs to be honest.
You should probably use the attribute selector [aria-active]{} but as i said, you need js.
Regardless of JS, that selector was new to me 😊