Example Code

Recipe 13.2 Explore the accessibility tree

Sample:

Code:

<article>
  <h2>About</h2>
  <button aria-expanded="true">Details</button>
  <a href="#" aria-current="page">Website</a>
</article>