Skip to content

Commit

Permalink
deploy: 1122157
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniort committed Jun 6, 2024
1 parent 901adcb commit 6b6a80e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion en/articles/aria-attributes-that-can-save-you/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ <h2 id="should-it-be-used-and-how">Should it be used and how? <a class="header-a
<p>At last, `aria-describedby' will add an accessible description in addition to the accessible name of the element.</p>
<h2 id="examples">Examples <a class="header-anchor" href="#examples" aria-labelledby="a11y_heading_anchor_label">#</a></h2>
<pre><code class="html">
&lt;button aria-label="Access Hypertext markup language"&gt;html&lt;/button&gt;
&lt;button aria-label="Access html (Hypertext markup language)"&gt;html&lt;/button&gt;
</code></pre>
<p>Screen reader output: &quot;Access Hypertext markup language&quot;</p>
<pre><code class="html">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ <h2 id="faut-il-les-utiliser-et-comment">Faut-il les utiliser et comment ? <a c
<p>Quant à lui, <code>aria-describedby</code> va rajouter au nom accessible de l'élément, une description accessible, plus longue ou plus complète, logiquement, que le nom accessible.</p>
<h2 id="exemples">Exemples <a class="header-anchor" href="#exemples" aria-labelledby="a11y_heading_anchor_label">#</a></h2>
<pre><code class="html">
&lt;button aria-label="accéder au code Hypertext markup language"&gt;html&lt;/button&gt;
&lt;button aria-label="accéder au code html (Hypertext markup language)"&gt;html&lt;/button&gt;
</code></pre>
<p>Sortie pour un lecteur d'écran : &quot;accéder au code Hypertext markup language&quot;</p>
<pre><code class="html">
Expand Down

0 comments on commit 6b6a80e

Please sign in to comment.