Skip to content

Commit 29628eb

Browse files
committed
fix(dashboard): remove status list if there are none
- resolves #59334 If there are no status entries the list must be removed. Its not valid to show an empty list as per accessibility rules: https://www.w3.org/TR/wai-aria-1.2/#mustContain Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 13583e8 commit 29628eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dashboard/src/DashboardApp.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<template>
66
<main id="app-dashboard">
77
<h2>{{ greeting.text }}</h2>
8-
<ul class="statuses">
8+
<ul v-if="sortedRegisteredStatus.length > 0" class="statuses">
99
<li
1010
v-for="status in sortedRegisteredStatus"
1111
:id="'status-' + status"

0 commit comments

Comments
 (0)