Advertisement
Advertisement

More Related Content

Advertisement

WordCamp Nordic Who is afraid of ARIA?

  1. Who’s afraid of ARIA? Rian Rietveld WordCamp Nordic 2019
  2. Artwork: kait cooper
  3. Rian Rietveld @RianRietveld Find me on twitter Senior Accessibility Consultant at Level Level Teacher at the Level Level Academy
  4. slideshare.net/rianrietveld Slides on
  5. In this talk What is ARIA First rule of ARIA Examples of how to use ARIA Good resources
  6. WAI-ARIA WAI = Web Accessibility Initiative ARIA = Accessible Rich Internet Applications Suite
  7. ARIA defines a way to make Web content and Web applications more accessible to people with disabilities.
  8. It’s all about feedback What happens on the page? What does this mean? How can I interact?
  9. First rule of ARIA… Don’t use ARIA!
  10. Don’t use ARIA to fix meaningless or incorrect HTML5
  11. Hamburgers! For example:
  12. <div id=“menu” > Menu </div>
  13. <div id=“menu” tabindex=“0” > Menu </div>
  14. <div id=“menu” tabindex=“0” role=“button” > Menu </div>
  15. <div id=“menu” tabindex=“0” role=“button” aria-pressed=“false” > Menu </div>
  16. <button id=“menu” > Menu </button>
  17. Semantics gives you it all for free
  18. It’s all about feedback What happens on the page? What does this mean? How can I interact?
  19. How to use ARIA Examples!
  20. Codepen: bit.ly/wcno-aria
  21. aria-expanded Is this open or closed?
  22. aria-live Tell me what’s changing
  23. wp.a11y.speak() Let WordPress speak
  24. aria-label and 
 .screen-reader-text What you hear is what you get
  25. aria-labelledby & aria-describedby What do I need to know?
  26. Demo time! Codepen: bit.ly/wcno-aria
  27. Resources
  28. Free online ARIA Widgets Code Library at dequeuniversity.com
  29. Make it work before you make it nice
  30. slideshare.net/rianrietveld Codepen: bit.ly/wcno-aria @rianrietveld
Advertisement