summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-02-12 00:38:00 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-02-13 17:35:57 +0300
commitdb6fd25ff19210261f9b3ae25c6bcd383b5b836f (patch)
tree2852a519fc710f967bd02bcbe11d6502ea6073d2
parent0fc91e798d058c1c98dcfec0c6c5bffbcab3e15e (diff)
downloadwebui-vue-db6fd25ff19210261f9b3ae25c6bcd383b5b836f.tar.xz
Update PageTitle component to use div
Changed header element to div to fix accessiblity violation of having multiple header elements without unique aria-label properties. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1e8aeaa6ee9142e16176eb47928916424ef4fba0
-rw-r--r--src/components/Global/PageTitle.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Global/PageTitle.vue b/src/components/Global/PageTitle.vue
index 26588ca7..5c64f0d6 100644
--- a/src/components/Global/PageTitle.vue
+++ b/src/components/Global/PageTitle.vue
@@ -1,8 +1,8 @@
<template>
- <header class="page-title">
+ <div class="page-title">
<h1>{{ title }}</h1>
<p v-if="description">{{ description }}</p>
- </header>
+ </div>
</template>
<script>