Web 8: Accessibility using Aria roles and attributes
Goal
This is a gentle introduction to adding accessibility to webpages using Aria roles and attributes, since it is a complex topic. Along with using semantic HTML 5 elements, it is hoped your webpages will be navigable by a spoken browser user.
After the basic tutorial(s) below, the student will add Aria attributes and roles to their previous login form. They will also add examples from the MDN aria-labelledby ref - https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-labelledby_attribute. Finally, they will test with a spoken accessibility mode - browser or operating system. You will demonstrate this to me. Let me know if you computer/browser does not have that ability.
Also, what would you add to the html to allow browsers that don’t recognize html 5 semantic tags to be aria accessible?
These tools can help with general accessibility:
-
WAVE Accessibility online site also offers a browser Extension, https://wave.webaim.org/
-
"Check Web Site’s (X)HTML & CSS, Accessibility & SEO," https://www.webnauts.net/check.html
-
'Color Blindness Simulator,' https://www.color-blindness.com/coblis-color-blindness-simulator/
-
a Firefox web developer addon, https://addons.mozilla.org/en-US/firefox/addon/web-developer/.
I find the WAVE addon the most straight forward and comprehensive to use in one stop.
Now, read all the basic tutorials below.
Tutorial
I am not sure how useful LinkedIn learning is for this.
Basic
These tutorials have html examples.
-
'How to Use ARIA Effectively with HTML5,' https://www.sitepoint.com/how-to-use-aria-effectively-with-html5/
-
'Getting started with ARIA,' https://www.a11yproject.com/posts/2014-05-15-getting-started-aria/
-
'Background: An in-depth guide to ARIA roles,' https://www.a11yproject.com/posts/2020-08-20-an-indepth-guide-to-aria-roles/.
These videos have html examples:
-
'Estelle Weyl – “Fast. Simple. Accessible.“ | .concat() 2018,' https://www.youtube.com/watch?v=Zk4X_AmPsoU
-
Kevin Powell’s playlist on 'Underutilized HTML elements,' https://www.youtube.com/playlist?list=PL4-IK0AVhVjOquwY5m3R3KFIEYW2sZEl5
-
Kevin Powell’s playlist on 'Accessibility,' https://www.youtube.com/playlist?list=PL4-IK0AVhVjMobWfe4VmvbAwLmpG1RQMT
-
'Introduction to WAI-ARIA (Accessible Rich Internet Applications),' https://www.youtube.com/watch?v=-ZO3QVgs-sk.
Advanced
-
'WAI-ARIA basics,' https://developer.mozilla.org/en-US/docs/Learn/Accessibility/WAI-ARIA_basics
-
'ARIA-live regions for JavaScript frameworks - LogRocket Blog,' https://blog.logrocket.com/aria-live-regions-for-javascript-frameworks/
-
'How to Implement ARIA Tags for Better Accessibility: A Comprehensive Guide for Web Developers - DEV Community,' https://dev.to/sarveshh/how-to-implement-aria-tags-for-better-accessibility-a-comprehensive-guide-for-web-developers-h3k.
General References
-
'Accessibility,' https://developer.mozilla.org/en-US/docs/Learn/Accessibility
-
'ARIA in HTML,' https://www.w3.org/TR/html-aria/
-
'Accessible Rich Internet Applications (WAI-ARIA) 1.1,' https://www.w3.org/TR/wai-aria-1.1/.