mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-18 17:07:28 -06:00
[bugfix] Fix a couple accessibility issues with :focus elements (#3979)
* [bugfix/frontend] Fix accessibility/focus issues in settings + web ui * fix little error * tweaks
This commit is contained in:
parent
365b575341
commit
19cfa8d126
24 changed files with 405 additions and 152 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue