krot

aria-labelledby

Feb 19th, 2016
87
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <main role="main" aria-label="main content">
  2. <section>
  3. <article>
  4. <h2>Подзаголовок 1</h2>
  5. <p>техт 1</p>
  6. </article>
  7.  
  8. <article>
  9. <h2>Подзаголовок 1</h2>
  10. <p><a href="b.html" rel="bookmark">This permalink applies to
  11. the outer ARTICLE element</a> (which could be, e.g., a blog post).</p>
  12. <p>role="button"</p>
  13. </article>
  14.  
  15. </section>
  16. </main>
  17.  
  18.  
  19. <article role="article" aria-labelledby="title">
  20. <header>
  21. <h1 id="title">An article about markup!</h1>
  22. </header>
  23. <section role="region" aria-labelledby="eg1">
  24. <header>
  25. <h1 id="eg1">Example 1</h1>
  26. </header>
  27. </section>
  28. <section role="region" aria-labelledby="eg2">
  29. <header>
  30. <h1 id="eg2">Example 2</h1>
  31. </header>
  32. </section>
  33. <section role="region" aria-labelledby="eg3">
  34. <header>
  35. <h1 id="eg3">Example 3</h1>
  36. </header>
  37. </section>
RAW Paste Data