<?xml version="1.0" encoding="UTF-8"?>
<testCaseDescription id="sc1.3.3_l1_002" 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.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><html:acronym>XHTML</html:acronym> page with content arranged in two list items with a paragraph preceding the list. The visual sequence of the paragraph elements is changed with <html:acronym>CSS</html:acronym>.</description>
    <title>Wrong sequence defined by XHTML, but displays correctly with CSS</title>
    <dc:creator>johannes.koch@fit.fraunhofer.de</dc:creator>
    <dc:language>en</dc:language>
    <dc:rights>Copyright BenToWeb 2005-2007</dc:rights>
    <date>2005-08-16</date>
    <status>accepted by both validators</status>
  </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>
    <recommendation xlink:href="http://www.w3.org/TR/1998/REC-CSS2-19980512/">
      <label><html:acronym>CSS</html:acronym> 2.0 Specification</label>
    </recommendation>
  </technology>
  <testCase complexity="atomic">
    <purpose>
      <p>This is a test for the reading order of content: an assistive technology should be able to provide an alternative presentation of content while preserving the reading order needed to perceive meaning.
        The test file uses <html:acronym>CSS</html:acronym> to display the second list item above the first one, so a user agent without <html:acronym>CSS</html:acronym> support will not render the items in the intended order.
      </p>
    </purpose>
    <requiredTests>
      <testModes>
        <testMode>oneExpert</testMode>
      </testModes>
      <scenario id="s01" name="Scenario s01">
        <userGuidance xml:lang="en">
          <p>For this test, make sure you have CSS enabled in your browser and/or screen reader.</p>
        </userGuidance>
        <userGuidance xml:lang="nl">
          <p>Kijk voor deze test na of u CSS hebt ingeschakeld in uw browser en/of screenreader.</p>
        </userGuidance>
        <questions>
          <yesNoQuestion>
            <questionText xml:lang="en">
              <p>Is the content presented in a sequence that makes sense?</p>
            </questionText>
            <questionText xml:lang="nl">
              <p>Is de inhoud volgens u gepresenteerd in een logische volgorde ?</p>
            </questionText>
            <optionYes value="-1"/>
            <optionNo value="1"/>
            <optionOther xml:lang="en"><p/></optionOther>
          </yesNoQuestion>
        </questions>
        <experience>
          <AssistiveTechnology minimumLevel="1" type="screenreader"/>
          <UserAgent minimumLevel="1" type="browser"/>
        </experience>
        <disabilities>
          <disability>blindness</disability>
          <disability>deaf-blindness</disability>
        </disabilities>
      </scenario>
      <scenario id="s02" name="Scenario s02">
        <userGuidance xml:lang="en">
          <p>For this test, make sure you have CSS disabled in your browser and/or screen reader.</p>
        </userGuidance>
        <userGuidance xml:lang="nl">
          <p>Kijk voor deze test na of u CSS hebt ingeschakeld in uw browser en/of screenreader.</p>
        </userGuidance>
        <questions>
          <yesNoQuestion>
            <questionText xml:lang="en">
              <p>Is the content presented in a sequence that makes sense?</p>
            </questionText>
            <questionText xml:lang="nl">
              <p>Is de inhoud volgens u gepresenteerd in een logische volgorde?</p>
            </questionText>
            <optionYes value="1"/>
            <optionNo value="-1"/>
            <optionOther xml:lang="en"><p/></optionOther>
          </yesNoQuestion>
        </questions>
        <experience>
          <AssistiveTechnology minimumLevel="4" type="Braille display"/>
          <UserAgent minimumLevel="1" type="browser"/>
        </experience>
        <disabilities>
          <disability>blindness</disability>
          <disability>deaf-blindness</disability>
        </disabilities>
      </scenario>
    </requiredTests>
    <files>
      <file hrefLang="en" xlink:href="../testfiles/sc1.3.3_l1_002.html"/>
    </files>
  </testCase>
  <rules>
    <rule id="http://bentoweb.org/refs/rulesets.xml#WCAG2_20060427_1.3_content-structure-separation-sequence" primary="yes">
      <locations expectedResult="fail"/>
      <functionalOutcome>
        <p>A user agent that supports <html:acronym>CSS</html:acronym> will render the two list items in reverse order.</p>
      </functionalOutcome>
      <techComment>
        <p>The reading order can be determined from the <html:acronym>HTML</html:acronym> markup but is changed by the <html:acronym>CSS</html:acronym>.</p>
      </techComment>
    </rule>
    <rule
        id="http://bentoweb.org/refs/rulesets.xml#WCAG2_20050630_1.3_content-structure-separation-sequence" primary="no">
      <locations expectedResult="fail"/>
      <functionalOutcome>
        <p>A user agent without <html:acronym>CSS</html:acronym> support presents the list items in an order not intended by the author.</p>
      </functionalOutcome>
      <techComment>
        <p>The reading order that can be determined from the <html:acronym>HTML</html:acronym> markup is changed by the <html:acronym>CSS</html:acronym>.</p>
      </techComment>
    </rule>
  </rules>
  <namespaceMappings>
    <namespace nsPrefix="h" nsURI="http://www.w3.org/1999/xhtml"/>
  </namespaceMappings>
</testCaseDescription>


