summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2017-01-27 15:33:40 +0100
committerDavid Lawrence <dkl@mozilla.com>2017-01-27 15:35:54 +0100
commit2fcef7a5b1aefef32a1a2b524604140e1872b192 (patch)
tree41597fa70c868be7c6b126f5dfedcbc54b3e98f7 /extensions/BugModal/template
parent6cadcc129e33b09346f4b698d548fa8668af228d (diff)
downloadbugzilla-2fcef7a5b1aefef32a1a2b524604140e1872b192.tar.gz
bugzilla-2fcef7a5b1aefef32a1a2b524604140e1872b192.tar.xz
Revert "Bug 1280397 - [a11y] Make the component, product, and other latches accessible"
Diffstat (limited to 'extensions/BugModal/template')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl45
1 files changed, 17 insertions, 28 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
index 314db7c3a..d81fb9e92 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -346,12 +346,8 @@
hide_on_edit = can_edit_product
help = "describecomponents.cgi"
%]
- <span aria-hidden="true" class="spin-latch" id="product-latch"
- data-latch="product" data-for="product">&#9656;</span>
- <div role="button" aria-label="show product information"
- title="show product information" tabindex="0"
- aria-expanded="false" class="spin-toggle" id="product-name"
- data-latch="product" data-for="product">
+ <span class="spin-latch" id="product-latch" data-latch="#product-latch" data-for="#product-info">&#9656;</span>
+ <div class="spin-toggle" data-latch="#product-latch" data-for="#product-info">
[% bug.product FILTER html %]
</div>
<div id="product-info" style="display:none">
@@ -388,13 +384,9 @@
field_type = constants.FIELD_TYPE_SINGLE_SELECT
help = "describecomponents.cgi"
%]
- <span aria-hidden="true" class="spin-latch" id="component-latch"
- data-latch="component" data-for="component">&#9656;</span>
- <div role="button" aria-label="show component description"
- title="show component information" tabindex="0"
- aria-expanded="false" class="spin-toggle" id="component-name"
- data-latch="#component-latch" data-for="component">
- [% bug.component FILTER html %]
+ <span class="spin-latch" id="component-latch" data-latch="#component-latch" data-for="#component-info">&#9656;</span>
+ <div class="spin-toggle" data-latch="#component-latch" data-for="#component-info">
+ [% bug.component FILTER html %]
</div>
<div id="component-info" style="display:none">
<div>[% bug.component_obj.description FILTER html_light %]</div>
@@ -683,21 +675,18 @@
[% END %]
[% IF bug.cc && bug.cc.size %]
- <span aria-owns="cc-latch cc-summary">
- [% IF user.id %]
- <input type="hidden" name="removecc" id="removecc">
- <span role="button" aria-label="show cc list" tabindex="0" id="cc-latch">&#9656;</span>
- [% END %]
- <span role="button" aria-label="show cc list" tabindex="0"
- id="cc-summary" data-count="[% bug.cc.size FILTER none %]">
- [%
- IF bug.cc.size == 1;
- is_cced ? "Just you" : "1 person";
- ELSE;
- bug.cc.size _ " people";
- END;
- %]
- </span>
+ [% IF user.id %]
+ <input type="hidden" name="removecc" id="removecc">
+ <span id="cc-latch">&#9656;</span>
+ [% END %]
+ <span id="cc-summary" data-count="[% bug.cc.size FILTER none %]">
+ [%
+ IF bug.cc.size == 1;
+ is_cced ? "Just you" : "1 person";
+ ELSE;
+ bug.cc.size _ " people";
+ END;
+ %]
</span>
[% ELSE %]
<i>Nobody</i>