From 7b8a02d49e2b1c8e84fc2bba7be37b5ccb4dff30 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Thu, 25 Apr 2024 20:34:57 -1000 Subject: [PATCH] fix: :wheelchair: Improve accessibility of entire site --- .../social-elements/instance/Presentation.vue | 2 +- components/social-elements/notes/attachment.vue | 4 ++-- components/social-elements/notes/mention.vue | 2 +- components/social-elements/notes/note.vue | 12 +++++++----- components/social-elements/users/Account.vue | 6 ++++-- components/social-elements/users/SmallCard.vue | 3 ++- pages/about/apps.vue | 2 +- pages/oauth/authorize.vue | 4 ++-- pages/oauth/consent.vue | 2 +- pages/register/index.vue | 17 ++++++++--------- 10 files changed, 29 insertions(+), 25 deletions(-) diff --git a/components/social-elements/instance/Presentation.vue b/components/social-elements/instance/Presentation.vue index 9ca0198..0b16278 100644 --- a/components/social-elements/instance/Presentation.vue +++ b/components/social-elements/instance/Presentation.vue @@ -3,7 +3,7 @@
+ alt="Instance banner" :src="instance.banner" />
diff --git a/components/social-elements/notes/attachment.vue b/components/social-elements/notes/attachment.vue index f60677c..f305bf4 100644 --- a/components/social-elements/notes/attachment.vue +++ b/components/social-elements/notes/attachment.vue @@ -1,7 +1,7 @@ diff --git a/components/social-elements/notes/note.vue b/components/social-elements/notes/note.vue index 053a7dc..b9c77b6 100644 --- a/components/social-elements/notes/note.vue +++ b/components/social-elements/notes/note.vue @@ -4,7 +4,8 @@
- +
@@ -64,6 +65,7 @@ @@ -104,10 +106,10 @@ const mentions = await useResolveMentions(props.note?.mentions ?? [], client); const content = props.note && process.client ? await useParsedContent( - props.note.content, - props.note.emojis, - mentions.value, - ) + props.note.content, + props.note.emojis, + mentions.value, + ) : ""; const numberFormat = (number = 0) => new Intl.NumberFormat(undefined, { diff --git a/components/social-elements/users/Account.vue b/components/social-elements/users/Account.vue index b2fc450..3ed5150 100644 --- a/components/social-elements/users/Account.vue +++ b/components/social-elements/users/Account.vue @@ -3,14 +3,16 @@
- +
- +
Edit Profile diff --git a/components/social-elements/users/SmallCard.vue b/components/social-elements/users/SmallCard.vue index c5b0e44..9e412d1 100644 --- a/components/social-elements/users/SmallCard.vue +++ b/components/social-elements/users/SmallCard.vue @@ -2,7 +2,8 @@
- +