diff options
author | David Lawrence <dkl@mozilla.com> | 2017-01-27 15:33:40 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2017-01-27 15:35:54 +0100 |
commit | 2fcef7a5b1aefef32a1a2b524604140e1872b192 (patch) | |
tree | 41597fa70c868be7c6b126f5dfedcbc54b3e98f7 /extensions/BugModal/template/en | |
parent | 6cadcc129e33b09346f4b698d548fa8668af228d (diff) | |
download | bugzilla-2fcef7a5b1aefef32a1a2b524604140e1872b192.tar.gz bugzilla-2fcef7a5b1aefef32a1a2b524604140e1872b192.tar.xz |
Revert "Bug 1280397 - [a11y] Make the component, product, and other latches accessible"
This reverts commit c768148f9facf779d572145236453e50e99bee1d.
Diffstat (limited to 'extensions/BugModal/template/en')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 45 |
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">▸</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">▸</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">▸</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">▸</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">▸</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">▸</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> |