summaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2020-11-23 20:53:31 +0100
committerVincent Petry <vincent@nextcloud.com>2020-11-23 20:53:31 +0100
commit773be42dcc5642d9070820b8ba6d9a294a43112d (patch)
tree55e180e6b087df95e26692b55d76ce46f1a8071e /src/components
parente067f641acca735a416fc3858402f14cecf356b1 (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.vue6
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" />