Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Accessible By Default!

Accessible By Default!

Bilal Çınarlı

October 08, 2024
Tweet

More Decks by Bilal Çınarlı

Other Decks in Technology

Transcript

  1. <div class="headline"> <h2>Elmalar ne kadar sağlıklı? < / h2> <img

    alt="Bir bütün ve bir ısırılmış elma yan yana duruyor." src="headline.jpg" /> </ div>
  2. <div class="input"> <span class="label">Email < / span> <input type="text" name="email"

    required / > </ div> <div class="input"> <span class="label">Password </ span> <input type="password" name="password" required /> </ div>
  3. <label class="input"> <span class="label">Email < / span> <input type="email" name="email"

    required /> </ label> <label class="input"> <span class="label">Password </ span> <input type="password" name="password" required / > </ label>
  4. AAA - 7 : 1 AA - 4.5 : 1

    A - 3 : 1 (içerik için uygun değil)
  5. <table role="menu"> <tr role="menubar"> <td role="menuitem"> <button onclick="goToLink('homepage')" aria-current="page" aria-label="Homepage">Homepage

    < / button> </ td> <td role="menuitem"> <button onclick="goToLink('search')" aria-label="Search">Search < / button> </ td> <td role="menuitem"> <button onclick="goToLink('likes')" aria-label="Likes">Likes </ button> </ td> <td role="menuitem"> <button onclick="goToLink('profile')" aria-label="Profile">Profile </ button> </ td> </ tr> </ table>
  6. <nav> <ul> <li><a href="/" aria- current="page">Homepage </ a> </ li>

    <li><a href="/search">Search </ a> </ li> <li><a href="/likes">Likes </ a> </ li> <li><a href="/profile">Profile </ a> </ li> </ ul> </ nav>