<?xml version="1.0" encoding="UTF-8"?>
<testCaseDescription id="sc1.1.1_l1_032" 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>A document with an image that represents a map of the Mediterranean in 180 <html:acronym>AD</html:acronym>. 
      The document contains an <html:code>object</html:code> element that embeds the map in <html:acronym>GIF</html:acronym> format.
      The <html:code>object</html:code> element has a <html:code>title</html:code> attribute that identifies the image, but the image is too complex to be described in an attribute.
      Inside the <html:code>object</html:code> element is a long description that identifies the image and conveys the same information.
    </description>
    <title>Long description for complex image: image embedded by object; long description inside object; no longdesc attribute</title>
    <dc:creator>Christophe.Strobbe@esat.kuleuven.be</dc:creator>
    <dc:language>en</dc:language>
    <dc:rights>Copyright BenToWeb 2005-2007</dc:rights>
    <date>2005-08-30</date>
    <status>validated</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#h-13.3">General Inclusion: The <html:code>object</html:code> element</specReference>
        </testElement>
        <testElement>
          <elementName localname="object" namespace="http://www.w3.org/1999/xhtml"/>
          <specReference xlink:href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#adef-title">The title attribute</specReference>
        </testElement>
      </testElements>
    </recommendation>
  </technology>
  <testCase complexity="atomic">
    <purpose>
      <p>This test case is intended to fail because the <html:code>title</html:code> attribute provides a short description but the text alternative is nested inside the <html:code>object</html:code>. 
             <!-- However, poor support for the <html:code>object</html:code> element in some browsers may cause problems. -->
            </p>
    </purpose>
    <requiredTests>
      <testModes>
        <testMode>oneExpert</testMode>
      </testModes>
      <scenario id="s03" name="Scenario s03 blind speech IE6">
          <scenarioNotes>
                    <p>Scenario specifically for Microsoft Internet Explorer, which does not support the ojbect element well.</p>
                </scenarioNotes>
                <userGuidance xml:lang="en">
                    <p>See if you can find the long description for the image.</p>
                </userGuidance>
                <userGuidance xml:lang="nl">
                    <p>Kijk of u de lange beschrijving voor de afbeelding kunt vinden.</p>
                </userGuidance>
        <questions>
          <yesNoOpenQuestion>
            <questionText xml:lang="en">
                            <p>Were you able to access the long description of the map? </p>
            </questionText>
            <questionText xml:lang="nl">
                            <p>Was u in staat om de lange beschrijving van de kaart te benaderen ?</p>
            </questionText>
            <optionYes value="1"/>
            <optionNo value="-1"/>
            <optionOther xml:lang="en">
                            <p>If there were problems in accessing the long description of the map, please describe them.</p>
            </optionOther>
            <optionOther xml:lang="nl">
                            <p>Indien er problemen waren met het benaderen van de lange beschrijving, omschrijf ze aub.</p>
            </optionOther>
            <space>
              <rows>10</rows>
              <columns>50</columns>
            </space>
          </yesNoOpenQuestion>
        </questions>
        <experience>
          <AssistiveTechnology minimumLevel="2" type="screenreader"/>
          <UserAgent minimumLevel="2"
                        product="Microsoft Internet Explorer"
                        type="browser" version="6.0"/>
        </experience>
        <disabilities>
          <disability>blindness</disability>
          <disability>low vision</disability>
        </disabilities>
      </scenario>
      <scenario id="s04" name="Scenario s04 blind speech FF">
          <scenarioNotes>
                    <p>Scenario specifically for Microsoft Internet Explorer, which does not suppor the ojbect element well.</p>
                </scenarioNotes>
                <userGuidance xml:lang="en">
                    <p>See if you can find the long description for the image.</p>
                </userGuidance>
                <userGuidance xml:lang="nl">
                    <p>Kijk of u de lange beschrijving voor de afbeelding kunt vinden.</p>
                </userGuidance>
        <questions>
          <yesNoOpenQuestion>
            <questionText xml:lang="en">
                            <p>Were you able to access the long description of the map? </p>
            </questionText>
            <questionText xml:lang="nl">
                            <p>Was u in staat om de lange beschrijving van de kaart te benaderen ?</p>
            </questionText>
            <optionYes value="1"/>
            <optionNo value="-1"/>
            <optionOther xml:lang="en">
                            <p>If there were problems in accessing the long description of the map, please describe them.</p>
            </optionOther>
            <optionOther xml:lang="nl">
                            <p>Indien er problemen waren met het benaderen van de lange beschrijving, omschrijf ze aub.</p>
            </optionOther>
            <space>
              <rows>10</rows>
              <columns>50</columns>
            </space>
          </yesNoOpenQuestion>
        </questions>
        <experience>
          <AssistiveTechnology minimumLevel="2" type="screenreader"/>
          <UserAgent minimumLevel="2" product="Firefox" type="browser"/>
        </experience>
        <disabilities>
          <disability>blindness</disability>
          <disability>low vision</disability>
        </disabilities>
      </scenario>
      <scenario id="s05" name="Scenario s05 blind speech IE7">
        <questions>
          <yesNoQuestion>
            <questionText xml:lang="en">
                            <p>Were you able to access the long description of the map? </p>
            </questionText>
            <questionText xml:lang="nl">
                            <p/>
            </questionText>
            <!--questionText xml:lang="de">
              <p/>
            </questionText-->
            <optionYes value="1"/>
            <optionNo value="-1"/>
            <optionOther xml:lang="nl">
                            <p>Indien er problemen waren met het benaderen van de lange beschrijving, omschrijf ze aub.</p>
            </optionOther>
            <optionOther xml:lang="en">
                            <p>If there were problems in accessing the long description of the map, please describe them.</p>
            </optionOther>
          </yesNoQuestion>
        </questions>
        <experience>
          <AssistiveTechnology minimumLevel="2" type="screenreader"/>
          <UserAgent minimumLevel="2"
                        product="Microsoft Internet Explorer"
                        type="browser" version="7.0"/>
        </experience>
        <disabilities>
          <disability>blindness</disability>
          <disability>low vision</disability>
        </disabilities>
      </scenario>
    </requiredTests>
    <files>
      <file hrefLang="en" xlink:href="../testfiles/sc1.1.1_l1_032.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="79" line="11" xpath="/h:html/h:body/h:div[1]/h:object[1]/@title"/>
        <location column="192" line="11" xpath="/h:html/h:body/h:div[1]/h:object[1]/"/>
      </locations>
      <functionalOutcome>
        <p>The image has a short text description as well as a long one.
          User testing provided the following results: users of screenreaders with Internet Explorer 6 or Firefox had problems accessing the long description of the map. However, more data are needed.
        </p>
      </functionalOutcome>
      <techComment>
        <p>The <html:code>object</html:code> element has a <html:code>title</html:code> attribute and a long description inside its content.</p>
                <p>This test is identical to sc1.1.1_l1_029 but the <html:code>img</html:code>'s <html:code>title</html:code> attribute is moved to the <html:code>object</html:code> element, the fallback image was removed and thereby also the longdesc link.
          Since browsers do not necessarily provide access to the content of the <html:code>object</html:code> if the object can be displayed, 
          it is not certain that the long description is available to users.
        </p>
                <p>(Internet Explorer does not support <html:code>object</html:code>, so the test will not work in this browser.)</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 cannotTell!!-->
        <location column="79" line="11" xpath="/h:html/h:body/h:div[1]/h:object[1]/@title"/>
        <location column="192" line="11" xpath="/h:html/h:body/h:div[1]/h:object[1]/"/>
      </locations>
      <functionalOutcome>
        <p>The image has a short text description as well as a long one.
          User testing provided the following results: users of screenreaders with Internet Explorer 6 or Firefox had problems accessing the long description of the map. However, more data are needed.
        </p>
      </functionalOutcome>
      <techComment>
              <p>This test case maps to technique <html:span class="technique"><html:a href="http://www.w3.org/TR/2007/WD-WCAG20-TECHS-20070517/#H53">H53: Using the body of the object element</html:a></html:span>.</p>
                <p>The <html:code>object</html:code> element has a <html:code>title</html:code> attribute and a long description inside its content.</p>
                <p>This test is identical to sc1.1.1_l1_029 but the <html:code>img</html:code>'s <html:code>title</html:code> attribute is moved to the <html:code>object</html:code> element, the fallback image was removed and thereby also the longdesc link.
          Since browsers do not necessarily provide access to the content of the <html:code>object</html:code> if the object can be displayed, 
          it is not certain that the long description is available to users.
        </p>
                <p>(Internet Explorer does not support <html:code>object</html:code>, so the test will not work in this browser.)</p>
      </techComment>
    </rule>
    <rule id="http://bentoweb.org/refs/rulesets.xml#WCAG2_20050630_1.1_text-equiv-informative" primary="no">
      <locations expectedResult="cannotTell">
        <location column="79" line="11" xpath="/h:html/h:body/h:div[1]/h:object[1]/@title"/>
        <location column="192" line="11" xpath="/h:html/h:body/h:div[1]/h:object[1]/"/>
      </locations>
      <functionalOutcome>
        <p>The image has a short text description as well as a long one.</p>
      </functionalOutcome>
      <techComment>
        <p>The <html:code>object</html:code> element has a <html:code>title</html:code> attribute and a long description inside its content.</p>
                <p>This test is identical to xhtml1_wcag2_20050630_1.1_l1_sc1_029 but the <html:code>img</html:code>'s <html:code>title</html:code> attribute is moved to the <html:code>object</html:code> element, the fallback image was removed and thereby also the longdesc link.
          Since browsers do not necessarily provide access to the content of the <html:code>object</html:code> if the object can be displayed, 
          it is not certain that the long description is available to users.
        </p>
                <p>(Internet Explorer does not support <html:code>object</html:code>, so the test will not work in this browser.)</p>
      </techComment>
    </rule>
  </rules>
  <namespaceMappings>
    <namespace nsPrefix="h" nsURI="http://www.w3.org/1999/xhtml"/>
  </namespaceMappings>
</testCaseDescription>

