re: 100% Pure HTML/CSS Page Navigation - No JavaScript Required VIEW POST


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 😊

code of conduct - report abuse