fix: add a screen reader-only text for the "Close" button
This commit is contained in:
parent
462897de32
commit
f9d166fbfe
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ function Header({ docLinks }) {
|
|||
}}
|
||||
className="inline-block md:hidden self-center"
|
||||
>
|
||||
<span className="sr-only">Close</span>
|
||||
<X className="inline-block w-8 h-8 py-1 rounded-sm bg-background text-foreground hover:bg-accent/60 hover:text-accent-foreground transition-colors" />
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue