Skip to content

Commit

Permalink
Replace <div>s with semantic sectioning elements
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
karlstolley committed Sep 18, 2019
1 parent be96314 commit 76e4a75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@
collisions with our real content.
-->
<div class="wrap">
<div class="masthead">
<header class="masthead">
<div class="container">
<h3 class="masthead-title">
<a href="{{ site.baseurl }}/" title="Home">{{ site.title | newline_to_br }}</a>
<br><small>{{ site.tagline }}</small>
</h3>
</div>
</div>
</header>

<div class="container content" id="main">
<main class="container content" id="main">
{{ content }}
</div>
</main>
</div>

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

0 comments on commit 76e4a75

Please sign in to comment.