Inaccessible Code

Recipe 13.1 Find accessibility issues automatically

Sample:

Sign Up

Code:

<style>
  body {
    color: #af8e8e;
  }
</style>

<h2 aria-label="Registration">Sign Up</h2>

<form aria-labelledby="h2">
  <input type="text" name="username">

  <button>
    <img src="send.jpg">
  </button>

  <p>
    <a href="#" aria-hidden="true">Disclaimer</a>
  </p>
</form>