Skip to content

Commit

Permalink
write all aria-lebel
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulptl165 committed Nov 8, 2024
1 parent 2b900bb commit 71f45e3
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ <h1>Vocabulary</h1>

</header>

<aside class="menu">
<aside class="menu" aria-label="Sidebar menu">

<nav>
<nav aria-label="Section navigation">
<ul>
<li><a href="#introduction" class="active">Introduction</a></li>
<li><a href="#installation">Installation</a></li>
Expand Down Expand Up @@ -114,7 +114,7 @@ <h3>02. CSS Installation</h3>

<p>Your project should include a “main/root” css styles file, which is included within the <span class="distinct">head</span> element of your HTML.</p>

<aside>
<aside aria-label="File naming recommendations">
<p>It is recommended you call this file style.css; depending on the requirements of the system you could also call this file main.css, root.css, or manifest.css. WordPress Theme's, for example, require 'style.css'.</p>
</aside>

Expand All @@ -128,7 +128,7 @@ <h3>02. CSS Installation</h3>

<p>Include <span class="distinct">vocabulary.css</span> from within <span class="distinct">style.css</span> via a <a href="#">CSS @layer import</a> at the top of the file.</p>

<aside>
<aside aria-label="CSS Layers information">
<p>CSS Layers provide a reliable, and safely overridable cascade of rulesets.</p>
</aside>

Expand Down Expand Up @@ -175,7 +175,7 @@ <h2 id="components">Components</h2>

<p><span class="distinct">Components</span> are discrete collected elements in a semantic order that provide a coherent meaning, and can be placed in various contexts which expect them. Various presentations and/or behaviors can then be applied to them depending on the needs, rules, and use cases of various contexts.</p>

<aside>
<aside aria-label="Naming conventions note">
<p>There are perhaps better naming conventions than "components", but when used here it doesn't mean JS Components generally, Web Components, or React Components; it's just the term as general as possible.</p>
</aside>

Expand Down Expand Up @@ -224,7 +224,7 @@ <h4>Expected Contexts</h4>
<div class="masthead">
<h1><a class="identity-logo product" href="#">Vocabulary</a></h1>
<button class="expand-menu">Menu</button>
<nav class="primary-menu">
<nav class="primary-menu" aria-label="Primary site navigation">
<ul>
<li><a href="#">Who We Are</a></li>
<li><a href="#">What We Do</a></li>
Expand All @@ -235,7 +235,7 @@ <h1><a class="identity-logo product" href="#">Vocabulary</a></h1>
</ul>
</nav>

<nav class="ancillary-menu">
<nav class="ancillary-menu" aria-label="Secondary site navigation">
<ul>
<!-- uncomment below line, if translation functionality is present on site -->
<!-- <li><button class="locale icon-attach fa-globe">English</button></li> -->
Expand All @@ -252,13 +252,13 @@ <h1><a class="identity-logo product" href="#">Vocabulary</a></h1>
<div class="explore-panel">

<!-- (optional main CC logo, p, link on non-home site back to main site) -->
<aside>
<aside aria-label="Creative Commons support message">
<a class="identity-logo" href="https://creativecommons.org">Creative Commons</a>
<h2>Our Work Relies On You!</h2>
<p>Help us keep the internet free and open.</p>
</aside>

<nav class="explore-menu">
<nav class="explore-menu" aria-label="Explore Creative Commons resources">
<ul>
<li>
<a href="https://network.creativecommons.org/" target="_blank">Global Network</a>
Expand Down Expand Up @@ -326,7 +326,7 @@ <h4>Expected Contexts</h4>
<footer>
<a class="identity-logo" href="#">Creative Commons</a>

<nav class="footer-menu">
<nav class="footer-menu" aria-label="Footer menu">
<ul>
<li><a href="/about/contact">Contact</a></li>
<li><a href="https://mail.creativecommons.org/subscribe" target="_blank">Newsletter</a></li>
Expand All @@ -343,7 +343,7 @@ <h2>Contact Us</h2>
<p><a href="mailto:info@creativecommons.org">info@creativecommons.org</a></p>
<p><a href="tel:+14154296753">+1&#8209;415&#8209;429&#8209;6753</a></p>

<nav class="social-menu">
<nav class="social-menu" aria-label="Social media links">
<ul>
<!-- <li><a class="icon-replace fa-instagram" href="#">Instagram</a></li> -->
<li><a class="icon-replace fa-twitter" href="https://twitter.com/creativecommons" target="_blank">Twitter</a></li>
Expand Down Expand Up @@ -612,7 +612,7 @@ <h4>Expected Contexts</h4>
<pre>
<code class="lang-html">

<nav class="pagination">
<nav class="pagination" aria-label="navigation of different pages">
<ol>
<li class="current"><a href="#">1</a></li>
<li><a href="#">2</a></li>
Expand Down Expand Up @@ -645,7 +645,7 @@ <h4>Expected Contexts</h4>
<pre>
<code class="lang-html">

<aside class="opening">
<aside class="opening" aria-label="Opening content">
<p>content here</p>
</aside>

Expand All @@ -665,7 +665,7 @@ <h4>Expected Contexts</h4>
<pre>
<code class="lang-html">

<aside class="closing">
<aside class="closing" aria-label="ending content">
<p>content here</p>
</aside>

Expand Down Expand Up @@ -712,7 +712,7 @@ <h4>Expected Contexts</h4>
<pre>
<code class="lang-html">

<aside>
<aside aria-label="Related information">

contents here

Expand All @@ -732,7 +732,7 @@ <h4>Expected Contexts</h4>
<pre>
<code class="lang-html">

<nav class="filter-menu">
<nav class="filter-menu" aria-label="Categories navigation">
<h2>Categories</h2>
<ul>
<li><a href="#">All posts</a></li>
Expand All @@ -757,7 +757,7 @@ <h4>Expected Contexts</h4>
<pre>
<code class="lang-html">

<nav>
<nav aria-label="Related Links navigation">
<h2>Related Links</h2>
<ul>
<li><a href="#">All posts</a></li>
Expand Down

0 comments on commit 71f45e3

Please sign in to comment.