-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from gautierchomel/language_switching
Experimental language change tests
- Loading branch information
Showing
3 changed files
with
107 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> | ||
|
||
<head> | ||
<title>Language change locals lang code</title> | ||
<meta charset="utf-8" /> | ||
<link rel="stylesheet" type="text/css" href="../css/base.css" /> | ||
</head> | ||
|
||
<body> | ||
<section id="reading-1512" class="test"> | ||
|
||
<h1><span class="test-id">reading-1511</span> <span class="test-title">TTS Change Languages Automatically (main language code)</span></h1> | ||
|
||
<p class="desc">Screen readers and other Assistive Technology that use TTS should be able to detect language changes marked in XHTML content. A screen reader should be able to be configured to automatically change the TTS speaking language when it encounters a language change in the XHTML. In some cases available voices are dependant of the operating system. to perform this test, tester must be sure that the following languages are installed on his computer:</p> | ||
<ul> | ||
<li>English, US</li> | ||
<li>French, Canada</li> | ||
</ul> | ||
|
||
|
||
<p> Configure your screen reader or other Assistive Technology to automatically change the TTS language. Read the phrases below line by line and continuously. The test passes if the TTS language changes as it encounters the language change.</p> | ||
|
||
<p class="eval">Indicate Pass or Fail.</p> | ||
|
||
<h2>Language Change Test</h2> | ||
|
||
<p>In US English, "this is a very good book"; In french Canadian, <span xml:lang="fr-ca" lang="fr-ca">"c'est un très bon livre"</span>.</p> | ||
|
||
<p>End of language change testing.</p> | ||
|
||
</section> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
|
||
<head> | ||
<title>Language change main lang code</title> | ||
<meta charset="utf-8" /> | ||
<link rel="stylesheet" type="text/css" href="../css/base.css" /> | ||
</head> | ||
|
||
<body> | ||
<section id="reading-1510" class="test"> | ||
|
||
<h1><span class="test-id">reading-1511</span> <span class="test-title">TTS Change Languages Automatically (main language code</span></h1> | ||
|
||
<p class="desc">Screen readers and other Assistive Technology that use TTS should be able to detect language changes marked in XHTML content. A screen reader should be able to be configured to automatically change the TTS speaking language when it encounters a language change in the XHTML. In some cases available voices are dependant of the operating system. to perform this test, tester must be sure that the following languages are installed on his computer:</p> | ||
<ul> | ||
<li>English</li> | ||
<li>French</li> | ||
</ul> | ||
|
||
|
||
<p> Configure your screen reader or other Assistive Technology to automatically change the TTS language. Read the phrases below line by line and continuously. The test passes if the TTS language changes as it encounters the language change.</p> | ||
|
||
<p class="eval">Indicate Pass or Fail.</p> | ||
|
||
<h2>Language Change Test</h2> | ||
|
||
<p>In English, "this is a very good book"; In french, <span xml:lang="fr" lang="fr">"c'est un très bon livre"</span>.</p> | ||
|
||
<p>End of language change testing.</p> | ||
|
||
</section> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="eng" lang="eng"> | ||
|
||
<head> | ||
<title>Language change locals lang code three letters</title> | ||
<meta charset="utf-8" /> | ||
<link rel="stylesheet" type="text/css" href="../css/base.css" /> | ||
</head> | ||
|
||
<body> | ||
<section id="reading-1512" class="test"> | ||
|
||
<h1><span class="test-id">reading-1513</span> <span class="test-title">TTS Change Languages Automatically (main language code, three letters)</span></h1> | ||
|
||
<p class="desc">Screen readers and other Assistive Technology that use TTS should be able to detect language changes marked in XHTML content. A screen reader should be able to be configured to automatically change the TTS speaking language when it encounters a language change in the XHTML. | ||
This test variant is set to three letters langage code (eng and fra). | ||
In some cases available voices are dependant of the operating system. to perform this test, tester must be sure that the following languages are installed on his computer:</p> | ||
<ul> | ||
<li>English</li> | ||
<li>French</li> | ||
</ul> | ||
|
||
|
||
<p> Configure your screen reader or other Assistive Technology to automatically change the TTS language. Read the phrases below line by line and continuously. The test passes if the TTS language changes as it encounters the language change.</p> | ||
|
||
<p class="eval">Indicate Pass or Fail.</p> | ||
|
||
<h2>Language Change Test</h2> | ||
|
||
<p>In English, "this is a very good book"; In french, <span xml:lang="fra" lang="fra">"c'est un très bon livre"</span>.</p> | ||
|
||
<p>End of language change testing.</p> | ||
|
||
</section> | ||
</body> | ||
|
||
</html> |