Remove tabindex of -1 on upload image input in the write a post editor (#10543)
* Remove tabindex of -1 on upload image input in the write a post editor * Remove negative tabindex on image uploader's outer button * Give tabindex of -1 to outer button on image uploader * Update buttons.scss
This commit is contained in:
parent
2c10fb0417
commit
e920155a93
2 changed files with 2 additions and 2 deletions
|
|
@ -68,7 +68,8 @@
|
|||
&[href]:focus,
|
||||
&:hover:enabled,
|
||||
&:active:enabled,
|
||||
&:focus:enabled {
|
||||
&:focus:enabled,
|
||||
&:focus-within {
|
||||
background-color: var(--bg-hover);
|
||||
border-color: var(--border-hover);
|
||||
box-shadow: var(--shadow-hover);
|
||||
|
|
|
|||
|
|
@ -146,7 +146,6 @@ export const ImageUploader = () => {
|
|||
multiple
|
||||
accept="image/*"
|
||||
data-max-file-size-mb="25"
|
||||
tabIndex="-1"
|
||||
aria-label="Upload an image"
|
||||
/>
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue