Skip to content

Commit

Permalink
Merge pull request #398 from epfl-idevelop/fix-links-accessibility
Browse files Browse the repository at this point in the history
Fix links in accessibility doc
  • Loading branch information
jdelasoie authored Jul 3, 2019
2 parents b486fa4 + 7e8a811 commit 672259f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/accessibility.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h2 class="mt-3 mb-3">Specific recommendations</h2>

<h3 class="mt-3">Colors and contrasts</h3>
<p>Good color contrasts for accessibility mean using colors that provide maximum contrast. You need to make sure there is enough contrast between the content and its background.</p>
<p>Please refer to the <a href="/#/colors">color palette page</a>. The <b>accessibility table</b> provides color pairings that respect this recommendation.</p>
<p>Please refer to the <a href="#/colors">color palette page</a>. The <b>accessibility table</b> provides color pairings that respect this recommendation.</p>

<h3>HTML5</h3>
<p>Use HTML5 as much as possible, don't use a basic <code>&lt;div&gt;</code> everywhere and prefer the correct and semantic elements instead.</p>
Expand All @@ -20,7 +20,7 @@ <h3>Aria</h3>
<p>Use Aria tags whenever it's needed, and remember <b>it is better to not use an aria tag than to use the wrong one</b>.</p>

<h3>Skip links (access nav)</h3>
<p>Don't forget to add the <a href="/#/molecules/access-nav">skip links</a> to every page of your project. They should allow the user to more easily get to the main areas of the website.</p>
<p>Don't forget to add the <a href="#/molecules/access-nav">skip links</a> to every page of your project. They should allow the user to more easily get to the main areas of the website.</p>
<p>To do that:</p>
<ol class="list-numbered">
<li>Set main area to: <code>&lt;main role="main" id="main"&gt;</code></li>
Expand Down

0 comments on commit 672259f

Please sign in to comment.