diff options
author | Vincent Petry <vincent@nextcloud.com> | 2020-11-23 20:53:31 +0100 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2020-11-23 20:53:31 +0100 |
commit | 773be42dcc5642d9070820b8ba6d9a294a43112d (patch) | |
tree | 55e180e6b087df95e26692b55d76ce46f1a8071e /src/components | |
parent | e067f641acca735a416fc3858402f14cecf356b1 (diff) |
Mark more li items as presentation in left sidebar
These lis are used as containers for the actual list, so no need to have
the screen reader say "list with one item" every time.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/LeftSidebar/LeftSidebar.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/LeftSidebar/LeftSidebar.vue b/src/components/LeftSidebar/LeftSidebar.vue index 70e1ebb47..b66c359c3 100644 --- a/src/components/LeftSidebar/LeftSidebar.vue +++ b/src/components/LeftSidebar/LeftSidebar.vue @@ -49,7 +49,7 @@ <template v-if="searchResultsUsers.length !== 0"> <Caption :title="t('spreed', 'Users')" /> - <li v-if="searchResultsUsers.length !== 0"> + <li v-if="searchResultsUsers.length !== 0" role="presentation"> <ConversationsOptionsList :items="searchResultsUsers" @click="createAndJoinConversation" /> @@ -66,7 +66,7 @@ <template v-if="searchResultsGroups.length !== 0"> <Caption :title="t('spreed', 'Groups')" /> - <li v-if="searchResultsGroups.length !== 0"> + <li v-if="searchResultsGroups.length !== 0" role="presentation"> <ConversationsOptionsList :items="searchResultsGroups" @click="createAndJoinConversation" /> @@ -76,7 +76,7 @@ <template v-if="searchResultsCircles.length !== 0"> <Caption :title="t('spreed', 'Circles')" /> - <li v-if="searchResultsCircles.length !== 0"> + <li v-if="searchResultsCircles.length !== 0" role="presentation"> <ConversationsOptionsList :items="searchResultsCircles" @click="createAndJoinConversation" /> |