summaryrefslogtreecommitdiff
path: root/web/source/settings/views/user/profile/profile.tsx
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2025-04-09 14:14:20 +0200
committerLibravatar GitHub <noreply@github.com>2025-04-09 14:14:20 +0200
commit19cfa8d126a2ff54298150529e58e5e4f5495f09 (patch)
tree3a569e6c456cc7ea13f16f04c5cd81301b71e5f2 /web/source/settings/views/user/profile/profile.tsx
parent[feature] add TOTP two-factor authentication (2FA) (#3960) (diff)
downloadgotosocial-19cfa8d126a2ff54298150529e58e5e4f5495f09.tar.xz
[bugfix] Fix a couple accessibility issues with `:focus` elements (#3979)
* [bugfix/frontend] Fix accessibility/focus issues in settings + web ui * fix little error * tweaks
Diffstat (limited to 'web/source/settings/views/user/profile/profile.tsx')
-rw-r--r--web/source/settings/views/user/profile/profile.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/source/settings/views/user/profile/profile.tsx b/web/source/settings/views/user/profile/profile.tsx
index 6f99a17db..36e307193 100644
--- a/web/source/settings/views/user/profile/profile.tsx
+++ b/web/source/settings/views/user/profile/profile.tsx
@@ -167,6 +167,7 @@ function ProfileForm({ data: profile }: ProfileFormProps) {
<MutationButton
className="delete-header-button"
label="Delete header"
+ tabIndex={0}
disabled={noHeader}
result={deleteHeaderRes}
onClick={(e) => {
@@ -179,7 +180,7 @@ function ProfileForm({ data: profile }: ProfileFormProps) {
}}
/>
</fieldset>
-
+
<fieldset className="file-input-with-image-description">
<legend>Avatar</legend>
<FileInput
@@ -197,6 +198,7 @@ function ProfileForm({ data: profile }: ProfileFormProps) {
<MutationButton
className="delete-avatar-button"
label="Delete avatar"
+ tabIndex={0}
disabled={noAvatar}
result={deleteAvatarRes}
onClick={(e) => {