Created
September 16, 2020 10:26
-
-
Save rushijagani/ea7261adff48e14f6959318bed4ce169 to your computer and use it in GitHub Desktop.
Simple Header HTML markup with ARIA(Accessible Rich Internet Applications)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<header class="header-group" role="banner"> | |
<div class="header-inner"> | |
<div class="header-titles-wrapper"> | |
<div class="header-titles"> | |
<!-- .site-title or .site-logo --> | |
<h1 class="site-title"> | |
<a href="#">Site Title</a> | |
</h1> | |
<!-- .site-description --> | |
<div class="site-description">Site Description</div> | |
</div> | |
<!-- .header-titles --> | |
</div> | |
<!-- .header-titles-wrapper --> | |
<div class="header-navigation-wrapper"> | |
<nav | |
class="primary-menu-wrapper" | |
aria-label="Horizontal" | |
role="navigation" | |
> | |
<ul class="primary-menu"> | |
<li> | |
<a>Blogs</a> | |
</li> | |
</ul> | |
</nav> | |
<!-- .primary-menu-wrapper --> | |
</div> | |
<!-- .header-navigation-wrapper --> | |
</div> | |
<!-- .header-inner --> | |
</header> | |
<!-- #site-header --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment