Add role=group to status messages setting

Fixes #1909
This commit is contained in:
Pavel Djundik 2020-03-03 12:15:42 +02:00
parent 6f04216af5
commit 8d119630eb

View File

@ -103,7 +103,7 @@
/> />
</label> </label>
</div> </div>
<h2> <h2 id="label-status-messages">
Status messages Status messages
<span <span
class="tooltipped tooltipped-n tooltipped-no-delay" class="tooltipped tooltipped-n tooltipped-no-delay"
@ -112,7 +112,7 @@
<button class="extra-help" /> <button class="extra-help" />
</span> </span>
</h2> </h2>
<div> <div role="group" aria-labelledby="label-status-messages">
<label class="opt"> <label class="opt">
<input <input
:checked="$store.state.settings.statusMessages === 'shown'" :checked="$store.state.settings.statusMessages === 'shown'"
@ -163,7 +163,7 @@
<div v-if="$store.state.settings.advanced"> <div v-if="$store.state.settings.advanced">
<label class="opt"> <label class="opt">
<label for="nickPostfix" class="sr-only"> <label for="nickPostfix" class="sr-only">
Nick autocomplete postfix (e.g. <code>, </code>) Nick autocomplete postfix (for example a comma)
</label> </label>
<input <input
id="nickPostfix" id="nickPostfix"
@ -338,8 +338,10 @@
!$store.state.serverConfiguration.ldapEnabled !$store.state.serverConfiguration.ldapEnabled
" "
id="change-password" id="change-password"
role="group"
aria-labelledby="label-change-password"
> >
<h2>Change password</h2> <h2 id="label-change-password">Change password</h2>
<div class="password-container"> <div class="password-container">
<label for="old_password_input" class="sr-only"> <label for="old_password_input" class="sr-only">
Enter current password Enter current password
@ -415,7 +417,7 @@
/> />
</div> </div>
<div v-if="!$store.state.serverConfiguration.public" class="session-list"> <div v-if="!$store.state.serverConfiguration.public" class="session-list" role="group">
<h2>Sessions</h2> <h2>Sessions</h2>
<h3>Current session</h3> <h3>Current session</h3>