diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-02-12 00:38:00 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-02-13 17:35:57 +0300 |
commit | db6fd25ff19210261f9b3ae25c6bcd383b5b836f (patch) | |
tree | 2852a519fc710f967bd02bcbe11d6502ea6073d2 /src | |
parent | 0fc91e798d058c1c98dcfec0c6c5bffbcab3e15e (diff) | |
download | webui-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
Diffstat (limited to 'src')
-rw-r--r-- | src/components/Global/PageTitle.vue | 4 |
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> |