Skip to content

Commit

Permalink
Editorial: adds new 1.3 translatable attributes (#2043)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnurthen committed Mar 12, 2024
1 parent 7bfb796 commit 4d774f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10137,9 +10137,14 @@ <h2>Translatable Attributes</h2>
<p>The HTML specification states that other specifications can define <a data-cite="html/dom.html#translatable-attributes">translatable attributes</a>. The language and directionality of each attribute value is the same as the <a data-cite="html/dom.html#language">language</a> and <a data-cite="html/dom.html#the-directionality">directionality</a> of the element.</p>
<p>To be understandable by assistive technology users, the values of the following <a>states</a> and [=ARIA/properties=] are <a data-cite="html/dom.html#translatable-attributes">translatable attributes</a> and should be translated when a page is localized:</p>
<ul>
<li><pref>aria-braillelabel</pref></li>
<li><pref>aria-brailleroledescription</pref></li>
<li><pref>aria-colindextext</pref></li>
<li><pref>aria-description</pref></li>
<li><pref>aria-label</pref></li>
<li><pref>aria-placeholder</pref></li>
<li><pref>aria-roledescription</pref></li>
<li><pref>aria-rowindextext</pref></li>
<li><pref>aria-valuetext</pref></li>
</ul>
</section>
Expand Down

0 comments on commit 4d774f3

Please sign in to comment.