diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-06-06 19:13:40 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-06-07 16:57:13 +0000 |
commit | c1054ea5eba131e82b3e3e352d9838f29596111f (patch) | |
tree | b71334dd1b90aa9b3c1869ed2a2eff88f5888ac5 /core/src/OC | |
parent | dcf25d6c7716daa08eb6af07a720c0a0b7b6eda6 (diff) | |
download | nextcloud-server-c1054ea5eba131e82b3e3e352d9838f29596111f.tar.gz nextcloud-server-c1054ea5eba131e82b3e3e352d9838f29596111f.zip |
Augment keyboard accessibility of contacts menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core/src/OC')
-rw-r--r-- | core/src/OC/contactsmenu/contact.handlebars | 9 |
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}} |