summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2017-01-11 05:14:44 +0100
committerDavid Lawrence <dkl@mozilla.com>2017-01-11 05:14:44 +0100
commit0c30df3fc8c42fcdfb6f7d7ee94111ff87ff6e8e (patch)
treea7ae4dcd31110aad2c85d2fa10b5c94a75857479 /extensions
parentccb310430fe17aac34b323317f273541f27fd0c3 (diff)
downloadbugzilla-0c30df3fc8c42fcdfb6f7d7ee94111ff87ff6e8e.tar.gz
bugzilla-0c30df3fc8c42fcdfb6f7d7ee94111ff87ff6e8e.tar.xz
Bug 1280406 - [a11y] Make each start of a comment a heading 3 for easier navigation
Diffstat (limited to 'extensions')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl8
-rw-r--r--extensions/BugModal/web/bug_modal.css5
2 files changed, 9 insertions, 4 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
index edec45428..4f9dd60b5 100644
--- a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
@@ -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 %]
@@ -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 %]
diff --git a/extensions/BugModal/web/bug_modal.css b/extensions/BugModal/web/bug_modal.css
index 0a14975cb..e6b31992c 100644
--- a/extensions/BugModal/web/bug_modal.css
+++ b/extensions/BugModal/web/bug_modal.css
@@ -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;