summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2014-03-05 15:46:28 +0100
committerByron Jones <bjones@mozilla.com>2014-03-05 15:46:28 +0100
commit5eb9280008f15e407d6c13374cb852e7f9ff9e87 (patch)
tree588e94c6d98aefb2f15667bfea04dc5e3460208b /template/en/default
parent82731c84210d42bdd66c6d5e4ec80cb26a44b1ae (diff)
downloadbugzilla-5eb9280008f15e407d6c13374cb852e7f9ff9e87.tar.gz
bugzilla-5eb9280008f15e407d6c13374cb852e7f9ff9e87.tar.xz
Bug 977137: Comment and Preview tabs need accessibility markup
Diffstat (limited to 'template/en/default')
-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 %]