SlideShare uma empresa Scribd logo
1 de 36
ARIA and JavaScript
Accessibility
Paul Bohman
Director of Training, Deque
Note: Some slides have speakers notes with additional
content
The First Rule of Using ARIA:
NEVER use ARIA
unless you have to.
(Use native HTML controls and elements whenever possible.)
The 2nd Rule of Using ARIA:
ALWAYS use ARIA
when you have to.
(Some things can’t be done any other way, especially with dynamic content.)
The Third Rule of Using ARIA:
Go All In.
Learn How to use ARIA right.
(Using ARIA incorrectly can actually be worse than not using it at all.)
Going all in...
Halfway solutions or hybrids
make adoption harder.
(Like the unsuccessful
attempt in the late 1970s in
the U.S. to gradually convert
us to the metric system)
The Fourth Rule of Using
ARIA:
Test the results
with real screen readers.
(It’s the only way to know if your code actually does what it’s supposed to.)
Why ARIA?
ARIA does NOT benefit:
People who are deaf
People who are color-blind
Sighted keyboard users
People with Low vision
(unless they use a screen reader)
People with cognitive disabilities
(unless they use a screen reader)
ARIA DOES benefit:
People who use screen readers
(And to a lesser extent people who use voice
recognition)
Web Applications
and Dynamic Content
ARIA is designed to make web applications
behave more like native applications
It takes advantage of the accessibility API in
operating systems and browsers
The Accessibility Inspector
In Mac OSX
XCode > Open Developer Tool > Accessibility
Inspector
Hover mouse cursor over the object to have it
list the accessibility properties
Accessibility Inspector
How a Developer Can Make a
Screen Reader Say Something
Load a new page (e.g. links, form submission… or
reload the same page)
Move the keyboard focus to the new content
Use an ARIA live region to make an
announcement (usually without moving focus)
Add or alter ARIA attributes
Live Announcements
For when you need to say something to the user
NOW!
(or as soon as the screen reader is finished
with what it’s already saying;
“polite” or “assertive” modes)
Live Regions
It is an empty container, waiting for content to be
injected by JavaScript:
Before:
<div aria-live=”polite”></div>
After:
<div aria-live=”polite”>Hello!</div>
Live Regions
The container should be on the page
on page load
The container must be empty to begin with
(don’t pre-load the live region with content)
Roles, Names, Values
ARIA communicates information about elements
and widgets, including dynamic changes to those
elements and widgets
Role
What kind of an element/widget is it?
Landmark Roles
article
banner
complementary
main
navigation
region
search
contentinfo
Screen readers allow users to navigate landmarks with keyboard shortcuts
Widget Roles
alert
alertdialog
application
dialog
group
log
marquee
menu
menubar
menuitem
menuitemcheckbox
menuitemradio
progressbar
separator
slider
spinbutton
status
tab
tablist
tabpanel
timer
toolbar
tooltip
tree
treegrid
treeitem
“Pseudo HTML” Roles
button
checkbox
columnheader
combobox
contentinfo
form
grid
gridcell
heading
img
link
listbox
listitem
option
radio
radiogroup
row
rowgroup
rowheader
scrollbar
textbox
Content Type Roles
document (normal “browse mode”)
application (widgets; use only when the
widget needs to control keyboard event
handlers)
presentation (overrides the native semantic
meaning of an element; essentially turns it
into a generic <div> or <span>)
Abstract Roles
command
composite
input
landmark
range
section
sectionhead
select
structure
widget
Note: You can’t use these in your code.
These are just categories of roles. I included
them here for the sake of completeness.
Names (Labels)
What is this particular element/widget called?
Label inside element:
<div aria-label=”Volume control”>...</div>
Label outside element:
<div id=”volControl”>Volume Control</div>
<div aria-labelledby=”volControl”>...</div>
Value (Properties)
What attributes does this element/widget have?
Examples:
aria-haspopup=”true”
aria-valuemin=”0”
aria-valuemax=”100”
Value (States)
What can this object do?
What is its status right now?
Examples:
aria-selected=”true”
aria-expanded=”false”
aria-checked=”true”
Value (Relationships)
How is this widget related to other widgets?
Examples:
aria-controls=”panel1”
aria-owns=”widget2”
aria-flowto=”div1” (not well supported yet)
Keyboard Behaviors of
ARIA Widgets
Navigation of ARIA Widgets
Tab to the ARIA widget
Tab past it (not within it)… OR…
Use arrow keys to navigate within it
Note that this is the general model, for things like tab lists, tree views, application
menus, etc. Not everything you can do with ARIA would be considered a widget,
so there are exceptions to the above keyboard pattern.
Keyboard Focus Management
Keyboard activates a button
Content appears
The keyboard focus goes to the new content
The user submits data or dismisses the content
The focus goes back to the original button
(or to an alternate logical location)
Example:
Expandable Region
For example, the source code regions on this page:
https://dequeuniversity.com/library/aria/tabpanels-accordions/tabpanel
Example:
Tab Panel Widget
https://dequeuniversity.com/library/aria/tabpanels-accordions/tabpanel
Example:
Alert Dialog
https://dequeuniversity.com/library/aria/popups-dialogs/sf-alert-dialog
AJAX
The worst sound a person can hear after
activating a button is… silence
Always ensure the screen reader updates the user
when important updates happen
AJAX: Virtual Buffer Issues
You MUST insert an intentional pause AFTER the
AJAX content loads
The pause is necessary to allow the screen reader
to populate its virtual buffer
A typical pause can be about 1 second
ARIA Resources
Deque University: https://dequeuniversity.com/library/
Open AJAX Alliance: http://oaa-accessibility.org/examples/
ARIA specification: http://www.w3.org/TR/wai-aria/
ARIA authoring practices: http://www.w3.org/TR/wai-aria-practices/
ARIA roles model: http://www.w3.org/TR/wai-aria/roles

Mais conteúdo relacionado

Mais procurados

Web and Mobile App Accessibility Testing
Web and Mobile App Accessibility TestingWeb and Mobile App Accessibility Testing
Web and Mobile App Accessibility TestingTechWell
 
WCAG 2.1 update for designers
WCAG 2.1 update for designersWCAG 2.1 update for designers
WCAG 2.1 update for designersIntopia
 
Ember presentation
Ember presentationEmber presentation
Ember presentationDaniel N
 
5. Destructuring | ES6 | Assignment
5. Destructuring | ES6 | Assignment 5. Destructuring | ES6 | Assignment
5. Destructuring | ES6 | Assignment pcnmtutorials
 
Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0Eyal Vardi
 
Javascript under the hood 2
Javascript under the hood 2Javascript under the hood 2
Javascript under the hood 2Thang Tran Duc
 
Abstraction in java
Abstraction in javaAbstraction in java
Abstraction in javasawarkar17
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascriptambuj pathak
 
Java Servlets
Java ServletsJava Servlets
Java ServletsEmprovise
 
Curso Intensivo de N8N
Curso Intensivo de N8NCurso Intensivo de N8N
Curso Intensivo de N8NAutotic
 
javascript objects
javascript objectsjavascript objects
javascript objectsVijay Kalyan
 
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...Edureka!
 
JavaScript - Chapter 4 - Types and Statements
 JavaScript - Chapter 4 - Types and Statements JavaScript - Chapter 4 - Types and Statements
JavaScript - Chapter 4 - Types and StatementsWebStackAcademy
 

Mais procurados (20)

Web and Mobile App Accessibility Testing
Web and Mobile App Accessibility TestingWeb and Mobile App Accessibility Testing
Web and Mobile App Accessibility Testing
 
Apostila java completo
Apostila java completoApostila java completo
Apostila java completo
 
WCAG 2.1 update for designers
WCAG 2.1 update for designersWCAG 2.1 update for designers
WCAG 2.1 update for designers
 
Java script ppt
Java script pptJava script ppt
Java script ppt
 
Selenium Locators
Selenium LocatorsSelenium Locators
Selenium Locators
 
Ember presentation
Ember presentationEmber presentation
Ember presentation
 
5. Destructuring | ES6 | Assignment
5. Destructuring | ES6 | Assignment 5. Destructuring | ES6 | Assignment
5. Destructuring | ES6 | Assignment
 
Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0Component lifecycle hooks in Angular 2.0
Component lifecycle hooks in Angular 2.0
 
Javascript under the hood 2
Javascript under the hood 2Javascript under the hood 2
Javascript under the hood 2
 
Java script array
Java script arrayJava script array
Java script array
 
Abstraction in java
Abstraction in javaAbstraction in java
Abstraction in java
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
 
Java Servlets
Java ServletsJava Servlets
Java Servlets
 
Curso Intensivo de N8N
Curso Intensivo de N8NCurso Intensivo de N8N
Curso Intensivo de N8N
 
javascript objects
javascript objectsjavascript objects
javascript objects
 
Intro to html 5
Intro to html 5Intro to html 5
Intro to html 5
 
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
 
JavaScript - Chapter 4 - Types and Statements
 JavaScript - Chapter 4 - Types and Statements JavaScript - Chapter 4 - Types and Statements
JavaScript - Chapter 4 - Types and Statements
 
Angularjs PPT
Angularjs PPTAngularjs PPT
Angularjs PPT
 
Jsp chapter 1
Jsp chapter 1Jsp chapter 1
Jsp chapter 1
 

Destaque

Managing the Process of Providing an Inclusive Institutional Web Presence: Wo...
Managing the Process of Providing an Inclusive Institutional Web Presence: Wo...Managing the Process of Providing an Inclusive Institutional Web Presence: Wo...
Managing the Process of Providing an Inclusive Institutional Web Presence: Wo...David Sloan
 
the 5 layers of web accessibility - Open Web Camp II
the 5 layers of web accessibility - Open Web Camp IIthe 5 layers of web accessibility - Open Web Camp II
the 5 layers of web accessibility - Open Web Camp IIDirk Ginader
 
Practical Web Accessibility
Practical Web AccessibilityPractical Web Accessibility
Practical Web AccessibilityJenn Dandle
 
Accessibility update since beginning of 2016
Accessibility update since beginning of 2016Accessibility update since beginning of 2016
Accessibility update since beginning of 2016Srinivasu Chakravarthula
 
Tech Headline - Using WAI-ARIA & HTML5: Techniques to solve accessibility pro...
Tech Headline - Using WAI-ARIA & HTML5: Techniques to solve accessibility pro...Tech Headline - Using WAI-ARIA & HTML5: Techniques to solve accessibility pro...
Tech Headline - Using WAI-ARIA & HTML5: Techniques to solve accessibility pro...Rodrigo Castilho
 
Web Standards, HTML 5 & Accessibility - What makes a site accessible today?
Web Standards, HTML 5 & Accessibility - What makes a site accessible today?Web Standards, HTML 5 & Accessibility - What makes a site accessible today?
Web Standards, HTML 5 & Accessibility - What makes a site accessible today?Ted Drake
 
Accessible design with html5 JS Everywhere 2012 Oct 26 Fairmont Hotel San Jos...
Accessible design with html5 JS Everywhere 2012 Oct 26 Fairmont Hotel San Jos...Accessible design with html5 JS Everywhere 2012 Oct 26 Fairmont Hotel San Jos...
Accessible design with html5 JS Everywhere 2012 Oct 26 Fairmont Hotel San Jos...Raj Lal
 
Accessibility and the importance of user testing
Accessibility and the importance of user testingAccessibility and the importance of user testing
Accessibility and the importance of user testingRuss Weakley
 
October 2014 | A211y - An Exploration into Accessibility, Agile & WCAG 2.0
October 2014 | A211y - An Exploration into Accessibility, Agile & WCAG 2.0October 2014 | A211y - An Exploration into Accessibility, Agile & WCAG 2.0
October 2014 | A211y - An Exploration into Accessibility, Agile & WCAG 2.0UXPA MN
 
Top Mistakes in Web Accessibility
Top Mistakes in Web AccessibilityTop Mistakes in Web Accessibility
Top Mistakes in Web AccessibilityWojtek Zając
 
Affordable Communication Aids_Techshare India 2014
Affordable Communication Aids_Techshare India 2014Affordable Communication Aids_Techshare India 2014
Affordable Communication Aids_Techshare India 2014BarrierBreak
 
BS8878 Web Accessibility Code of Practice
BS8878 Web Accessibility Code of PracticeBS8878 Web Accessibility Code of Practice
BS8878 Web Accessibility Code of PracticeNomensa
 
Building in Accessibility Throughout Your Project Lifecycle
Building in Accessibility Throughout Your Project LifecycleBuilding in Accessibility Throughout Your Project Lifecycle
Building in Accessibility Throughout Your Project LifecycleAngela M. Hooker
 
Jared Smith - Introduction to Web Accessibility
Jared Smith - Introduction to Web AccessibilityJared Smith - Introduction to Web Accessibility
Jared Smith - Introduction to Web AccessibilityPlain Talk 2015
 
Inclusive ICTs in Education_Techshare India 2014
Inclusive ICTs in Education_Techshare India 2014Inclusive ICTs in Education_Techshare India 2014
Inclusive ICTs in Education_Techshare India 2014BarrierBreak
 
How HTML5 and WAI-ARIA Can Improve Virtual Space of Universities
How HTML5 and WAI-ARIA Can Improve Virtual Space of UniversitiesHow HTML5 and WAI-ARIA Can Improve Virtual Space of Universities
How HTML5 and WAI-ARIA Can Improve Virtual Space of UniversitiesRadek Pavlíček
 
Web Accessibility for Developers
Web Accessibility for DevelopersWeb Accessibility for Developers
Web Accessibility for DevelopersJenn Dandle
 
Accessibility as Innovation: Creating accessible user experiences
Accessibility as Innovation: Creating accessible user experiencesAccessibility as Innovation: Creating accessible user experiences
Accessibility as Innovation: Creating accessible user experiencesWhitney Quesenbery
 
Are You at Risk? Identifying Web Accessibility Gaps at Your Organization
Are You at Risk? Identifying Web Accessibility Gaps at Your OrganizationAre You at Risk? Identifying Web Accessibility Gaps at Your Organization
Are You at Risk? Identifying Web Accessibility Gaps at Your Organization3Play Media
 
Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5Russ Weakley
 

Destaque (20)

Managing the Process of Providing an Inclusive Institutional Web Presence: Wo...
Managing the Process of Providing an Inclusive Institutional Web Presence: Wo...Managing the Process of Providing an Inclusive Institutional Web Presence: Wo...
Managing the Process of Providing an Inclusive Institutional Web Presence: Wo...
 
the 5 layers of web accessibility - Open Web Camp II
the 5 layers of web accessibility - Open Web Camp IIthe 5 layers of web accessibility - Open Web Camp II
the 5 layers of web accessibility - Open Web Camp II
 
Practical Web Accessibility
Practical Web AccessibilityPractical Web Accessibility
Practical Web Accessibility
 
Accessibility update since beginning of 2016
Accessibility update since beginning of 2016Accessibility update since beginning of 2016
Accessibility update since beginning of 2016
 
Tech Headline - Using WAI-ARIA & HTML5: Techniques to solve accessibility pro...
Tech Headline - Using WAI-ARIA & HTML5: Techniques to solve accessibility pro...Tech Headline - Using WAI-ARIA & HTML5: Techniques to solve accessibility pro...
Tech Headline - Using WAI-ARIA & HTML5: Techniques to solve accessibility pro...
 
Web Standards, HTML 5 & Accessibility - What makes a site accessible today?
Web Standards, HTML 5 & Accessibility - What makes a site accessible today?Web Standards, HTML 5 & Accessibility - What makes a site accessible today?
Web Standards, HTML 5 & Accessibility - What makes a site accessible today?
 
Accessible design with html5 JS Everywhere 2012 Oct 26 Fairmont Hotel San Jos...
Accessible design with html5 JS Everywhere 2012 Oct 26 Fairmont Hotel San Jos...Accessible design with html5 JS Everywhere 2012 Oct 26 Fairmont Hotel San Jos...
Accessible design with html5 JS Everywhere 2012 Oct 26 Fairmont Hotel San Jos...
 
Accessibility and the importance of user testing
Accessibility and the importance of user testingAccessibility and the importance of user testing
Accessibility and the importance of user testing
 
October 2014 | A211y - An Exploration into Accessibility, Agile & WCAG 2.0
October 2014 | A211y - An Exploration into Accessibility, Agile & WCAG 2.0October 2014 | A211y - An Exploration into Accessibility, Agile & WCAG 2.0
October 2014 | A211y - An Exploration into Accessibility, Agile & WCAG 2.0
 
Top Mistakes in Web Accessibility
Top Mistakes in Web AccessibilityTop Mistakes in Web Accessibility
Top Mistakes in Web Accessibility
 
Affordable Communication Aids_Techshare India 2014
Affordable Communication Aids_Techshare India 2014Affordable Communication Aids_Techshare India 2014
Affordable Communication Aids_Techshare India 2014
 
BS8878 Web Accessibility Code of Practice
BS8878 Web Accessibility Code of PracticeBS8878 Web Accessibility Code of Practice
BS8878 Web Accessibility Code of Practice
 
Building in Accessibility Throughout Your Project Lifecycle
Building in Accessibility Throughout Your Project LifecycleBuilding in Accessibility Throughout Your Project Lifecycle
Building in Accessibility Throughout Your Project Lifecycle
 
Jared Smith - Introduction to Web Accessibility
Jared Smith - Introduction to Web AccessibilityJared Smith - Introduction to Web Accessibility
Jared Smith - Introduction to Web Accessibility
 
Inclusive ICTs in Education_Techshare India 2014
Inclusive ICTs in Education_Techshare India 2014Inclusive ICTs in Education_Techshare India 2014
Inclusive ICTs in Education_Techshare India 2014
 
How HTML5 and WAI-ARIA Can Improve Virtual Space of Universities
How HTML5 and WAI-ARIA Can Improve Virtual Space of UniversitiesHow HTML5 and WAI-ARIA Can Improve Virtual Space of Universities
How HTML5 and WAI-ARIA Can Improve Virtual Space of Universities
 
Web Accessibility for Developers
Web Accessibility for DevelopersWeb Accessibility for Developers
Web Accessibility for Developers
 
Accessibility as Innovation: Creating accessible user experiences
Accessibility as Innovation: Creating accessible user experiencesAccessibility as Innovation: Creating accessible user experiences
Accessibility as Innovation: Creating accessible user experiences
 
Are You at Risk? Identifying Web Accessibility Gaps at Your Organization
Are You at Risk? Identifying Web Accessibility Gaps at Your OrganizationAre You at Risk? Identifying Web Accessibility Gaps at Your Organization
Are You at Risk? Identifying Web Accessibility Gaps at Your Organization
 
Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5
 

Semelhante a ARIA and JavaScript Accessibility

WAI-ARIA An introduction to Accessible Rich Internet Applications / AccessU 2018
WAI-ARIA An introduction to Accessible Rich Internet Applications / AccessU 2018WAI-ARIA An introduction to Accessible Rich Internet Applications / AccessU 2018
WAI-ARIA An introduction to Accessible Rich Internet Applications / AccessU 2018Patrick Lauke
 
WAI-ARIA An introduction to Accessible Rich Internet Applications / JavaScrip...
WAI-ARIA An introduction to Accessible Rich Internet Applications / JavaScrip...WAI-ARIA An introduction to Accessible Rich Internet Applications / JavaScrip...
WAI-ARIA An introduction to Accessible Rich Internet Applications / JavaScrip...Patrick Lauke
 
WAI-ARIA An introduction to Accessible Rich Internet Applications / CSS Minsk...
WAI-ARIA An introduction to Accessible Rich Internet Applications / CSS Minsk...WAI-ARIA An introduction to Accessible Rich Internet Applications / CSS Minsk...
WAI-ARIA An introduction to Accessible Rich Internet Applications / CSS Minsk...Patrick Lauke
 
WAI-ARIA - an introduction to accessible rich internet applications (1 day wo...
WAI-ARIA - an introduction to accessible rich internet applications (1 day wo...WAI-ARIA - an introduction to accessible rich internet applications (1 day wo...
WAI-ARIA - an introduction to accessible rich internet applications (1 day wo...Patrick Lauke
 
Accessibility of HTML5 and Rich Internet Applications - CSUN 2012
Accessibility of HTML5 and Rich Internet Applications - CSUN 2012Accessibility of HTML5 and Rich Internet Applications - CSUN 2012
Accessibility of HTML5 and Rich Internet Applications - CSUN 2012Steven Faulkner
 
An Introduction to WAI-ARIA
An Introduction to WAI-ARIAAn Introduction to WAI-ARIA
An Introduction to WAI-ARIAIWMW
 
Intro to Web Accessibility: Koombea TechTalks
Intro to Web Accessibility: Koombea TechTalksIntro to Web Accessibility: Koombea TechTalks
Intro to Web Accessibility: Koombea TechTalksKoombea
 
Dynamic and accessible web content with WAI-ARIA
Dynamic and accessible web content with WAI-ARIADynamic and accessible web content with WAI-ARIA
Dynamic and accessible web content with WAI-ARIAAccess iQ
 
CSUN The ARIA Technology Stack Browsers and Screen Readers
CSUN The ARIA Technology Stack Browsers and Screen ReadersCSUN The ARIA Technology Stack Browsers and Screen Readers
CSUN The ARIA Technology Stack Browsers and Screen ReadersEduardo Meza-Etienne
 
ARIA_11_12_Practical_Perspective.pptx
ARIA_11_12_Practical_Perspective.pptxARIA_11_12_Practical_Perspective.pptx
ARIA_11_12_Practical_Perspective.pptxMarkSteadman7
 
Building accessible web components without tears
Building accessible web components without tearsBuilding accessible web components without tears
Building accessible web components without tearsRuss Weakley
 
Accessible web applications
Accessible web applications Accessible web applications
Accessible web applications Steven Faulkner
 
Web accessibility - WAI-ARIA a small introduction
Web accessibility - WAI-ARIA a small introductionWeb accessibility - WAI-ARIA a small introduction
Web accessibility - WAI-ARIA a small introductionGeoffroy Baylaender
 
How To Build An Accessible Web Application
How To Build An Accessible Web ApplicationHow To Build An Accessible Web Application
How To Build An Accessible Web ApplicationDennis Lembree
 
aria-live: the good, the bad and the ugly
aria-live: the good, the bad and the uglyaria-live: the good, the bad and the ugly
aria-live: the good, the bad and the uglyRuss Weakley
 
Testing For Web Accessibility
Testing For Web AccessibilityTesting For Web Accessibility
Testing For Web AccessibilityHagai Asaban
 
Accessibility: A Journey to Accessible Rich Components
Accessibility: A Journey to Accessible Rich ComponentsAccessibility: A Journey to Accessible Rich Components
Accessibility: A Journey to Accessible Rich ComponentsAchievers Tech
 
Accessible modal windows
Accessible modal windowsAccessible modal windows
Accessible modal windowsRuss Weakley
 

Semelhante a ARIA and JavaScript Accessibility (20)

WAI-ARIA An introduction to Accessible Rich Internet Applications / AccessU 2018
WAI-ARIA An introduction to Accessible Rich Internet Applications / AccessU 2018WAI-ARIA An introduction to Accessible Rich Internet Applications / AccessU 2018
WAI-ARIA An introduction to Accessible Rich Internet Applications / AccessU 2018
 
WAI-ARIA An introduction to Accessible Rich Internet Applications / JavaScrip...
WAI-ARIA An introduction to Accessible Rich Internet Applications / JavaScrip...WAI-ARIA An introduction to Accessible Rich Internet Applications / JavaScrip...
WAI-ARIA An introduction to Accessible Rich Internet Applications / JavaScrip...
 
WAI-ARIA An introduction to Accessible Rich Internet Applications / CSS Minsk...
WAI-ARIA An introduction to Accessible Rich Internet Applications / CSS Minsk...WAI-ARIA An introduction to Accessible Rich Internet Applications / CSS Minsk...
WAI-ARIA An introduction to Accessible Rich Internet Applications / CSS Minsk...
 
WAI-ARIA - an introduction to accessible rich internet applications (1 day wo...
WAI-ARIA - an introduction to accessible rich internet applications (1 day wo...WAI-ARIA - an introduction to accessible rich internet applications (1 day wo...
WAI-ARIA - an introduction to accessible rich internet applications (1 day wo...
 
Accessibility of HTML5 and Rich Internet Applications - CSUN 2012
Accessibility of HTML5 and Rich Internet Applications - CSUN 2012Accessibility of HTML5 and Rich Internet Applications - CSUN 2012
Accessibility of HTML5 and Rich Internet Applications - CSUN 2012
 
ARIA Serious
ARIA SeriousARIA Serious
ARIA Serious
 
An Introduction to WAI-ARIA
An Introduction to WAI-ARIAAn Introduction to WAI-ARIA
An Introduction to WAI-ARIA
 
Intro to Web Accessibility: Koombea TechTalks
Intro to Web Accessibility: Koombea TechTalksIntro to Web Accessibility: Koombea TechTalks
Intro to Web Accessibility: Koombea TechTalks
 
Dynamic and accessible web content with WAI-ARIA
Dynamic and accessible web content with WAI-ARIADynamic and accessible web content with WAI-ARIA
Dynamic and accessible web content with WAI-ARIA
 
CSUN The ARIA Technology Stack Browsers and Screen Readers
CSUN The ARIA Technology Stack Browsers and Screen ReadersCSUN The ARIA Technology Stack Browsers and Screen Readers
CSUN The ARIA Technology Stack Browsers and Screen Readers
 
ARIA_11_12_Practical_Perspective.pptx
ARIA_11_12_Practical_Perspective.pptxARIA_11_12_Practical_Perspective.pptx
ARIA_11_12_Practical_Perspective.pptx
 
Building accessible web components without tears
Building accessible web components without tearsBuilding accessible web components without tears
Building accessible web components without tears
 
Accessible web applications
Accessible web applications Accessible web applications
Accessible web applications
 
Web accessibility - WAI-ARIA a small introduction
Web accessibility - WAI-ARIA a small introductionWeb accessibility - WAI-ARIA a small introduction
Web accessibility - WAI-ARIA a small introduction
 
How To Build An Accessible Web Application
How To Build An Accessible Web ApplicationHow To Build An Accessible Web Application
How To Build An Accessible Web Application
 
aria-live: the good, the bad and the ugly
aria-live: the good, the bad and the uglyaria-live: the good, the bad and the ugly
aria-live: the good, the bad and the ugly
 
Testing For Web Accessibility
Testing For Web AccessibilityTesting For Web Accessibility
Testing For Web Accessibility
 
ARIA Gone Wild
ARIA Gone WildARIA Gone Wild
ARIA Gone Wild
 
Accessibility: A Journey to Accessible Rich Components
Accessibility: A Journey to Accessible Rich ComponentsAccessibility: A Journey to Accessible Rich Components
Accessibility: A Journey to Accessible Rich Components
 
Accessible modal windows
Accessible modal windowsAccessible modal windows
Accessible modal windows
 

Último

Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Sonam Pathan
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Excelmac1
 
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Lucknow
 
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一Fs
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Paul Calvano
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa494f574xmv
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一Fs
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITMgdsc13
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMartaLoveguard
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作ys8omjxb
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhimiss dipika
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationLinaWolf1
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一z xss
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxDyna Gilbert
 

Último (20)

Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...
 
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
 
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITM
 
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptx
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhi
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 Documentation
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
 

ARIA and JavaScript Accessibility

Notas do Editor

  1. (Use native HTML controls and elements whenever possible.)
  2. (Some things can’t be done any other way, especially with dynamic content.)
  3. When developers first learn about ARIA, they often start applying ARIA attributes everywhere, thinking they’re adding accessibility features, but if you don’t know what you’re doing with ARIA, you can actually make things LESS accessible.
  4. The graphic shows a speed limit sign showing 15 miles per hour
  5. (It’s the only way to know if your code actually does what it’s supposed to.)
  6. The accessibility inspector in Mac OSX showing a tabpanel widget in a native application on the left, and a tabpanel widget in a web application on the right. Both of them show “AXTabGroup” as the parent, with “AXRadioButton” as the child. In other words, the web page is essentially acting like native code, and will be treated by the screen reader as a native component.
  7. Note: You can’t use these in your code. These are just categories of roles. I included them here for the sake of completeness.
  8. Note that this is the general model, for things like tab lists, tree views, application menus, etc. Not everything you can do with ARIA would be considered a widget, so there are exceptions to the above keyboard pattern.
  9. For example, the source code regions on this page: https://dequeuniversity.com/library/aria/tabpanels-accordions/tabpanel
  10. https://dequeuniversity.com/library/aria/tabpanels-accordions/tabpanel
  11. https://dequeuniversity.com/library/aria/popups-dialogs/sf-alert-dialog