Enhance accessibility and structure across multiple components
- Updated the ContactForm component to include labels and aria-describedby attributes for better accessibility. - Improved the Button component by conditionally adding aria-labels based on text input. - Enhanced the Form component with aria-describedby attributes for validation feedback. - Refactored the Layout component to include semantic HTML5 elements for better structure and accessibility. - Updated the 404 page metadata for improved SEO and user experience.
This commit is contained in:
@@ -67,9 +67,19 @@ const { language, textDirection } = I18N;
|
||||
|
||||
<body class="antialiased text-default bg-page tracking-tight">
|
||||
<GlobalBackground />
|
||||
<slot name="structured-data" />
|
||||
<slot />
|
||||
|
||||
<header role="banner">
|
||||
<slot name="header" />
|
||||
</header>
|
||||
<nav role="navigation" aria-label="Main navigation">
|
||||
<slot name="navigation" />
|
||||
</nav>
|
||||
<main role="main">
|
||||
<slot name="structured-data" />
|
||||
<slot />
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<slot name="footer" />
|
||||
</footer>
|
||||
<BasicScripts />
|
||||
<LanguagePersistence />
|
||||
<CookieBanner />
|
||||
|
||||
Reference in New Issue
Block a user