From a94b019e174b7f8b2cd5dee32bf41d512360f61e Mon Sep 17 00:00:00 2001 From: Bruno Thomas Date: Tue, 28 Nov 2023 14:40:28 +0100 Subject: [PATCH] chore: fix a11y issues for RGAA audit iroco-co/audits-frago#3 --- src/lib/Chart.svelte | 1 + src/lib/Disconnect.svelte | 1 + src/lib/Energy.svelte | 4 ++-- src/lib/Footer.svelte | 6 ++--- src/lib/GreenHost.svelte | 6 ++--- src/lib/Host.svelte | 4 ++-- src/lib/Mail.svelte | 2 +- src/lib/Plant.svelte | 4 ++-- src/lib/Privacy.svelte | 4 ++-- src/lib/Security.svelte | 1 + src/lib/Server.svelte | 4 ++-- src/lib/UserExperience.svelte | 1 + src/lib/Zen.svelte | 1 + src/routes/about/+page.svelte | 44 ++++++++++++++++++++--------------- 14 files changed, 47 insertions(+), 36 deletions(-) diff --git a/src/lib/Chart.svelte b/src/lib/Chart.svelte index 5d5f7ce..bdfdb79 100644 --- a/src/lib/Chart.svelte +++ b/src/lib/Chart.svelte @@ -8,6 +8,7 @@ preserveAspectRatio="xMaxYMin meet" viewBox="0 0 800 400" height={size} + role="img" width={(5 * size) / 3} > Subscription Chart diff --git a/src/lib/Disconnect.svelte b/src/lib/Disconnect.svelte index 6f9afde..aa7268d 100644 --- a/src/lib/Disconnect.svelte +++ b/src/lib/Disconnect.svelte @@ -8,6 +8,7 @@ height="189" viewBox="0 0 189 189" fill="none" + role="img" xmlns="http://www.w3.org/2000/svg" > Disconnect diff --git a/src/lib/Energy.svelte b/src/lib/Energy.svelte index 9271bd3..0ef7952 100644 --- a/src/lib/Energy.svelte +++ b/src/lib/Energy.svelte @@ -1,10 +1,10 @@ - + Energy