Skip to content

Commit 76e4a75

Browse files
committed
Replace <div>s with semantic sectioning elements
Note that this change improves semantics and accessibility; the way that the stylesheets for Ed have been written, without elements in the selectors, means that these changes introduce no visual difference, as verified with the BackstopJS test suite.
1 parent be96314 commit 76e4a75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_layouts/default.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@
1717
collisions with our real content.
1818
-->
1919
<div class="wrap">
20-
<div class="masthead">
20+
<header class="masthead">
2121
<div class="container">
2222
<h3 class="masthead-title">
2323
<a href="{{ site.baseurl }}/" title="Home">{{ site.title | newline_to_br }}</a>
2424
<br><small>{{ site.tagline }}</small>
2525
</h3>
2626
</div>
27-
</div>
27+
</header>
2828

29-
<div class="container content" id="main">
29+
<main class="container content" id="main">
3030
{{ content }}
31-
</div>
31+
</main>
3232
</div>
3333

3434
<label for="sidebar-checkbox" class="sidebar-toggle"></label>

0 commit comments

Comments
 (0)