mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
A11y: fix some bad semantics
- Don't give footers without roles an aria label - Remove a skipped heading level.
This commit is contained in:
parent
450a8dfd53
commit
34ed405978
2 changed files with 7 additions and 3 deletions
|
@ -108,8 +108,12 @@ Content-Security-Policy: default-src 'none'; frame-ancestors 'none'; base-uri 'n
|
|||
|
||||
You'll get a plain page with the specified CSP on port 8000. Edit as you see fit.
|
||||
|
||||
An audio element
|
||||
----------------
|
||||
Sample elements
|
||||
---------------
|
||||
|
||||
The following sections contain demos to see what breaks under a restrictive CSP.
|
||||
|
||||
### An audio element
|
||||
|
||||
I'm adding an `<audio>` element to demonstrate how a `sandbox` directive breaks WebKit's media controls. See [WebKit bug 237281](https://bugs.webkit.org/show_bug.cgi?id=237281) for more information.
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<hr />
|
||||
<footer aria-labelledby="interact">
|
||||
<footer>
|
||||
<h2 id="interact" tabindex="-1">Interact</h2>
|
||||
<p>You can interact by <a href="#webmentions">sending webmentions</a> or by visiting a syndicated copy of this post.</p>
|
||||
{{- partial "syndication.html" . -}}
|
||||
|
|
Loading…
Reference in a new issue