Label radiogroups
This commit is contained in:
parent
a91944a75f
commit
af843cb536
@ -18,7 +18,7 @@
|
||||
<CollapsibleSection name="players">
|
||||
<template v-slot:heading>{{ heading }} [{{ players.size }}/{{ maxPlayers }}]</template>
|
||||
<template v-slot:default>
|
||||
<RadioList class="section__content" v-if="players.size">
|
||||
<RadioList class="section__content" v-if="players.size" aria-labelledby="players-heading">
|
||||
<PlayerListItem v-for="[account, player] in players" :key="account" :player="player"></PlayerListItem>
|
||||
</RadioList>
|
||||
<div v-else class="section__skeleton">{{ skeletonPlayers }}</div>
|
||||
|
@ -18,7 +18,7 @@
|
||||
<CollapsibleSection name="maps">
|
||||
<template v-slot:heading>{{ heading }}</template>
|
||||
<template v-slot:default>
|
||||
<RadioList v-if="worlds.size" class="section__content">
|
||||
<RadioList v-if="worlds.size" class="section__content" aria-labelledby="maps-heading">
|
||||
<WorldListItem :world="world" v-for="[name, world] in worlds" :key="`${prefix}_${currentServer.id}_${name}`"></WorldListItem>
|
||||
</RadioList>
|
||||
<div v-else class="section__skeleton">{{ skeletonWorlds }}</div>
|
||||
|
Loading…
Reference in New Issue
Block a user