Skip to content

Commit 91316b2

Browse files
cookiecrookcarmacleodjnurthen
committed
add lang clarification to translatable attributes section. (#1690)
* add lang clarification to translatable attributes section. Resolves #1365 * Removing accidental whitespace line break * editorial nit * carmacleod suggestion: 'value' -> 'attribute value' Co-authored-by: Carolyn MacLeod <Carolyn_MacLeod@ca.ibm.com> * Change references Co-authored-by: Carolyn MacLeod <Carolyn_MacLeod@ca.ibm.com> Co-authored-by: James Nurthen <jnurthen@users.noreply.github.com>
1 parent a673c17 commit 91316b2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10329,9 +10329,10 @@ <h4>Example Attribute Usage</h4>
1032910329
</section>
1033010330
</section>
1033110331
</section>
10332-
<section>
10333-
<h2>Translatable States and Properties</h2>
10334-
<p>The HTML specification states that other specifications can define <a href="https://html.spec.whatwg.org/multipage/dom.html#translatable-attributes">translatable attributes</a>. In order to be understandable by assistive technology users, the values of the following <a>states</a> and <a>properties</a> are <a href="https://html.spec.whatwg.org/multipage/dom.html#translatable-attributes">translatable attributes</a> and should be translated when a page is localized:</p>
10332+
<section data-cite="HTML">
10333+
<h2>Translatable Attributes</h2>
10334+
<p>The HTML specification states that other specifications can define <a data-cite="html/dom.html#translatable-attributes">translatable attributes</a>. The source translation language of each attribute value is defined by use of the [^html-global/lang^] attribute on the element or its ancestor elements.</p>
10335+
<p>To be understandable by assistive technology users, the values of the following <a>states</a> and <a>properties</a> are <a data-cite="html/dom.html#translatable-attributes">translatable attributes</a> and should be translated when a page is localized:</p>
1033510336
<ul>
1033610337
<li><pref>aria-label</pref></li>
1033710338
<li><pref>aria-placeholder</pref></li>

0 commit comments

Comments
 (0)