adityatelange / hugo-PaperMod

A fast, clean, responsive Hugo theme.
https://adityatelange.github.io/hugo-PaperMod/
MIT License
10.26k stars 2.72k forks source link

[Bug]: Accessibility: focus indicators for ToC and dark/light theme toggle are invisible #1635

Open Seirdy opened 10 hours ago

Seirdy commented 10 hours ago

What happened?

When using keyboard/programmatic navigation, there are no focus outlines for the dark/light theme toggle and for the table of contents elements.

Steps to reproduce

  1. Press Tab and observe the focus indicator.
  2. Tab to the dark/light toggle and notice how there is no outline when it is focused.
  3. Open a page with a ToC
  4. Tab to the ToC and notice how there is no outline when it is focused.

Hugo Version

Hugo >= 0.125.7 (Recommended - Minimum version required for PaperMod)

PaperMod Version

Branch master

What kind of devices are you seeing the problem on?

Desktop

What browsers are you seeing the problem on?

Firefox, Chrome

Browser Version

Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0

Relevant log output

n/a

Repository/Source Code link where this issue can be reproduced

No response

Code of Conduct