Document hierarchy

created by Michiel Leenaars on 2016-11-16 16:25:36.423247 UTC

clone test

template text.odt

<office:text>
  <text:h text:outline-level="1">Document hierarchy</text:h>
  <text:p>Document hierarchy is very important. It allow people to understand the way the document is structured, and allows them to navigate the document efficiently. A uniform heading structure is often the most important accessibility consideration in office documents. When encountering a lengthy text document, sighted users often scroll the page quickly and look for big, bold text (headings) to get an idea of its structure and content. Screen reader and other assistive technology users also have the ability to navigate text documents by heading structure.</text:p>
  <text:h text:outline-level="1">Header 1</text:h>
  <text:h text:outline-level="2">Header 2</text:h>
  <text:h text:outline-level="3">Header 3</text:h>
  <text:h text:outline-level="4">Header 4</text:h>
  <text:h text:outline-level="5">Header 5</text:h>
  <text:h text:outline-level="6">Header 6</text:h>
  <text:h text:outline-level="7">Header 7</text:h>
  <text:h text:outline-level="8">Header 8</text:h>
  <text:h text:outline-level="9">Header 9</text:h>
  <text:h text:outline-level="10">Header 10</text:h>
  <text:p>There is regular text too.</text:p>
</office:text>

Tested versions: 1.0 1.1 1.2 1.2 Extended

input file Abiword 3.0.1 GNU/Linux 3.16.0-4-amd64 Abiword 3.0.1 GNU/Linux 4.9.36 Abiword 3.0.1 GNU/Linux 4.9.40 Abiword 3.0.1 Ubuntu 16.04 Docs WebODF 0.5.10 Ubuntu 16.04 Word 2016 Microsoft Windows 10 Pro 10.0.15063 Word 2016 Microsoft Windows 7 Professional 6.1.7600 Word 2016 Microsoft Windows Server 2012 R2 Standard 6.3.9600 Words 2.9.11 Ubuntu 16.04 Words 2.9.7 GNU/Linux 3.16.0-4-amd64 Words 2.9.7 GNU/Linux 4.9.16 Words 2.9.7 GNU/Linux 4.9.36 Words 2.9.7 GNU/Linux 4.9.40 Words 3.0.1 GNU/Linux 3.10.0-327.36.3.el7.x86_64 Words 3.0.1 GNU/Linux 3.16.0-4-amd64 Words 3.0.1 GNU/Linux 4.9.16 Words 3.0.1 GNU/Linux 4.9.36 Words 3.0.1 GNU/Linux 4.9.40 Writer 4.1.3 Microsoft Windows 10 Pro 10.0.15063 Writer 5.1.4.2.0 Ubuntu 16.04 Writer 5.1.4.2.0 Ubuntu 16.04 Writer 5.1.4.2.0 Ubuntu 16.04 Writer 5.1.5.2 GNU/Linux 4.9.36 Writer 5.1.5.2 GNU/Linux 4.9.36 Writer 5.1.5.2 GNU/Linux 4.9.36 Writer 5.2.3.3 Ubuntu 16.04 Writer 5.2.3.3 Ubuntu 16.04 Writer 5.2.3.3 Ubuntu 16.04 Writer 5.2.5.1 GNU/Linux 3.16.0-4-amd64 Writer 5.2.5.1 GNU/Linux 3.16.0-4-amd64 Writer 5.2.5.1 GNU/Linux 3.16.0-4-amd64 Writer 5.4.1.2 GNU/Linux 3.16.0-4-amd64 Writer 5.4.1.2 GNU/Linux 3.16.0-4-amd64 Writer 5.4.1.2 GNU/Linux 3.16.0-4-amd64 Writer 5.4.1.2 GNU/Linux 4.9.36 Writer 5.4.1.2 GNU/Linux 4.9.36 Writer 5.4.1.2 GNU/Linux 4.9.36 Writer 6.2 Microsoft Windows Server 2016 Standard 10.0.14393 Writer 6.2 Microsoft Windows Server 2016 Standard 10.0.14393 Writer 6.2 Microsoft Windows Server 2016 Standard 10.0.14393
ODF OpenDocument Text 1.2 Extended OpenDocument Text 1.1 OpenDocument Text 1.1 OpenDocument Text 1.1 OpenDocument Text 1.1 OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.2 Extended OpenDocument Text 1.1 OpenDocument Text 1.2 Extended OpenDocument Text 1.2 OpenDocument Text 1.1 OpenDocument Text 1.2 Extended OpenDocument Text 1.2 OpenDocument Text 1.1 OpenDocument Text 1.2 Extended OpenDocument Text 1.2 OpenDocument Text 1.1 OpenDocument Text 1.2 Extended OpenDocument Text 1.2 OpenDocument Text 1.1 OpenDocument Text 1.2 Extended OpenDocument Text 1.2 OpenDocument Text 1.1 OpenDocument Text 1.2 Extended OpenDocument Text 1.2 OpenDocument Text 1.1 OpenDocument Text 1.2 Extended OpenDocument Text 1.2
test result fail fail fail fail fail pass fail fail fail pass pass pass pass pass no result pass pass pass no result no result pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass
is the test correct?
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 1
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 1
no: 0
undecided
yes: 1
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
yes: 0
no: 0
undecided
validation errors 0 5 5 5 5 1 0 1 1 1 5 5 5 5 5 6 6 6 1 0 3 1 0 3 1 0 3 1 0 3 1 0 3 1 0 3 1 0 3
content.xml
count(//text:h)=11 true false false false false false true false false false true true true true true - true true true - - true true true true true true true true true true true true true true true true true true true true true
count(//text:h/@text:outline-level)=11 true false false false false false true false false false true true true true true - true true true - - true true true true true true true true true true true true true true true true true true true true true
count(//text:p)=2 true false false false false false true false false false true true true true true - true true true - - true true true true true true true true true true true true true true true true true true true true true
content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml - content.xml content.xml content.xml - - content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml content.xml
styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml styles.xml
pdf pdf pdf pdf pdf pdf pdf pdf - pdf pdf - pdf - pdf - pdf pdf pdf - - pdf pdf pdf pdf pdf pdf pdf pdf pdf pdf pdf pdf pdf pdf pdf pdf pdf pdf pdf pdf pdf
png