summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-01-12 00:48:14 +0100
committerDylan William Hardison <dylan@hardison.net>2017-01-12 00:48:14 +0100
commit26e11147bee5323f6f7c8da9e8b573ead817121d (patch)
tree751f61e6f728a5b93b5a37d9ce07865434b1fac9 /template
parentd3554d1f9593b7bc554f7a981139d89bff67bf9b (diff)
downloadbugzilla-26e11147bee5323f6f7c8da9e8b573ead817121d.tar.gz
bugzilla-26e11147bee5323f6f7c8da9e8b573ead817121d.tar.xz
Bug 1329659 - Copy A11y tweaks from BugzillaA11yFixes.user.js
Diffstat (limited to 'template')
-rw-r--r--template/en/default/attachment/list.html.tmpl2
-rw-r--r--template/en/default/bug/comments.html.tmpl2
-rw-r--r--template/en/default/bug/edit.html.tmpl2
3 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl
index 7a8abc8e1..bf8f89830 100644
--- a/template/en/default/attachment/list.html.tmpl
+++ b/template/en/default/attachment/list.html.tmpl
@@ -55,7 +55,7 @@ function toggle_display(link) {
<br>
<table id="attachment_table" cellspacing="0" cellpadding="4">
<tr id="a0">
- <th colspan="[% show_attachment_flags ? 3 : 2 %]" align="left">
+ <th role="heading" aria-level="2" colspan="[% show_attachment_flags ? 3 : 2 %]" align="left">
Attachments
</th>
</tr>
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl
index 8effb89da..2f8658c9c 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -216,7 +216,7 @@
</div>
[% END %]
- <span class="bz_comment_number">
+ <span role="heading" aria-level="2" class="bz_comment_number">
<a
href="show_bug.cgi?id=[% bug.bug_id %]#c[% comment.count %]">
[%- comment_label FILTER html %]</a>
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 723753ae0..2d0286292 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -253,7 +253,7 @@
(<span id="alias_nonedit_display">[% bug.alias FILTER html %]</span>)
[% END %]
[% END %]
- <span id="short_desc_nonedit_display">[% bug.short_desc FILTER quoteUrls(bug) %]</span>
+ <span role="heading" aria-level="1" id="short_desc_nonedit_display">[% bug.short_desc FILTER quoteUrls(bug) %]</span>
[% IF bug.check_can_change_field('short_desc', 0, 1) ||
bug.check_can_change_field('alias', 0, 1) %]
<small class="editme">(<a href="#" id="editme_action">edit</a>)</small>