Aria Settings Dark mode toggle

any idea what to change here to avoid accessibility issues (sorry, it’s in German):

Hey @FZwo.

Please try to change the HTML tag to <button> and re-run the test.
A light/dark mode toggle is a button, not a link.

Please read here for more details:
aria-pressed - Accessibility | MDN (

Let me know if this resolves your issue.

Great, works, and finally this (mobile modal):

Nothing to worry about:
Pagespeed doesn’t seem to like the modal close overlay - Feedback - Cwicly

1 Like