File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ function AppLayout() {
2828 return (
2929 < >
3030 < Sidebar />
31- < div
31+ < main
3232 className = "drawer-content grow flex flex-col h-screen w-screen mx-auto px-4 overflow-auto bg-base-100"
3333 id = "main-scroll"
3434 >
3535 < Header />
3636 < Outlet />
37- </ div >
37+ </ main >
3838 {
3939 < SettingDialog
4040 show = { showSettings }
Original file line number Diff line number Diff line change @@ -65,6 +65,14 @@ export default function Sidebar() {
6565 aria-label = "Close sidebar"
6666 className = "drawer-overlay"
6767 > </ label >
68+
69+ < a
70+ href = "#main-scroll"
71+ className = "absolute -left-80 top-0 w-1 h-1 overflow-hidden"
72+ >
73+ Skip to main content
74+ </ a >
75+
6876 < div className = "flex flex-col bg-base-200 min-h-full max-w-64 py-4 px-4" >
6977 < div className = "flex flex-row items-center justify-between mb-4 mt-4" >
7078 < h2 className = "font-bold ml-4" role = "heading" >
You can’t perform that action at this time.
0 commit comments