SlideShare a Scribd company logo
Who’s afraid
of ARIA?
Rian Rietveld
WordCamp US 2018
Artwork: kait cooper
Rian Rietveld
@RianRietveld
Find me on twitter
Senior Accessibility Consultant at Level Level
Teacher at the Level Level Academy
slideshare.net/rianrietveld
Codepen: codepen.io/rianrietveld
Slides on
In this talk
What is ARIA
First rule of ARIA
Examples of how to use ARIA
Good resources
WAI-ARIA
WAI = Web Accessibility Initiative
ARIA = Accessible Rich Internet Applications Suite
ARIA defines a way to make Web
content and Web applications more
accessible to people with disabilities.
It’s all about feedback
What happens on the page?
What does this mean?
How can I interact?
First rule of ARIA…
Don’t use ARIA!
Don’t use ARIA to
fix meaningless or
incorrect HTML5
Hamburgers!
For example:
<div
id=“menu”
>
Menu
</div>
<div
id=“menu”
tabindex=“0”
>
Menu
</div>
<div
id=“menu”
tabindex=“0”
role=“button”
>
Menu
</div>
<div
id=“menu”
tabindex=“0”
role=“button”
aria-pressed=“false”
>
Menu
</div>
<div
id=“menu”
tabindex=“0”
role=“button”
aria-pressed=“false”
>
Menu
</div>
<button
id=“menu”
>
Menu
</button>
Semantics gives
it all for free
Who is afraid of ARIA
It’s all about feedback
What happens on the page?
What does this mean?
How can I interact?
How to use ARIA
Examples!
aria-expanded
Is this open or closed?
Demo
aria-expanded
aria-live
Tell me what’s changing
Demo
aria-live
wp.a11y.speak()
Let WordPress speak
Demo
wp.a11y.speak()
aria-label and the

.screen-reader-text
What you hear is what you get
Demo
aria-label
aria-describedby
and 

aria-labelledby
How do I fill out this form?
Demo
aria-describedby
and 

aria-labelledby
Resources
Who is afraid of ARIA
Who is afraid of ARIA
Who is afraid of ARIA
Free online ARIA Widgets Code Library
at dequeuniversity.com
Who is afraid of ARIA
Make it work
before you make it nice
slideshare.net/rianrietveld
Codepen: codepen.io/rianrietveld
@rianrietveld

More Related Content

Who is afraid of ARIA