Skip to content

Commit d85db52

Browse files
acc name calc for input type=image match browsers better
IE/Edge/firefox use title, if not used as acc description, before supplying own string, so switched order to reflect fixes #150
1 parent 44e0c4d commit d85db52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5544,8 +5544,8 @@ <h4><code>input type="image"</code> Accessible Name Computation</h4>
55445544
<li>If the control has an <a href="https://www.w3.org/TR/wai-aria-1.1/#aria-label"><code>aria-label</code></a> or an <a href="https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"><code>aria-labelledby</code></a> attribute the <a class="termref">accessible name</a> is to be calculated using the algorithm defined in <a href="" class="accname">Accessible Name and Description: Computation and API Mappings 1.1</a>.</li>
55455545
<li>Otherwise use <code>alt</code> attribute</li>
55465546
<li>Otherwise use <code>value</code> attribute </li>
5547+
<li>Otherwise use <code>title</code> attribute</li>
55475548
<li>Otherwise the user agent may provide an <a class="termref">accessible name</a> via a localized string of the phrase &quot;Submit Query&quot;</li>
5548-
<li>Otherwise use <code>title</code> attribute</li>
55495549
<li>If none of the above yield a usable text string there is no <a class="termref">accessible name</a></li>
55505550
</ol>
55515551
</section>

0 commit comments

Comments
 (0)