aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorPytal <24800714+Pytal@users.noreply.github.com>2022-06-08 16:31:46 -0700
committerGitHub <noreply@github.com>2022-06-08 16:31:46 -0700
commitb7089c20ee4dd0f4b8bc805068aadbaf89a6a081 (patch)
tree075cee05eed9546948a6ea5a327ad166bab5ca8e /core/src
parente76d8bb901a50b68e94e39a9f1353a8d06fc37a5 (diff)
parentc1054ea5eba131e82b3e3e352d9838f29596111f (diff)
downloadnextcloud-server-b7089c20ee4dd0f4b8bc805068aadbaf89a6a081.tar.gz
nextcloud-server-b7089c20ee4dd0f4b8bc805068aadbaf89a6a081.zip
Merge pull request #32736 from nextcloud/enh/a11y/keyboard-contacts-menu
Diffstat (limited to 'core/src')
-rw-r--r--core/src/OC/contactsmenu/contact.handlebars9
1 files changed, 7 insertions, 2 deletions
diff --git a/core/src/OC/contactsmenu/contact.handlebars b/core/src/OC/contactsmenu/contact.handlebars
index c8e9c2c497e..afb2f627663 100644
--- a/core/src/OC/contactsmenu/contact.handlebars
+++ b/core/src/OC/contactsmenu/contact.handlebars
@@ -27,8 +27,13 @@
<div class="email-address">{{contact.emailAddresses}}</div>
</a>
{{/if}}
+ {{#if contact.topAction}}
+ <a class="top-action" href="{{contact.topAction.hyperlink}}" title="{{contact.topAction.title}}">
+ <img src="{{contact.topAction.icon}}" alt="{{contact.topAction.title}}">
+ </a>
+ {{/if}}
{{else if contact.topAction}}
- <a class="body" href="{{contact.topAction.hyperlink}}">
+ <a class="body" href="{{contact.topAction.hyperlink}}">
<div class="full-name">{{contact.fullName}}</div>
<div class="last-message">{{contact.lastMessage}}</div>
<div class="email-address">{{contact.emailAddresses}}</div>
@@ -49,7 +54,7 @@
</a>
{{/if}}
{{#if contact.hasManyActions}}
- <span class="other-actions icon-more"></span>
+ <button class="other-actions icon-more"></button>
<div class="menu popovermenu">
<ul>
{{#each contact.actions}}