﻿<?xml version="1.0" encoding="UTF-8"?>
<testCaseDescription xmlns:html="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dc="http://purl.org/dc/elements/1.1/" id="sc1.4.4_l3_002" xml:lang="en" xsi:schemaLocation="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" xmlns="http://bentoweb.org/refs/TCDL1.1">
<!--
 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 a link to an audio file with foreground speaker and background sound. The foreground speaker is louder than the background sound.</description>
    <title>Audio contrast: adequate audio contrast</title>
    <dc:creator>Daniela.Ortner@jku.at</dc:creator>
    <dc:language>en</dc:language>
    <dc:rights>Copyright BenToWeb 2005-2007</dc:rights>
    <date>2005-08-17</date>
    <status>accepted QA</status><!--@@migrate @@acc-end-user -->
  </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>
    </recommendation>
  </technology>
  <testCase complexity="atomic">
    <purpose>
      <p>The document is intended to pass, because the foreground audio content is understandable. Only the individual perception of the audio contrast is tested here.</p>
    </purpose>
    <requiredTests>
      <testModes>
        <testMode>enduser</testMode>
      </testModes>
      <scenario id="s01" name="Scenario s01">
        <userGuidance xml:lang="en">
          <p>Please make sure the sound is turned on. Please activate the audio clip presented in the web page.  You will hear a person speaking with sounds in the background.</p>
        </userGuidance>
        <userGuidance xml:lang="nl">
          <p>Zorg ervoor dat uw geluid aanstaat. Activeer de link naar de audio clip op de pagina. U zal een persoon horen praten met geluiden op de achtergrond.</p>
        </userGuidance>
        <questions>
          <likertScale display="horizontal">
            <questionText xml:lang="en">
              <p>How easy or difficult is it to understand the speaker in the audio clip?</p>
            </questionText>
            <questionText xml:lang="nl">
              <p>Hoe makkelijk of moeilijk is het om de spreker te verstaan in het geluidsfragment ?</p>
            </questionText>
            <likertLevel number="1">
              <label xml:lang="en">Very difficult</label>

              <label xml:lang="nl">Zeer moeilijk</label>
              <value>1</value>
            </likertLevel>
            <likertLevel number="2">
              <label xml:lang="en">Difficult</label>

              <label xml:lang="nl">Moeilijk</label>
              <value>2</value>
            </likertLevel>
            <likertLevel number="3">
              <label xml:lang="en">Neither easy nor difficult</label>

              <label xml:lang="nl">Niet makkelijk maar ook niet moeilijk</label>
              <value>3</value>
            </likertLevel>
            <likertLevel number="4">
              <label xml:lang="en">Easy</label>

              <label xml:lang="nl">Makkelijk</label>
              <value>4</value>
            </likertLevel>
            <likertLevel number="5">
              <label xml:lang="en">Very easy</label>

              <label xml:lang="nl">Zeer makkelijk</label>
              <value>5</value>
            </likertLevel>
          </likertScale>
        </questions>
        <experience>
          <AssistiveTechnology minimumLevel="3" type="speech and hearing support software" />
          <UserAgent minimumLevel="2" type="browser" />
        </experience>
        <disabilities>
          <disability>hard of hearing</disability>
        </disabilities>
      </scenario>
      <scenario id="s02" name="Scenario s02">
        <userGuidance xml:lang="en">
          <p>Please ensure your sound is turned on.  Please activate the audio clip link on the page.  You will hear a person speaking with background sounds.</p>
        </userGuidance>
        <userGuidance xml:lang="nl">
          <p>Zorg ervoor dat uw geluid aanstaat. Activeer de link naar de audio clip op de pagina. U zal een persoon horen praten met geluiden op de achtergrond.</p>
        </userGuidance>
        <questions>
          <likertScale display="horizontal">
            <questionText xml:lang="en">
              <p>How easy or difficult was it to understand the speaker in the audio clip?</p>
            </questionText>
            <questionText xml:lang="nl">
              <p>Hoe makkelijk of moeilijk is het om de spreker te verstaan in het geluidsfragment ?</p>
            </questionText>
            <likertLevel number="1">
              <label xml:lang="en">Very difficult</label>

              <label xml:lang="nl">Zeer moeilijk</label>
              <value>1</value>
            </likertLevel>
            <likertLevel number="2">
              <label xml:lang="en">Difficult</label>

              <label xml:lang="nl">Moeilijk</label>
              <value>2</value>
            </likertLevel>
            <likertLevel number="3">
              <label xml:lang="en">Neither easy nor difficult</label>

              <label xml:lang="nl">Niet makkelijk maar ook niet moeilijk</label>
              <value>3</value>
            </likertLevel>
            <likertLevel number="4">
              <label xml:lang="en">Easy</label>

              <label xml:lang="nl">Makkelijk</label>
              <value>4</value>
            </likertLevel>
            <likertLevel number="5">
              <label xml:lang="en">Very easy</label>

              <label xml:lang="nl">Zeer makkelijk</label>
              <value>5</value>
            </likertLevel>
          </likertScale>
        </questions>
        <experience>
          <UserAgent minimumLevel="2" type="browser" />
        </experience>
        <disabilities>
          <disability>hard of hearing</disability>
        </disabilities>
      </scenario>
    </requiredTests>
    <files>
      <file xlink:href="../testfiles/sc1.4.4_l3_002.html" hrefLang="en" />
    </files>
  </testCase>
  <rules>
    <rule id="http://bentoweb.org/refs/rulesets.xml#WCAG2_20060427_1.4_visual-audio-contrast-noaudio" primary="yes">
      <locations expectedResult="pass">
        <location line="9" column="36" xpath="/h:html/h:body/h:p[1]/h:a[1]" />
      </locations>
      <functionalOutcome>
        <p>Background sound is 20dB lower than foreground speaker.
          (The test case needs further testing.)
        </p>
      </functionalOutcome>
      <techComment>
        <p>One audio file, with foreground speaker and background noise.</p>
      </techComment>
    </rule>
    <rule id="http://bentoweb.org/refs/rulesets.xml#WCAG2_20050630_1.4_visual-audio-contrast-noaudio" primary="no">
      <locations expectedResult="pass">
        <location line="9" column="36" xpath="/h:html/h:body/h:p/h:a" />
      </locations>
      <functionalOutcome>
        <p>Background sound is 20dB lower than foreground speaker.</p>
      </functionalOutcome>
      <techComment>
        <p>One audio file, with foreground speaker and background noise.</p>
      </techComment>
    </rule>
  </rules>
  <namespaceMappings>
    <namespace nsPrefix="h" nsURI="http://www.w3.org/1999/xhtml" />
  </namespaceMappings>
</testCaseDescription>
