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

You decide whether people are able to use the web.

You decide whether people are able to use the web.

Jonas Reitmann

August 15, 2015
Tweet

More Decks by Jonas Reitmann

Other Decks in Programming

Transcript

  1. <span class="label">Twitter Name</span> <div contenteditable class="input"></div> <label for="twitter">Twitter</label> <input type="text"

    id="twitter" aria- invalid="true"> “Edit text” “Twitter, invalid data, edit text”
  2. .header-input { max-width: 400px; margin: 40px auto; &__field { border:

    0; outline: none; font-weight: bold; color: black; font-size: 20px; border-bottom: 1px solid #E3E3E3; } }
  3. So? What should I do? • use appropriate HTML elements

    (there are a lot) • the browser handles a lot for you
  4. So? What should I do? • use appropriate HTML elements

    (there are a lot) • the browser handles a lot for you • improve user experience
  5. So? What should I do? • use appropriate HTML elements

    (there are a lot) • the browser handles a lot for you • improve user experience • improve accessibility