SlideShare ist ein Scribd-Unternehmen logo
1 von 49
Downloaden Sie, um offline zu lesen
Web Accessibility
What you need to know
Accessibility Goals

•

An accessible website should allow a disabled
person to get the same value as a non-disabled
person
Accessibility Technologies

The Carroll Center for the Blind
Accessibility Challenges
•

Vision - Screen readers	


•

Motion - Special keyboards	


•

Hearing - audio subtitles
Accessibility Law
•

Every website servicing Israeli population must be
accessible to an AA grade	


•

Existing websites must be accessible by:
25/10/2016	


•

New websites must be accessible upon launch
Technical
Details
Complete guide:	

http://www.w3.org/TR/WCAG20/	

!

Hebrew guide: 

http://www.nagish.org.il/?
page_id=107
Agenda
•

Alt text for images	


•

Motion Control	


•

Audio and Video	


•

Text images	


•

Structure and flow	


•

Forms	


•

Text size and colour	


•

Tables	


•

Keyboard operation	


•

Navigation	


•

Skipping content	


•

Error messages	


•

Time limits	


•

Language denitions	


•

Using standards

•

Roles
Alt Text for Images
<img src="happy_elephant.png" />

<img src="happy_elephant.png" alt="A happy elephant" />
Alt text for images
•

All <img /> tags should have an alt attribute	


•

Alt text should specify content and function	


•

Decorations should get alt="" (an empty alt)	


•

Meaningful photos cannot be placed as
background-image
Alt text for images

•

Alternative Captchas must be provided for visually
impaired users
Audio & Video
•

Provide alternatives to voice channel (subtitles)	


•

Provide alternatives to visual channel (audio
descriptions of important visual information)	


•

Alternatives must be in sync with video	


•

Player must be accessible
Subtitles Format
•

Subtitles can be provided as Open Captions or
Closed Captions	


•

Youtube guide:

http://www.youtube.com/watch?
v=WkQjYHx3NY8
Audio Highlights
•

If you want to play long
sounds (over 3 seconds):	

•

Provide a way for users
to stop it	


•

Provide volume control
Audio Highlights

•

Don’t use audio as a sole indication	


•

Visual aids must also be provided
Structure and Flow
•

Screen readers don’t use CSS
Structure and Flow

•

Use semantic markup	


•

Use meaningful flow
Semantic Markup
Usage

Tag

Headers

H1-H6

Lists and menus

UL, LI

Paragraph

P

Emphasize

EM, STRONG

Citations

CITE
Semantic Markup
•

Don’t style with tables	


•

Don’t link with onclick	


•

Don’t use inline css
Text

size

and colour
Contrast Ratio
•

Ranged 1-21	


•

Required: 4.5, except when:	

•

Large text can have contrast ratio 3	


•

Disabled UI control or decoration	


•

Logo
Text Size

•

Website should be usable if resized by up to 200%
Contrast Checking Tool
•

http://www.snook.ca/technical/colour_contrast/
colour.html
Keyboard Navigation
Keyboard

•

All content and functionality must be accessible
using keyboard only	


•

Keyboard focus should never be trapped
Keyboard
•

Keyboard focus order (tab order) should preserve
meaning	


•

Visual indication for keyboard focus is required	


•

Keyboard focus change should not change context
Skipping To Content
•

Add a link to main content at the head of every
page	


•

Add links to each content area (navigation links)	


•

Start each content block with a header	


•

Organize links in lists
Skipping To Content
•

Recommended access keys:	

S - Skip navigation	

1 - Home page	


5 - Frequently Asked Questions (FAQ)	

6 - Help	

7 - Complaints procedure	


2 - What's new	


8 - Terms and conditions	


3 - Site map	


9 - Feedback form	


4 - Search

0 - Access key details
Time Based
Actions
What Is Time Based Actions
•

Every action that happens automatically after a
given time frame	


•

Examples:	

•

Content refresh	


•

Page transitions
Guidelines
•

User should be able to block time based events
before they occur	


•

User should be able to change time limits before
they occur	


•

User should be able to take an “extension”, when
facing a time limited action
Examples

•

Pause button for auto scroll texts	


•

Control time frames in user’s preferences
Movement Control

•

User can control all moving or blinking elements
on screen	


•

Same applies for self-updating information
Textual Images
•

Don’t use text-in-images unless	

•

User can visually customise the text	


•

Image is inseparable from the text 

(Example: logos)
Language Guidelines
•

Use lang attribute on HTML
<html lang="en">
<html lang="he">
Language Guidelines
•

Specify language change inside the document, if
changing from english to another language
<p>Accessibility for all “
<span lang="he" dir="rtl">‫ ,נגישות לכל‬W3C</span>
" in Hebrew.</p>
Forms
Link form element to its
description
<label for="firstname">First name:</label>

<input type="text" name="firstname"
id="firstname" />

Use title when label is not
appropriate




<fieldset>

<legend>Phone number</legend>

<input id="areaCode" name="areaCode"
title="Area Code"
type="text" size="3" value="" >




<input id="exchange" name="exchange"
title="First three digits of phone number"
type="text" size="3" value="" >
</fieldset>

Required Fields
•

Use clear textual indications for required elds	


•

Explain in the beginning of the form what indicates
a required eld	


•

elds marked with(*) are required
Grouping Fields
•

Group fields in a fieldset when you 

have > 10 form elds




<fieldset>

<legend>address</legend>

<label for="city">City</label>

<input id="city" name="city" type="text" />

<label for="street">Street</label>

<input id="street" name="street" type="text" />




</fieldset>

Error Messages
•

Group error messages in form beginning, each line
indicates a single error	


•

Each error line links to the eld it relates to	


•

When possible, suggest a correction
Tables

50%

$200

70%

$215
Use Caption to Describe the
Table

<table>

<caption>Table 1: Company data</caption>

Use th for table headers
<table>

<caption>Table 1: Company data</caption>

<tr>

<th>Name</th>

<th>Email</th>

</tr>



<tr>

<td>Bob</td>

<td>bob@gmail.com</td>

</tr>

</table>
Use cell headers for complex
tables

<tr>

<th
<td
<td
<td
</tr>


id="acme">ACME Inc</th>

headers="acme employees men">700</td>

headers="acme employees women">300</td>

headers="acme founded">1947</td>

Writing By Standards
•

Start and end tag to each element	


•

Elements are nested by spec	


•

No duplicate attributes	


•

Unique IDs
Q&A
Thanks For Listening
•

Ynon Perek	


•

ynon@ynonperek.com	


•

http://ynonperek.com
Photos From

•

http://placeit.net	


•

http://123rf.com

Weitere ähnliche Inhalte

Ähnlich wie Accessibility

Are you accessible
Are you accessibleAre you accessible
Are you accessible
Geri Druckman
 
Online platform for ict content development
 Online platform for ict content development Online platform for ict content development
Online platform for ict content development
Immaeviorge
 

Ähnlich wie Accessibility (20)

Owen accessibility-2015.pptx
Owen accessibility-2015.pptxOwen accessibility-2015.pptx
Owen accessibility-2015.pptx
 
xhtml_css.ppt
xhtml_css.pptxhtml_css.ppt
xhtml_css.ppt
 
Accessibility pitch-deck
Accessibility pitch-deckAccessibility pitch-deck
Accessibility pitch-deck
 
Web Design Norms
Web Design NormsWeb Design Norms
Web Design Norms
 
Web Accessibility Top 10 - LCC (1/2 day workshop, August 2013)
Web Accessibility Top 10 - LCC (1/2 day workshop, August 2013)Web Accessibility Top 10 - LCC (1/2 day workshop, August 2013)
Web Accessibility Top 10 - LCC (1/2 day workshop, August 2013)
 
Accessibility 101
Accessibility 101Accessibility 101
Accessibility 101
 
Are you accessible
Are you accessibleAre you accessible
Are you accessible
 
Impact of-accessibility-on-technical-writing
Impact of-accessibility-on-technical-writingImpact of-accessibility-on-technical-writing
Impact of-accessibility-on-technical-writing
 
Accessibility and universal usability
Accessibility and universal usabilityAccessibility and universal usability
Accessibility and universal usability
 
Accessibility in distance education (ASSC 2013)
Accessibility in distance education (ASSC 2013)Accessibility in distance education (ASSC 2013)
Accessibility in distance education (ASSC 2013)
 
Making Websites Accessible to People with Disabilities
Making Websites Accessible to People with DisabilitiesMaking Websites Accessible to People with Disabilities
Making Websites Accessible to People with Disabilities
 
Accessible Design with HTML5 - HTML5DevConf.com May 21st San Francisco, 2012 ...
Accessible Design with HTML5 - HTML5DevConf.com May 21st San Francisco, 2012 ...Accessible Design with HTML5 - HTML5DevConf.com May 21st San Francisco, 2012 ...
Accessible Design with HTML5 - HTML5DevConf.com May 21st San Francisco, 2012 ...
 
EVOLVE"13 | Maximize & Enhance | Accessibility | Kiran Kaja
EVOLVE"13 | Maximize & Enhance | Accessibility | Kiran KajaEVOLVE"13 | Maximize & Enhance | Accessibility | Kiran Kaja
EVOLVE"13 | Maximize & Enhance | Accessibility | Kiran Kaja
 
accessibility
accessibilityaccessibility
accessibility
 
Web forms and html (lect 1)
Web forms and html (lect 1)Web forms and html (lect 1)
Web forms and html (lect 1)
 
Online platform for ict content development
 Online platform for ict content development Online platform for ict content development
Online platform for ict content development
 
Journey To The Front End World - Part1 - The Skeleton
Journey To The Front End World - Part1 - The SkeletonJourney To The Front End World - Part1 - The Skeleton
Journey To The Front End World - Part1 - The Skeleton
 
apidays LIVE Paris - Accessibility matters by Ilona Koren-Deutsch
apidays LIVE Paris - Accessibility matters by Ilona Koren-Deutschapidays LIVE Paris - Accessibility matters by Ilona Koren-Deutsch
apidays LIVE Paris - Accessibility matters by Ilona Koren-Deutsch
 
mst_unit1.pptx
mst_unit1.pptxmst_unit1.pptx
mst_unit1.pptx
 
Laughlin Constable Web Accessibility Basics for Web Developers
Laughlin Constable Web Accessibility Basics for Web DevelopersLaughlin Constable Web Accessibility Basics for Web Developers
Laughlin Constable Web Accessibility Basics for Web Developers
 

Mehr von Ynon Perek

Syllabus
SyllabusSyllabus
Syllabus
Ynon Perek
 
Mobile Devices
Mobile DevicesMobile Devices
Mobile Devices
Ynon Perek
 
Angularjs
AngularjsAngularjs
Angularjs
Ynon Perek
 
Js memory
Js memoryJs memory
Js memory
Ynon Perek
 

Mehr von Ynon Perek (20)

Regexp
RegexpRegexp
Regexp
 
Html5 intro
Html5 introHtml5 intro
Html5 intro
 
09 performance
09 performance09 performance
09 performance
 
Qt multi threads
Qt multi threadsQt multi threads
Qt multi threads
 
Syllabus
SyllabusSyllabus
Syllabus
 
Mobile Devices
Mobile DevicesMobile Devices
Mobile Devices
 
Network
NetworkNetwork
Network
 
Architecture app
Architecture appArchitecture app
Architecture app
 
Unit Testing JavaScript Applications
Unit Testing JavaScript ApplicationsUnit Testing JavaScript Applications
Unit Testing JavaScript Applications
 
How to write easy-to-test JavaScript
How to write easy-to-test JavaScriptHow to write easy-to-test JavaScript
How to write easy-to-test JavaScript
 
Introduction to Selenium and Ruby
Introduction to Selenium and RubyIntroduction to Selenium and Ruby
Introduction to Selenium and Ruby
 
Introduction To Web Application Testing
Introduction To Web Application TestingIntroduction To Web Application Testing
Introduction To Web Application Testing
 
Angularjs
AngularjsAngularjs
Angularjs
 
Js memory
Js memoryJs memory
Js memory
 
Qt Design Patterns
Qt Design PatternsQt Design Patterns
Qt Design Patterns
 
Web Application Security
Web Application SecurityWeb Application Security
Web Application Security
 
JavaScript DOM Manipulations
JavaScript DOM ManipulationsJavaScript DOM Manipulations
JavaScript DOM Manipulations
 
Mongodb Intro
Mongodb IntroMongodb Intro
Mongodb Intro
 
Node JS
Node JSNode JS
Node JS
 
D3 js
D3 jsD3 js
D3 js
 

KĂźrzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

KĂźrzlich hochgeladen (20)

Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Accessibility