-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Update] Article Landmarks ARIA (French version) #634
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for a11y-guidelines ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
9ae5afd
to
89ac80e
Compare
<li>Pour identifier le formulaire de recherche dans le site, on utilisera seul le <code>role=search</code> <abbr>ARIA</abbr>.</li> | ||
<li>Si besoin, le contenu annexe au contenu principal de la page (information complémentaire, publicité…) doit être identifié en utilisant la balise <code>aside</code> ou le <code>role=complementary</code>.</li> | ||
<p>Pour ajouter de la sémantique HTML au contenu d'une page, 2 possibilités :</p> | ||
<ol> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be a list, especially an ordered one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not a list ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We said OK for an unordered list (ul)
Ces balises doivent être utilisées seules, sans les rôles <abbr>ARIA</abbr> correspondants, car leur support est bon dans la grande majorité des navigateurs et des aides techniques.</p> | ||
|
||
<p>Exemple :</p> | ||
<p class="bg-primary d-inline-block p-2 mb-0 font-weight-bold">HTML</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for it, the tag 'HTML' is added automatically in the <pre><code>
component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to add that line because otherwise the tag 'HTML' doesn't show...
OK, I had to refresh after hot reload to have the correct display without that extra line.
<p></p><u>Pour une page qui n'est <em>pas en HTML5</em></u> : ajouter des <em>régions (<i lang="en">landmarks</i>) <abbr>ARIA</abbr></em></p> | ||
|
||
<p>Exemple :</p> | ||
<p class="bg-primary d-inline-block p-2 mb-0 font-weight-bold">HTML</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for it, the tag 'HTML' is added automatically in the <pre><code>
component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to add that line because otherwise the tag 'HTML' doesn't show...
OK, I had to refresh after hot reload to have the correct display without that extra line.
<h3 class="mt-4">Ressources</h3> | ||
<ul> | ||
<li>https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/</li> | ||
</ul> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing blank line at the end of the file.
|
||
<h3 class="mt-4">Ressources</h3> | ||
<ul> | ||
<li>https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/</li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<li>https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/</li> | |
<li><a href="https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/" hreflang="en">Landmark Regions specification</a></li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure !!!
</li> | ||
|
||
<li> | ||
<p></p><u>Pour une page qui n'est <em>pas en HTML5</em></u> : ajouter des <em>régions (<i lang="en">landmarks</i>) <abbr>ARIA</abbr></em></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To stay consistent with the reste of the website, underlined text is for links only.
</li> | ||
|
||
<li> | ||
<p></p><u>Pour une page qui n'est <em>pas en HTML5</em></u> : ajouter des <em>régions (<i lang="en">landmarks</i>) <abbr>ARIA</abbr></em></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<p></p><u>Pour une page qui n'est <em>pas en HTML5</em></u> : ajouter des <em>régions (<i lang="en">landmarks</i>) <abbr>ARIA</abbr></em></p> | |
<p><u>Pour une page qui n'est <em>pas en HTML5</em></u> : ajouter des <em>régions (<i lang="en">landmarks</i>) <abbr>ARIA</abbr></em></p> |
</tr> | ||
<tr> | ||
<td><code>form</code></td> | ||
<td><code>role="form"</code> s'il y a un nom accessible donné par aria-labelledby, aria-label ou title</td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<td><code>role="form"</code> s'il y a un nom accessible donné par aria-labelledby, aria-label ou title</td> | |
<td><code>role="form"</code> s'il y a un nom accessible donné par <code>aria-labelledby</code>, <code>aria-label</code> ou <code>title</code></td> |
</tr> | ||
<tr> | ||
<td><code>section</code></td> | ||
<td><code>role="region"</code> s'il y a un nom accessible donné par aria-labelledby, aria-label ou title</code> ou <code>aria-label</code></td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<td><code>role="region"</code> s'il y a un nom accessible donné par aria-labelledby, aria-label ou title</code> ou <code>aria-label</code></td> | |
<td><code>role="region"</code> s'il y a un nom accessible donné par <code>aria-labelledby</code>, <code>aria-label</code> ou <code>title</code></td> | |
<li>La balise <code>aside</code> ou l'attribut <code>role="complementary"</code> est à utiliser pour identifier du contenu annexe au contenu principal de la page (information complémentaire, publicité…).</li> | ||
<li>La balise <code>footer</code> ou l'attribut <code>role="contentinfo"</code> permet d’identifier le pied de page. A n'utiliser qu'une seule fois dans la page.</li> | ||
</ul> | ||
<p>Ces 4 balises ou attributs de région (<i lang="en">landmarks</i>) <abbr>ARIA</abbr> doivent être placés directement dans une balise <code>body</code> (et pas dans une autre balise elle-même imbriquée dans la balise <code>body</code>).</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be good to add some space here in order to make it easier to understand that this sentence is linked to previous list and not the next one.
89ac80e
to
d30a4f4
Compare
Pour relecture...