mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 01:17:22 +00:00
MenuOverlay: focus trap
This commit is contained in:
parent
a5c4386a80
commit
921b24195d
1 changed files with 2 additions and 1 deletions
|
|
@ -38,6 +38,7 @@ export default function MenuOverlay ({
|
|||
<section>
|
||||
<div>
|
||||
<button
|
||||
tabIndex={0}
|
||||
onClick={() => dialog.current.close()}
|
||||
>
|
||||
Close this menu
|
||||
|
|
@ -67,7 +68,7 @@ export default function MenuOverlay ({
|
|||
</div>
|
||||
|
||||
<div className='navigation'>
|
||||
<Link href="/">
|
||||
<Link href="/" tabIndex={0}>
|
||||
ElseIfPlayer
|
||||
</Link>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue