Skip to content

3.1.2 Language of Parts - Computed acc name clarification + ambiguous example #4423

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removed redundancy
  • Loading branch information
giacomo-petri authored Jun 3, 2025
commit c43c4ab5ce2336419d372f5bb35e7123efcb3838
3 changes: 0 additions & 3 deletions understanding/20/language-of-parts.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,6 @@ <h3>Element's content used as accessible name</h3>
<p>This link may be announced with an English accent, mispronouncing "Español".</p>
<pre xml:space="preserve"><code class="language-html">&lt;a href="/es/"&gt;&lt;span lang="es"&gt;Español&lt;/span&gt;&lt;/a&gt;</code></pre>
<p>This version correctly applies the Spanish language to the element, ensuring "Español" is pronounced with a Spanish accent.</p>
<h3>Alternative language links</h3>
<p>An HTML web page includes links to versions of the page in other languages (e.g.,
<p><code class="language-html">&lt;a href="/es/" lang="es"&gt;&lt;span&gt;Español&lt;/span&gt;&lt;/a&gt;</code></p>

<h3>Element's content in multiple languages used as accessible name</h3>
<p>When content includes multiple languages, it's acceptable to set the parent element to the primary language, as long as any child elements in a different language have the appropriate language set.</p>
Expand Down