diff options
author | David Lawrence <dkl@mozilla.com> | 2017-02-21 22:56:56 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2017-02-21 22:56:56 +0100 |
commit | 318b9027db03bc7397fa8072811db33783d29976 (patch) | |
tree | 2cd3b8dd9848a4678402f473433e5e817ad4b2e0 /extensions/BugModal/template/en/default/bug_modal/user.html.tmpl | |
parent | bbd5ffb01a1f9feb277dd33e8b4333840fb26949 (diff) | |
download | bugzilla-318b9027db03bc7397fa8072811db33783d29976.tar.gz bugzilla-318b9027db03bc7397fa8072811db33783d29976.tar.xz |
Bug 1280363 - [a11y] Make the Actions menu button accessible for keyboard and screen readers
Diffstat (limited to 'extensions/BugModal/template/en/default/bug_modal/user.html.tmpl')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/user.html.tmpl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl index 5c630ba07..4c28936cc 100644 --- a/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl @@ -41,12 +41,11 @@ END; width="[% gravatar_size FILTER none %]" height="[% gravatar_size FILTER none %]"> [% END %] [% UNLESS gravatar_only %] - <a class="email [%= "disabled" UNLESS u.is_enabled %] [%= "show_usermenu" IF user.id %]" + <a class="email [%= "disabled" UNLESS u.is_enabled %]" [% IF user.id %] href="mailto:[% u.email FILTER html %]" - data-user-id="[% u.id FILTER html %]" - data-user-email="[% u.email FILTER html %]" - data-show-edit="[% user.in_group('editusers') || user.bless_groups.size > 9 ? 'true' : 'false' %]" + onclick="return show_usermenu([% u.id FILTER none %], '[% u.email FILTER js %]', + [% user.in_group('editusers') || user.bless_groups.size > 0 ? "true" : "false" %])" title="[% u.identity FILTER html %]" [% ELSE %] href="user_profile?user_id=[% u.id FILTER none %]" |