fix: accessibility (#57)

* fix accesibility issues:
- index.vue: input without label
- about.vue: color contrast doesn't have sufficient contrast ratio on code sample on light theme

* optimize png icons:
pwa-192x192.png: -31.04%
pwa-512x512.png: -14.66%

use https://ezgif.com/

* chore: color

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
userquinandAnthony Fu authored and GitHub committed 2021-02-12 13:00:32 +08:00
1 parent 83225032d0
commit 0d571d6cc2
4 files changed
+5 -4

No files matched your search

+1
View File
@@ -34,6 +34,7 @@ const { t } = useI18n()
id="input"
v-model="name"
:placeholder="t('intro.whats-your-name')"
:aria-label="t('intro.whats-your-name')"
type="text"
autocomplete="false"
class="px-4 py-2 text-sm text-center bg-transparent border border-gray-200 rounded outline-none active:outline-none dark:border-gray-700"