summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2014-03-05 15:45:38 +0100
committerByron Jones <bjones@mozilla.com>2014-03-05 15:45:38 +0100
commit4e55e090eed7b6564c203caee535634c09a56920 (patch)
tree04fc7571f25c04776cc109631af041f1c71d1af8 /template/en
parent146bad3346995496a111ce4a7ee2020572973e98 (diff)
downloadbugzilla-4e55e090eed7b6564c203caee535634c09a56920.tar.gz
bugzilla-4e55e090eed7b6564c203caee535634c09a56920.tar.xz
Bug 977137: Comment and Preview tabs need accessibility markup
r=dkl, a=justdave
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/bug/comment.html.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/en/default/bug/comment.html.tmpl b/template/en/default/bug/comment.html.tmpl
index e30801963..96cbb63ed 100644
--- a/template/en/default/bug/comment.html.tmpl
+++ b/template/en/default/bug/comment.html.tmpl
@@ -13,10 +13,12 @@
#%]
[% IF feature_enabled('jsonrpc') %]
- <div id="comment_tabs">
+ <div id="comment_tabs" role="tablist">
<div id="comment_tab" class="comment_tab active_comment_tab"
+ role="tab" aria-selected="true"
onclick="show_comment_edit()">Comment</div>
<div id="comment_preview_tab" class="comment_tab"
+ role="tab" aria-selected="false"
onclick="show_comment_preview([% bug.id FILTER none %])">Preview</div>
</div>
[% END %]