<?xml version="1.0" encoding="UTF-8"?>
<testCaseDescription id="sc1.1.1_l1_055" xml:lang="en"
    xmlns="http://bentoweb.org/refs/TCDL1.1"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:html="http://www.w3.org/1999/xhtml"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://bentoweb.org/refs/TCDL1 http://bentoweb.org/refs/schemas/tcdl1.xsd http://bentoweb.org/refs/TCDL1.1 http://bentoweb.org/refs/schemas/tcdl1.1.xsd http://purl.org/dc/elements/1.1/ http://dublincore.org/schemas/xmls/simpledc20021212.xsd http://www.w3.org/1999/xhtml http://www.w3.org/2004/07/xhtml/xhtml1-strict.xsd http://www.w3.org/1999/xlink http://bentoweb.org/refs/schemas/xlink.xsd">
    <!--
  Copyright &#169; BenToWeb Consortium 2004-2007
  
  Licensed under the BenToWeb License, Version 1.0 (the "License"); you may
  not use this file except in compliance with the License. You may obtain
  a copy of the License at http://bentoweb.org/refs/LICENSE.html
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
  <formalMetadata>
    <description>Document containing an <html:code>object</html:code> element that embeds an audio-only object. 
      A paragraph with the following transcript nested inside the <html:code>object</html:code> element: "Audio content does not contain background sounds."
      Note that this is not "multimedia" according to <html:acronym>WCAG</html:acronym> 2.0 because the object contains only audio that is not synchronized with something else.
    </description>
    <title>Audio-only content with descriptive label</title>
    <dc:creator>Christophe.Strobbe@esat.kuleuven.be [[evlach@aegean.gr]]</dc:creator>
    <dc:language>en</dc:language>
    <dc:rights>Copyright BenToWeb 2005-2007</dc:rights>
    <date>2005-09-02</date>
    <status>integrate feedback</status>
        <!--@@migrated 2007-11-20 -->
  </formalMetadata>
  <technology>
    <recommendation xlink:href="http://www.w3.org/TR/xhtml1/">
      <label><html:acronym>XHTML</html:acronym>™ 1.0 The Extensible HyperText Markup Language (Second Edition)</label>
      <testElements>
        <testElement>
          <elementName localname="object" namespace="http://www.w3.org/1999/xhtml"/>
          <specReference xlink:href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html#edef-OBJECT">Generic inclusion: the OBJECT element</specReference>
        </testElement>
      </testElements>
    </recommendation>
  </technology>
  <testCase complexity="atomic">
    <purpose>
            <p>The test case is intended to pass because a descriptive text label is associated with audio-only content.
        This test is only for descriptive text labels, not for synchronized alternatives (guidelines 1.2) or changes of context (success criterion 3.2.5).
      </p>
    </purpose>
    <requiredTests>
      <testModes>
        <testMode>oneExpert</testMode>
      </testModes>
      <scenario id="s01" name="Scenario s01">
          <scenarioNotes>
                    <p>@@retest</p>
                </scenarioNotes>
                <userGuidance xml:lang="en">
                    <p>You will see a web page with embedded audio. If you use Internet Explorer, you may need to adapt your security settings to use the web page.</p>
                    <p>See if you can find the text message about the audio file.</p>
                </userGuidance>
                <userGuidance xml:lang="nl">
                    <p>U zal een pagina te zien krijgen die geluid bevat. Indien u Internet Explorer gebruikt, zal u de beveiligingsinstelling misschien moeten aanpassen om de pagina te kunnen gebruiken.</p>
                    <p>Kijk of u het tekstbericht over het geluidsbestand kunt vinden.</p>
                </userGuidance>
        <questions>
          <yesNoQuestion>
            <questionText xml:lang="en">
                            <p>Do you receive a text message telling you about the audio?</p>
            </questionText>
            <questionText xml:lang="nl">
                            <p>Ontvangt u een tekstbericht met informatie over het geluid?</p>
            </questionText>
            <optionYes value="1"/>
            <optionNo value="-1"/>
          </yesNoQuestion>
        </questions>
        <experience>
          <UserAgent minimumLevel="2" type="browser"/>
        </experience>
        <disabilities>
          <disability>deafness</disability>
          <disability>hard of hearing</disability>
        </disabilities>
      </scenario>
    </requiredTests>
    <files>
      <file hrefLang="en" xlink:href="../testfiles/sc1.1.1_l1_055.html"/>
    </files>
  </testCase>
  <rules>
    <rule id="http://bentoweb.org/refs/rulesets.xml#WCAG2_20070517_1.1_text-equiv-all" primary="yes">
      <locations expectedResult="fail">
        <location column="5" line="11" xpath="/h:html/h:body/h:div/h:object/h:p"/>
      </locations>
      <functionalOutcome>
        <p>The audio content has a transcription.</p>
      </functionalOutcome>
      <techComment>
        <p>This test case maps to technique H53: Using the body of the object element (http://www.w3.org/TR/2006/WD-WCAG20-TECHS-20060427/Overview.html#H53).</p>
                <p>Note: you may need to adapt the security settings to run this test file in Internet Explorer.</p>
      </techComment>
    </rule>
    <rule id="http://bentoweb.org/refs/rulesets.xml#WCAG2_20060427_1.1_text-equiv-all" primary="no">
      <locations expectedResult="fail">
                <!--@@changed from fail!! provisional!-->
        <location column="5" line="11" xpath="/h:html/h:body/h:div/h:object/h:p"/>
      </locations>
      <functionalOutcome>
        <p>The audio content has a transcription.</p>
      </functionalOutcome>
      <techComment>
        <p>This test case maps to technique H53: Using the body of the object element (http://www.w3.org/TR/2006/WD-WCAG20-TECHS-20060427/Overview.html#H53).</p>
                <p>Note: you may need to adapt the security settings to run this test file in Internet Explorer.</p>
      </techComment>
    </rule>
    <rule id="http://bentoweb.org/refs/rulesets.xml#WCAG2_20050630_1.1_text-equiv-live-media" primary="no">
      <locations expectedResult="pass">
        <location column="5" line="11" xpath="/h:html/h:body/h:div/h:object/h:p"/>
      </locations>
      <functionalOutcome>
        <p>The audio content has a descriptive text label.</p>
      </functionalOutcome>
      <techComment>
        <p>On a computer with Windows XP, Windows Media Player 9 and Apple Quicktime 7.1.3, the following browser behaviour has been observed:
          Firefox 2.0 plays the sound but does not display a player, Opera 9.0 displays a Windows Media Player interface and plays the sound,
          Internet Explorer 6 (with Service Pack 2) display a Windows Media Player interface but plays the sound in a separate Windows Media Player window.
        </p>
      </techComment>
    </rule>
  </rules>
  <namespaceMappings>
    <namespace nsPrefix="h" nsURI="http://www.w3.org/1999/xhtml"/>
  </namespaceMappings>
</testCaseDescription>


