Commit 70874502 by Farhanah Sheets

Add for/id attributes for explicit labeling of discussion checkboxes

parent bf146de0
...@@ -48,21 +48,21 @@ ...@@ -48,21 +48,21 @@
<div class="js-post-body editor" aria-describedby="new-post-editor-description" name="body"></div> <div class="js-post-body editor" aria-describedby="new-post-editor-description" name="body"></div>
</div> </div>
<div class="post-options"> <div class="post-options">
<label class="field-label label-inline"> <label for= "follow" class="field-label label-inline">
<input type="checkbox" name="follow" class="field-input input-checkbox" checked> <input id="follow" type="checkbox" name="follow" class="field-input input-checkbox" checked>
<span class="field-input-label"> <span class="field-input-label">
<span class="icon fa fa-star" aria-hidden="true"></span><%- gettext("follow this post") %> <span class="icon fa fa-star" aria-hidden="true"></span><%- gettext("follow this post") %>
</span> </span>
</label> </label>
<% if (allow_anonymous) { %> <% if (allow_anonymous) { %>
<label class="field-label label-inline"> <label for="anonymous" class="field-label label-inline">
<input type="checkbox" name="anonymous" class="field-input input-checkbox"> <input id="anonymous" type="checkbox" name="anonymous" class="field-input input-checkbox">
<span class="field-input-label"><%- gettext("post anonymously") %></span> <span class="field-input-label"><%- gettext("post anonymously") %></span>
</label> </label>
<% } %> <% } %>
<% if (allow_anonymous_to_peers) { %> <% if (allow_anonymous_to_peers) { %>
<label class="field-label label-inline"> <label for="anonymous_to_peers" class="field-label label-inline">
<input type="checkbox" name="anonymous_to_peers" class="field-input input-checkbox"> <input id="anonymous_to_peers" type="checkbox" name="anonymous_to_peers" class="field-input input-checkbox">
<span class="field-input-label"><%- gettext("post anonymously to classmates") %></span> <span class="field-input-label"><%- gettext("post anonymously to classmates") %></span>
</div> </div>
<% } %> <% } %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment