1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
4 <script src=
"../resources/js-test.js"></script>
5 <meta http-equiv=
"content-language" content=
"en">
9 <p lang=
"pl">polish
</p>
11 <p id=
"description"></p>
12 <div id=
"console"></div>
16 description("Check whether languages are reported properly");
18 if (window
.accessibilityController
) {
19 var body
= document
.getElementById("body");
22 var webPageLang
= accessibilityController
.focusedElement
;
23 debug(webPageLang
.language
);
25 var lang
= webPageLang
.childAtIndex(0);