SlideShare a Scribd company logo
1 of 20
Download to read offline
WAI - ARIA
Introduction to Accessible Rich Internet Applications
Vinod Tiwari
Consultant - UI & Accessibility
I am a Software Professional
with over 7 years of experience
in web design & development
and passion to develop usable &
accessible products.
Twitter - @vinodt_
LinkedIn - www.linkedin.com/in/vinod-t
Problem
Statement
Accessibility of web content requires semantic
information about widgets, structures and
behaviours, in order to allow assistive
technologies to convey appropriate
information to persons with disabilities.
Default HTML elements do not convey
sufficient information to ATs about advanced
UI controls and widgets.
Solution
(evolving)
WAI-ARIA, the Accessible Rich Internet
Applications suite, defines a way to make web
content and web applications more accessible
to people with disabilities. It is useful for
communicating dynamic changes in content
with AJAX and screen reader interaction with
advanced UI controls.
How?
ARIA extends HTML by using additional attributes that are
designed to convey custom semantics. These attributes are
used by browsers to pass along the control's state and role
to the accessibility API.
● Landmark roles to describe structure of page-
navigation, header, footer etc.
● Roles to advanced UI controls and properties to
describe the current state.
● Properties to mark live regions that get regularly
updated using AJAX.
● Properties to mark regions for drag-and-drop
functionality.
Progressive
enhancement
Start with valid semantic HTML elements and progressively
enhance AT (assistive technology) user experience with
ARIA.
Landmark Roles
Allows easy access to major sections of
page.
● banner
● complementary
● contentinfo
● form
● main
● navigation
● region
● Search
Source: Accessible Culture
HTML5 & Landmark roles
<header> role=”banner”
<nav> role=”navigation”
<main> role=”main”
<footer> role=”contentinfo”
<aside> role=”complementary”
<article> ** no corresponding landmark role.
<section> ** no corresponding landmark role.
Categorization
of Roles
● Abstract Roles
● Widget Roles
● Document Structure Roles
● Landmark Roles
● Live Region Roles
Read them in detail-
https://www.w3.org/TR/wai-aria-1.1/#roles_c
ategorization
We will go in detail for some commonly used
ARIA roles.
alert
● Alerts are used to convey important and time sensitive messages to
the user.
● Alerts are assertive and processed by ATs immediately without the
need to set focus on element.
● Common use- form field error, login session expiry, connection lost etc.
alertdialog
● alertdialog is used to notify the user of urgent information that demands the
user’s immediate attention.
● The alert dialog must always be given an accessible name (through
aria-labelledby or aria-label).
● An alert dialog must have at least one focusable control and focus must be
moved to that control when the alert dialog appears.
button
● button role should be used for clickable elements that trigger a response when
clicked by user. Screen reader will announce it as button control.
● Additionally use tabindex to make button focusable and use aria-pressed
attribute for toggle buttons.
● NOTE- It is recommended to use native HTML buttons rather than ARIA button
role.
dialog
● dialog role is used for modal window that separates content from rest of page
and usually is placed on top of page with overlay.
● Additionally dialog must be properly labeled and keyboard focus must be
managed.
presentation
● presentation role is used to remove semantic meaning from an element and its
related child.
● In some websites <table> is used for layout purposes. role=”presentation” will
remove any semantic meaning for ATs from <table> element.
progressbar
● progressbar role should be used for an element that displays status of a task
that takes a long time or consists of several steps.
● Progress can be indicated using aria-valuenow, aria-valuemin, aria-valuemax
attributes.
● As task progresses, aria-valuenow value should be updated dynamically to
indicate progress to ATs.
● If progress value can’t be determined, omit the aria-valuenow attribute.
status
● status role is a type of live region and is applied to advisory content that is not
important enough to justify alert role.
● Status information must be provided within status object and it should not
receive focus.
● Screen readers may provide a special key to announce current status and this
should present contents of status live region.
States and
Properties
● By using the ARIA role, you have a
means of presenting what a control is,
or can do, but no way of presenting the
current state of what it is doing.
● ARIA uses a set of extended attributes
to document the state and properties of
elements within the control.
Live regions
● Live regions are elements that are
expected to get updates at run time.
● An ARIA role may be set on the
element that is a live region role: "alert",
"status", "timer", "marquee", or "log".
● If the element is not one of the explicit
live region types, the aria-live attribute
may be used. The aria-live attribute
may be added to any element
● A good example is email web
application updating inbox with new
messages.
Don’t depend on ARIA
Many AT users are stuck on old version
of screen readers without ARIA support.
Remember, Progressive Enhancement!

More Related Content

Viewers also liked

The Future of Video Player Accessibility
The Future of Video Player AccessibilityThe Future of Video Player Accessibility
The Future of Video Player Accessibility3Play Media
 
Usability Testing for People w/ Disabilities
Usability Testing for People w/ DisabilitiesUsability Testing for People w/ Disabilities
Usability Testing for People w/ DisabilitiesInteractive Accessibility
 
The 5 Layers of Web Accessibility
The 5 Layers of Web AccessibilityThe 5 Layers of Web Accessibility
The 5 Layers of Web AccessibilityDirk Ginader
 
Ubiquitous Transactions - Financial Future and Accessibility
Ubiquitous Transactions - Financial Future and AccessibilityUbiquitous Transactions - Financial Future and Accessibility
Ubiquitous Transactions - Financial Future and AccessibilityTed Drake
 
One airway disease
One airway diseaseOne airway disease
One airway diseaseGamal Agmy
 
Accessibility metrics Accessibility Data Metrics and Reporting – Industry Bes...
Accessibility metrics Accessibility Data Metrics and Reporting – Industry Bes...Accessibility metrics Accessibility Data Metrics and Reporting – Industry Bes...
Accessibility metrics Accessibility Data Metrics and Reporting – Industry Bes...Ted Drake
 
Introduction into ARIA
Introduction into ARIAIntroduction into ARIA
Introduction into ARIAArthur Berezin
 
Asthma & allergic rhinitis
Asthma & allergic rhinitisAsthma & allergic rhinitis
Asthma & allergic rhinitisMohibullah salih
 
何一鸣:【无障碍访问】Aria in taobao
何一鸣:【无障碍访问】Aria in taobao何一鸣:【无障碍访问】Aria in taobao
何一鸣:【无障碍访问】Aria in taobaotaobao.com
 
So you want to be a wizard
So you want to be a wizardSo you want to be a wizard
So you want to be a wizardJulia Evans
 

Viewers also liked (17)

The Future of Video Player Accessibility
The Future of Video Player AccessibilityThe Future of Video Player Accessibility
The Future of Video Player Accessibility
 
Usability Testing for People w/ Disabilities
Usability Testing for People w/ DisabilitiesUsability Testing for People w/ Disabilities
Usability Testing for People w/ Disabilities
 
The 5 Layers of Web Accessibility
The 5 Layers of Web AccessibilityThe 5 Layers of Web Accessibility
The 5 Layers of Web Accessibility
 
Ubiquitous Transactions - Financial Future and Accessibility
Ubiquitous Transactions - Financial Future and AccessibilityUbiquitous Transactions - Financial Future and Accessibility
Ubiquitous Transactions - Financial Future and Accessibility
 
Aria
AriaAria
Aria
 
CSUN2017
CSUN2017CSUN2017
CSUN2017
 
Accessible Responsive Web Design
Accessible Responsive Web DesignAccessible Responsive Web Design
Accessible Responsive Web Design
 
Aria
AriaAria
Aria
 
One airway disease
One airway diseaseOne airway disease
One airway disease
 
Allergic Rhinitis
Allergic RhinitisAllergic Rhinitis
Allergic Rhinitis
 
Accessibility metrics Accessibility Data Metrics and Reporting – Industry Bes...
Accessibility metrics Accessibility Data Metrics and Reporting – Industry Bes...Accessibility metrics Accessibility Data Metrics and Reporting – Industry Bes...
Accessibility metrics Accessibility Data Metrics and Reporting – Industry Bes...
 
Introduction into ARIA
Introduction into ARIAIntroduction into ARIA
Introduction into ARIA
 
Asthma & allergic rhinitis
Asthma & allergic rhinitisAsthma & allergic rhinitis
Asthma & allergic rhinitis
 
Allergic rhinitis
Allergic rhinitisAllergic rhinitis
Allergic rhinitis
 
何一鸣:【无障碍访问】Aria in taobao
何一鸣:【无障碍访问】Aria in taobao何一鸣:【无障碍访问】Aria in taobao
何一鸣:【无障碍访问】Aria in taobao
 
WCAG 2.1 Mobile Accessibility
WCAG 2.1 Mobile AccessibilityWCAG 2.1 Mobile Accessibility
WCAG 2.1 Mobile Accessibility
 
So you want to be a wizard
So you want to be a wizardSo you want to be a wizard
So you want to be a wizard
 

Similar to 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 TechTalksKoombea
 
Building accessible web components without tears
Building accessible web components without tearsBuilding accessible web components without tears
Building accessible web components without tearsRuss Weakley
 
An Introduction to WAI-ARIA
An Introduction to WAI-ARIAAn Introduction to WAI-ARIA
An Introduction to WAI-ARIAIWMW
 
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
 
Making Learning Products Accessible
Making Learning Products AccessibleMaking Learning Products Accessible
Making Learning Products AccessibleMagic Software
 
Accessible web applications
Accessible web applications Accessible web applications
Accessible web applications Steven Faulkner
 
Informatica PowerCenter Tutorial | Informatica Tutorial for Beginners | Edureka
Informatica PowerCenter Tutorial | Informatica Tutorial for Beginners | EdurekaInformatica PowerCenter Tutorial | Informatica Tutorial for Beginners | Edureka
Informatica PowerCenter Tutorial | Informatica Tutorial for Beginners | EdurekaEdureka!
 
Userflow - fast user onboarding
Userflow - fast user onboardingUserflow - fast user onboarding
Userflow - fast user onboardingEsben Friis-Jensen
 
What's New in WCAG 2.1
What's New in WCAG 2.1What's New in WCAG 2.1
What's New in WCAG 2.1Jennifer Smith
 
UI path Interview Question
UI path Interview Question UI path Interview Question
UI path Interview Question ganesh kumar
 
Dreamforce 2017 - Up close and personal with Lightning Experience as Platform
Dreamforce 2017 - Up close and personal with Lightning Experience as PlatformDreamforce 2017 - Up close and personal with Lightning Experience as Platform
Dreamforce 2017 - Up close and personal with Lightning Experience as Platformandyinthecloud
 
Testing For Web Accessibility
Testing For Web AccessibilityTesting For Web Accessibility
Testing For Web AccessibilityHagai Asaban
 
White Paper Example - Brafton for Arrow.pdf
White Paper Example - Brafton for Arrow.pdfWhite Paper Example - Brafton for Arrow.pdf
White Paper Example - Brafton for Arrow.pdfBrafton
 
major project report Property Management
 major project report Property Management major project report Property Management
major project report Property Managementankonline
 
Session on API auto scaling, monitoring and Log management
Session on API auto scaling, monitoring and Log managementSession on API auto scaling, monitoring and Log management
Session on API auto scaling, monitoring and Log managementpqrs1234
 
Actuate BIRT best practices v1 0
Actuate BIRT best practices v1 0Actuate BIRT best practices v1 0
Actuate BIRT best practices v1 0Aishwarya Savant
 

Similar to Introduction to WAI - ARIA (20)

Intro to Web Accessibility: Koombea TechTalks
Intro to Web Accessibility: Koombea TechTalksIntro to Web Accessibility: Koombea TechTalks
Intro to Web Accessibility: Koombea TechTalks
 
Building accessible web components without tears
Building accessible web components without tearsBuilding accessible web components without tears
Building accessible web components without tears
 
Ui path| RPA
Ui path| RPAUi path| RPA
Ui path| RPA
 
An Introduction to WAI-ARIA
An Introduction to WAI-ARIAAn Introduction to WAI-ARIA
An Introduction to WAI-ARIA
 
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
 
Making Learning Products Accessible
Making Learning Products AccessibleMaking Learning Products Accessible
Making Learning Products Accessible
 
Accessible web applications
Accessible web applications Accessible web applications
Accessible web applications
 
Web Accessibility
Web AccessibilityWeb Accessibility
Web Accessibility
 
Ajax and web aria
Ajax and web ariaAjax and web aria
Ajax and web aria
 
Informatica PowerCenter Tutorial | Informatica Tutorial for Beginners | Edureka
Informatica PowerCenter Tutorial | Informatica Tutorial for Beginners | EdurekaInformatica PowerCenter Tutorial | Informatica Tutorial for Beginners | Edureka
Informatica PowerCenter Tutorial | Informatica Tutorial for Beginners | Edureka
 
Userflow - fast user onboarding
Userflow - fast user onboardingUserflow - fast user onboarding
Userflow - fast user onboarding
 
What's New in WCAG 2.1
What's New in WCAG 2.1What's New in WCAG 2.1
What's New in WCAG 2.1
 
UI path Interview Question
UI path Interview Question UI path Interview Question
UI path Interview Question
 
Developing HERA FFX for WCAG 2.0
Developing HERA FFX for WCAG 2.0Developing HERA FFX for WCAG 2.0
Developing HERA FFX for WCAG 2.0
 
Dreamforce 2017 - Up close and personal with Lightning Experience as Platform
Dreamforce 2017 - Up close and personal with Lightning Experience as PlatformDreamforce 2017 - Up close and personal with Lightning Experience as Platform
Dreamforce 2017 - Up close and personal with Lightning Experience as Platform
 
Testing For Web Accessibility
Testing For Web AccessibilityTesting For Web Accessibility
Testing For Web Accessibility
 
White Paper Example - Brafton for Arrow.pdf
White Paper Example - Brafton for Arrow.pdfWhite Paper Example - Brafton for Arrow.pdf
White Paper Example - Brafton for Arrow.pdf
 
major project report Property Management
 major project report Property Management major project report Property Management
major project report Property Management
 
Session on API auto scaling, monitoring and Log management
Session on API auto scaling, monitoring and Log managementSession on API auto scaling, monitoring and Log management
Session on API auto scaling, monitoring and Log management
 
Actuate BIRT best practices v1 0
Actuate BIRT best practices v1 0Actuate BIRT best practices v1 0
Actuate BIRT best practices v1 0
 

Recently uploaded

Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 

Recently uploaded (20)

Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 

Introduction to WAI - ARIA

  • 1. WAI - ARIA Introduction to Accessible Rich Internet Applications
  • 2. Vinod Tiwari Consultant - UI & Accessibility I am a Software Professional with over 7 years of experience in web design & development and passion to develop usable & accessible products. Twitter - @vinodt_ LinkedIn - www.linkedin.com/in/vinod-t
  • 3. Problem Statement Accessibility of web content requires semantic information about widgets, structures and behaviours, in order to allow assistive technologies to convey appropriate information to persons with disabilities. Default HTML elements do not convey sufficient information to ATs about advanced UI controls and widgets.
  • 4. Solution (evolving) WAI-ARIA, the Accessible Rich Internet Applications suite, defines a way to make web content and web applications more accessible to people with disabilities. It is useful for communicating dynamic changes in content with AJAX and screen reader interaction with advanced UI controls.
  • 5. How? ARIA extends HTML by using additional attributes that are designed to convey custom semantics. These attributes are used by browsers to pass along the control's state and role to the accessibility API. ● Landmark roles to describe structure of page- navigation, header, footer etc. ● Roles to advanced UI controls and properties to describe the current state. ● Properties to mark live regions that get regularly updated using AJAX. ● Properties to mark regions for drag-and-drop functionality.
  • 6. Progressive enhancement Start with valid semantic HTML elements and progressively enhance AT (assistive technology) user experience with ARIA.
  • 7. Landmark Roles Allows easy access to major sections of page. ● banner ● complementary ● contentinfo ● form ● main ● navigation ● region ● Search
  • 9. HTML5 & Landmark roles <header> role=”banner” <nav> role=”navigation” <main> role=”main” <footer> role=”contentinfo” <aside> role=”complementary” <article> ** no corresponding landmark role. <section> ** no corresponding landmark role.
  • 10. Categorization of Roles ● Abstract Roles ● Widget Roles ● Document Structure Roles ● Landmark Roles ● Live Region Roles Read them in detail- https://www.w3.org/TR/wai-aria-1.1/#roles_c ategorization We will go in detail for some commonly used ARIA roles.
  • 11. alert ● Alerts are used to convey important and time sensitive messages to the user. ● Alerts are assertive and processed by ATs immediately without the need to set focus on element. ● Common use- form field error, login session expiry, connection lost etc.
  • 12. alertdialog ● alertdialog is used to notify the user of urgent information that demands the user’s immediate attention. ● The alert dialog must always be given an accessible name (through aria-labelledby or aria-label). ● An alert dialog must have at least one focusable control and focus must be moved to that control when the alert dialog appears.
  • 13. button ● button role should be used for clickable elements that trigger a response when clicked by user. Screen reader will announce it as button control. ● Additionally use tabindex to make button focusable and use aria-pressed attribute for toggle buttons. ● NOTE- It is recommended to use native HTML buttons rather than ARIA button role.
  • 14. dialog ● dialog role is used for modal window that separates content from rest of page and usually is placed on top of page with overlay. ● Additionally dialog must be properly labeled and keyboard focus must be managed.
  • 15. presentation ● presentation role is used to remove semantic meaning from an element and its related child. ● In some websites <table> is used for layout purposes. role=”presentation” will remove any semantic meaning for ATs from <table> element.
  • 16. progressbar ● progressbar role should be used for an element that displays status of a task that takes a long time or consists of several steps. ● Progress can be indicated using aria-valuenow, aria-valuemin, aria-valuemax attributes. ● As task progresses, aria-valuenow value should be updated dynamically to indicate progress to ATs. ● If progress value can’t be determined, omit the aria-valuenow attribute.
  • 17. status ● status role is a type of live region and is applied to advisory content that is not important enough to justify alert role. ● Status information must be provided within status object and it should not receive focus. ● Screen readers may provide a special key to announce current status and this should present contents of status live region.
  • 18. States and Properties ● By using the ARIA role, you have a means of presenting what a control is, or can do, but no way of presenting the current state of what it is doing. ● ARIA uses a set of extended attributes to document the state and properties of elements within the control.
  • 19. Live regions ● Live regions are elements that are expected to get updates at run time. ● An ARIA role may be set on the element that is a live region role: "alert", "status", "timer", "marquee", or "log". ● If the element is not one of the explicit live region types, the aria-live attribute may be used. The aria-live attribute may be added to any element ● A good example is email web application updating inbox with new messages.
  • 20. Don’t depend on ARIA Many AT users are stuck on old version of screen readers without ARIA support. Remember, Progressive Enhancement!