Difference between revisions of "Section Element"

From Level Access Web Labs
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
     <h1>Color and Contrast</h1>
 
     <h1>Color and Contrast</h1>
 
   </header>
 
   </header>
   <section>  
+
   <section aria-labelledby="head2">  
     <h2> Color</h2>
+
     <h2 id="head2"> Color</h2>
 
     <p>Color must not be the only means providing information. </p>
 
     <p>Color must not be the only means providing information. </p>
 
   </section>
 
   </section>
   <section>  
+
   <section aria-label="An aria-label">  
 
     <h2> Contrast</h2>
 
     <h2> Contrast</h2>
 
     <p>The difference in contrast ("lightness") between the foreground and background of text must provide a sufficient degree of contrast to allow the text to be read by people with visual impairments.<p>
 
     <p>The difference in contrast ("lightness") between the foreground and background of text must provide a sufficient degree of contrast to allow the text to be read by people with visual impairments.<p>
 +
  </section>
 +
  <section>
 +
    <h2>Size of text</h2>
 +
    <p>Larger text may have a reduced contrast.</p>
 +
  </section>
 +
  <section title="this has a title">
 +
    Last section of the page.
 
   </section>
 
   </section>
 
</html>
 
</html>

Latest revision as of 18:08, 1 December 2016

This document has two sections.

Color and Contrast

Color

Color must not be the only means providing information.

Contrast

The difference in contrast ("lightness") between the foreground and background of text must provide a sufficient degree of contrast to allow the text to be read by people with visual impairments.

Size of text

Larger text may have a reduced contrast.

Last section of the page.