Skip to content

Commit

Permalink
Bug 1280406 - [a11y] Make each start of a comment a heading 3 for eas…
Browse files Browse the repository at this point in the history
…ier navigation
  • Loading branch information
dklawren committed Jan 11, 2017
1 parent ccb3104 commit 0c30df3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Expand Up @@ -130,11 +130,11 @@

<tr id="cr-[% comment.count FILTER none %]" [%= IF comment.collapsed %]style="display:none"[% END %]>
<td colspan="2">
<div class="change-name">
<h3 class="change-name">
<a href="show_bug.cgi?id=[% bug.bug_id FILTER none %]#c[% comment.count FILTER none %]">
[% comment.count == 0 ? "Description" : "Comment " _ comment.count ~%]
</a>
</div>
</h3>
&bull;
<div class="change-time">
[% INCLUDE bug_modal/rel_time.html.tmpl ts=comment.creation_ts %]
Expand Down Expand Up @@ -202,9 +202,9 @@
</tr>
<tr id="ar-[% id FILTER none %]">
<td colspan="2">
<div class="change-name">
<h3 class="change-name">
<a href="show_bug.cgi?id=[% bug.bug_id FILTER none %]#[% id FILTER none %]">Updated</a>
</div>
</h3>
&bull;
<div class="change-time">
[% INCLUDE bug_modal/rel_time.html.tmpl ts=action.when %]
Expand Down
5 changes: 5 additions & 0 deletions extensions/BugModal/web/bug_modal.css
Expand Up @@ -575,6 +575,11 @@ td.flag-requestee {
display: inline;
}

h3.change-name {
font-size: small;
font-weight: normal;
}

.comment-actions {
white-space: nowrap;
vertical-align: top;
Expand Down

0 comments on commit 0c30df3

Please sign in to comment.