add missing <h2> tag
PATCH 1/1 add missing <h2> tag
The homepage goes straight from h1 to h3, add the missing tag for use in screen readers.
Signed-off-by Paolo Bonzini <[email protected]>
--- assets/css/style.css | 12 ++++++++++++ index.html | 3 +++ 2 files changed, 15 insertions(+)
assets/css/style.css +12 -0
@@ -44,6 +44,18 @@ color: #802400; } + .visuallyhidden + { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; + } + pre,code,samp,tt { font-family: 'Roboto Mono', monospace;
index.html +3 -0
@@ -14,6 +14,9 @@ colorbox: True <!-- Featured --> <div id="featured"> + <header class="visuallyhidden"> + <h2>Features</h2> + </header> <div class="container"> <div class="row"> <section class="4u">
Signature · 1 line
2.39.1
Quoted 36 lines · Paolo Bonzini
The homepage goes straight from h1 to h3, add the missing tag for use in screen readers.
Signed-off-by Paolo Bonzini <[email protected]>--- assets/css/style.css | 12 ++++++++++++ index.html | 3 +++ 2 files changed, 15 insertions(+)assets/css/style.css +12
-0@@ -44,6 +44,18 @@ color: #802400; } + .visuallyhidden + { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; + } + pre,code,samp,tt { font-family: 'Roboto Mono', monospace;index.html +0
-0
index.html colorbox: True · line 22
Quoted 9 lines
index.html +3
-0@@ -14,6 +14,9 @@ colorbox: True <!-- Featured --> <div id="featured"> + <header class="visuallyhidden"> + <h2>Features</h2> + </header> <div class="container"> <div class="row"> <section class="4u">
Reviewed-by Thomas Huth <[email protected]>