diff options
author | Vincent Petry <vincent@nextcloud.com> | 2020-11-19 18:55:00 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2020-11-19 18:55:00 +0300 |
commit | ba1d389ac52eb8764982e1e4e025eca367c372fd (patch) | |
tree | bcaeffddf467e0164ac7259d0414b1540736dc69 /src/components/MessagesList/MessagesGroup/MessagesGroup.vue | |
parent | 5881be73516fe77caf60981fa1bf6dbbb1f7dff2 (diff) |
Give heading role to message group author and day separator
This way it makes it clearer that it's the message author.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/components/MessagesList/MessagesGroup/MessagesGroup.vue')
-rw-r--r-- | src/components/MessagesList/MessagesGroup/MessagesGroup.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/MessagesList/MessagesGroup/MessagesGroup.vue b/src/components/MessagesList/MessagesGroup/MessagesGroup.vue index ca3c2b53c..e6e9b7576 100644 --- a/src/components/MessagesList/MessagesGroup/MessagesGroup.vue +++ b/src/components/MessagesList/MessagesGroup/MessagesGroup.vue @@ -22,7 +22,7 @@ <template> <div class="message-group"> <div v-if="dateSeparator" class="message-group__date-header"> - <span class="date">{{ dateSeparator }}</span> + <span class="date" role="heading" aria-level="1">{{ dateSeparator }}</span> </div> <div class="wrapper"> <div class="messages__avatar"> |