refactor(a11y): add basic lint for accessibility (#2021)

This commit is contained in:
Huang Xin
2025-09-12 00:57:04 +08:00
committed by GitHub
parent 2571ceede4
commit 9fd152d727
56 changed files with 511 additions and 314 deletions
@@ -8,6 +8,7 @@ const useSidebar = (initialWidth: string, isPinned: boolean) => {
sideBarWidth,
isSideBarVisible,
isSideBarPinned,
getSideBarWidth,
setSideBarWidth,
setSideBarVisible,
setSideBarPin,
@@ -37,6 +38,7 @@ const useSidebar = (initialWidth: string, isPinned: boolean) => {
sideBarWidth,
isSideBarPinned,
isSideBarVisible,
getSideBarWidth,
handleSideBarResize,
handleSideBarTogglePin,
setSideBarVisible,