From CSS Tricks: 5 Accessibility Quick Wins You Can Implement Today.
I like articles about accessibility in this format, how-tos of practical examples you see on almost every website. Heydon Pickering’s Inclusive Components was the first place I saw this, but the site had only a few examples and ended up being short-lived.
I went to implement two of the 5 “quick wins” above that were relevant to this site:
aria-currentpage. I was doing a gross hack with the
window.locationto parse out the current page before, and cleaned that up with Next’s useRouter.
next exportwhen generating a static site. I then realized I had already done it the other way, using a custom Document.