Skip to content

Commit

Permalink
Add aria-label to roles list
Browse files Browse the repository at this point in the history
  • Loading branch information
kulmann committed Aug 13, 2021
1 parent ef820a9 commit 5e038f7
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</oc-button>
<oc-drop toggle="#files-collaborators-role-button" mode="click" close-on-click>
<template #special>
<oc-list class="files-recipient-role-drop-list">
<oc-list class="files-recipient-role-drop-list" :aria-label="rolesListAriaLabel">
<li v-for="role in roles" :key="role.name">
<oc-button
appearance="raw"
Expand Down Expand Up @@ -246,6 +246,10 @@ export default {
isAdvancedRoleSelected() {
return this.isAdvancedRole(this.selectedRole)
},
rolesListAriaLabel() {
return this.$gettext('Sharing roles')
}
},
Expand Down

0 comments on commit 5e038f7

Please sign in to comment.