mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 09:12:08 +01:00
feat: comprehensive accessibility improvements
- Add skip navigation link for keyboard users - Implement proper ARIA labels and roles throughout interface - Add semantic HTML structure with headings and landmarks - Enhance form accessibility with help text and fieldsets - Improve screen reader support with live regions - Add proper focus management for sidebar toggle - Include descriptive labels for all interactive elements - Ensure WCAG compliance for navigation and forms
This commit is contained in:
@ -65,7 +65,8 @@ export default function DashboardLayout({ children }: { children: ReactNode }) {
|
||||
onNavigate={collapseSidebar}
|
||||
/>
|
||||
|
||||
<div
|
||||
<main
|
||||
id="main-content"
|
||||
className={`flex-1 overflow-auto transition-all duration-300 py-4 pr-4
|
||||
${
|
||||
isSidebarExpanded
|
||||
@ -76,7 +77,7 @@ export default function DashboardLayout({ children }: { children: ReactNode }) {
|
||||
>
|
||||
{/* <div className="w-full mx-auto">{children}</div> */}
|
||||
<div className="max-w-7xl mx-auto">{children}</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user