From f1dda7727e2fc58305703bde58da3b48ab0098f8 Mon Sep 17 00:00:00 2001 From: Yash Dave Date: Sun, 6 Jun 2021 15:05:43 +0530 Subject: [PATCH] add aria labels for svg info --- components/Cat404.vue | 3 +++ components/CatCard.vue | 5 ++++ components/InfoDialog.vue | 4 +++- components/Logo.vue | 3 +++ components/StarRating.vue | 4 +++- layouts/default.vue | 49 +++++++++++++++++++++++---------------- 6 files changed, 46 insertions(+), 22 deletions(-) diff --git a/components/Cat404.vue b/components/Cat404.vue index 562e24d..01d45c7 100644 --- a/components/Cat404.vue +++ b/components/Cat404.vue @@ -4,7 +4,10 @@ xmlns="http://www.w3.org/2000/svg" viewBox="0 0 521.48 957.94" class="fill-current h-52" + role="img" + aria-labelledby="error-404" > + No results found diff --git a/components/CatCard.vue b/components/CatCard.vue index 6d141d3..c92ff30 100644 --- a/components/CatCard.vue +++ b/components/CatCard.vue @@ -12,13 +12,18 @@ + + Open help dialog + + + {{ $device.isMobile ? '' : 'Help' }} + +