André Kelling
FE dev
Table of contents
Visually impaired
Motorically disabled
Cognitively disabled
Old people
Inexperienced user
Mobile user
Search engines
Discussion Opportunity:
"Maybe the bigger part of a projects target group?"
Web Accessibility Initiative – Accessible Rich Internet Applications
is a technical specification published by the World Wide Web Consortium (W3C) that specifies how to increase the accessibility of web pages, in particular, dynamic content, and user interface components developed with Ajax, HTML, JavaScript, and related technologies.
source: http://www.w3.org/TR/wai-aria/
Be a WAI ARIA Warrior!
Bad
Better
Car image
Fast driving racing car
with Skip links
<body>
<a href="#maincontent">Skip to main content</a>
...
<main id="maincontent>
<h1>Heading</h1>
<p>This is the first paragraph</p>
with Landmark Roles
<ul role="navigation">
<form role="search">
<div role="main">
Assistive technologies provide shortcut keys to navigate through elements defined as landmarks
-> boilerplate solutions?
<div class="showCustomerTypeForm" role="button">
<span class="active">Business Customer</span>
/
<span>Private Customer</span>
</div>
<style>
[role="button"] {
cursor: pointer;
}
</style>
<script>
$(".showCustomerTypeForm").on('click', function () {
showCustomerTypeForm();
});
</script>
<div id="billing">Billing Address</div>
<div>
<div id="name">Name</div>
<input type="text" aria-labelledby="billing name"/>
</div>
<div>
<div id="address">Address</div>
<input type="text" aria-labelledby="billing address"/>
</div>
source: developer.mozilla
<input title="Type search term here" type="text">
Chrome Audit
How to improve our Emojis accessibility?
😕
😁
<i role="img" aria-label="beaming face with smiling eyes">😁</i>
and recommendation:
By André Kelling