Skip to content

Commit e138d5c

Browse files
cookiecrookcarmacleodjnurthen
authored
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 <[email protected]> * Change references Co-authored-by: Carolyn MacLeod <[email protected]> Co-authored-by: James Nurthen <[email protected]>
1 parent 5051beb commit e138d5c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

index.html

+4-3
Original file line numberDiff line numberDiff line change
@@ -10319,9 +10319,10 @@ <h4>Example Attribute Usage</h4>
1031910319
</section>
1032010320
</section>
1032110321
</section>
10322-
<section>
10323-
<h2>Translatable States and Properties</h2>
10324-
<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>
10322+
<section data-cite="HTML">
10323+
<h2>Translatable Attributes</h2>
10324+
<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>
10325+
<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>
1032510326
<ul>
1032610327
<li><pref>aria-label</pref></li>
1032710328
<li><pref>aria-placeholder</pref></li>

0 commit comments

Comments
 (0)