diff options
author | Vincent Petry <vincent@nextcloud.com> | 2020-11-19 17:47:09 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2020-11-19 17:47:09 +0300 |
commit | ae28569cf58153191a4d3eb3ff38349e7dd1a701 (patch) | |
tree | 7d53b52747f9a00cb1fe76b560e04ac39eb66a4b /src/components/ChatView.vue | |
parent | 3f0f8efaaee6e84d6b8fd04bc97c21a6f7a60ec1 (diff) |
Define region roles for easier access
Defined specific region roles for easier access to:
- conversation settings: navigation role define by the component itself,
we use a custom label here.
- conversation messages
- new message form
Note: so far the call button and conversation settings are part of the
main content, not the messages list. This could be tweaked further
later on.
The right sidebar is already recognized as "complementary".
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/components/ChatView.vue')
-rw-r--r-- | src/components/ChatView.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/ChatView.vue b/src/components/ChatView.vue index c25c92713..299bc7916 100644 --- a/src/components/ChatView.vue +++ b/src/components/ChatView.vue @@ -43,8 +43,12 @@ </div> </transition> <MessagesList + role="region" + :aria-label="t('spreed', 'Conversation messages')" :token="token" /> - <NewMessageForm /> + <NewMessageForm + role="region" + :aria-label="t('spreed', 'Post message')" /> </div> </template> |