Accessibility: Add aria-label to clearly describe the dark mode button (#2426)
This commit is contained in:
parent
fb1498c5a8
commit
9900fa894c
|
@ -25,7 +25,7 @@
|
|||
<li><a href="{{ pathto("pep-0000") }}">PEP Index</a> » </li>
|
||||
<li>{{ title }}</li>
|
||||
</ul>
|
||||
<button onClick="toggleColourScheme()"></button>
|
||||
<button aria-label="Toggle dark mode" onClick="toggleColourScheme()"></button>
|
||||
</header>
|
||||
<article>
|
||||
{{ body }}
|
||||
|
|
Loading…
Reference in New Issue