4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
11 border:
1px solid red;
25 <h2>ltr image, rtl alt
</h2>
26 <img dir=
"ltr" alt=
"یا" src=
"about:blank">
29 <h2>rtl image, rtl alt
</h2>
30 <img dir=
"rtl" alt=
"یا" src=
"about:blank">
33 <h2>ltr image, ltr alt
</h2>
34 <img dir=
"ltr" alt=
"alt" src=
"about:blank">
37 <h2>rtl image, ltr alt
</h2>
38 <img dir=
"rtl" alt=
"alt" src=
"about:blank">
41 <h2>ltr image, weak alt
</h2>
42 <img dir=
"ltr" alt=
".," src=
"about:blank">
45 <h2>rtl image, weak alt
</h2>
46 <img dir=
"rtl" alt=
".," src=
"about:blank">
49 <h2>ltr image, mixed alt
</h2>
50 <img dir=
"ltr" alt=
"یاexampleیا" src=
"about:blank">
53 <h2>rtl image, mixed alt
</h2>
54 <img dir=
"rtl" alt=
"یاexampleیا" src=
"about:blank">
57 Tests that image alt text takes directionality into account.