SlideShare a Scribd company logo
1 of 13
WCAG: Go Beyond and Be Creative
Irfan Ali
Educational Testing Service
1
What is WCAG?
Web Content Accessibility Guidelines (WCAG) is developed through the W3C process in
cooperation with individuals and organizations around the glob, with a goal of providing a
single standard for web content accessibility that meets the needs of individuals,
organizations, and government internationally.
Please remember- “WCAG standards are guidelines, not law”.
2
Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING
are registered trademarks of Educational Testing Service (ETS). 34728
Who needs WCAG?
WCAG are international standards use for designing, developing, and procuring. These
guidelines are useful for:
• Web Content developers
• Web authoring tool developers
• Web accessibility evaluation tool developers
• People who want or need a standard for web and mobile accessibility
3
Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING
are registered trademarks of Educational Testing Service (ETS). 34728
WCAG Principles
The W3C organizes the standards into four principles:
• Perceivable – Make it easier for users to see and hear content
• Operable – Help users navigate and find content
• Understandable – Help users avoid and correct mistakes
• Robust – Maximize compatibility with current and future user tools
4
Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING
are registered trademarks of Educational Testing Service (ETS). 34728
Lets talk about practical problems
To save you wading though the complete guide of WCAG, here are some examples and
explanation to consider on WCAG-friendly design.
hyperlink and button style-
• use buttons to signal clickable actions, such as “download”, “sign up”, or “log out”. If you
want something that looks and acts like a button, try to always use the “button” element
rather than styling link like a button
• If you want the user to trigger some event in clicking it, use a button
• If you want to navigate to a new page or different target on the same page, use anchor
element
http://ets-research.org/ia11ylab/ia/training/design-bootstrap/index.html
5
Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING
are registered trademarks of Educational Testing Service (ETS). 34728
Lets talk about practical problems
Design forms with labels – Need to provide clear, always visible labels for each field.
6
Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING
are registered trademarks of Educational Testing Service (ETS). 34728
Better: provide clear, permanent
label for each field
Graphics source: mono company
Lets talk about practical problems
Using colors–
• Designer often uses fancy colors to develop the UI without checking the contrast ratio
for low vision or color bling users. Designer should choose color wisely as they can
greatly impact the readability of content. The practical application of contrast means
“the visual presentation of text and images of text has a contrast ratio of at least 4.5:1”.
• Color should not be solely relied upon to convey information.
7
Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING
are registered trademarks of Educational Testing Service (ETS). 34728
Graphics source: credit karma
Lets talk about practical problems
Mis-using ARIA–
• ARIA usage – mis-use of ARIA is very common problem. First rule of ARIA is- “ARIA is
more of a band-aid. Use it carefully.”
8
Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING
are registered trademarks of Educational Testing Service (ETS). 34728
<div role=“alert” aria-alive=“assertive” id=”errorMessage”
style=“display:none;”>
Please fix the errors in the form. </div>
<div role=“alert” aria-alive=“assertive” id=”errorMessage”
style=“display:block;”>
Please fix the errors in the form. </div>
Lets talk about practical problems
Dialog Modal Implementation – Modal dialogs are very tricky to make fully accessible.
Especially for the keyboard and screen reader users. Some checkpoints to follow:
• Markup the dialog overlay appropriately
• On dialog open, set focus
• On close, return focus to last item
• Prevent mouse click outside the dialog
• Prevent tabbing outside the dialog
• Allow ESC key to close dialog
9
Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING
are registered trademarks of Educational Testing Service (ETS). 34728
Lets talk about practical problems
Using ARIA to enhance SVG accessibility–
• SVG1.1 accessibility support is limited in browsers and screen readers, but ARIA can be
used now to improve the accessibility of simple SVG.
SVG included in an img tag:
Inline SVG:
10
Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING
are registered trademarks of Educational Testing Service (ETS). 34728
<img src=“img/blue-triangle.svg” role=“image” alt=“Blue Triangle”/>
<svg role=“img” aria-labelledby=“title desc”>
<title id=“title”>Red circle</title>
<desc id=“desc”>Red circle with a black border</desc>
<circle role=“presentation” cy=“60” r=“55” stroke=“black” stroke-width=“1”
fill=“red”>
</svg>
Lets talk about practical problems
Navigability–
• Make all functionality available from a keyboard and use the focus ring to make the focus
visible
• Provide ways to help users navigate, find content, and determine where they are
• Any drag and drop feature also supports cutting and pasting to move the objects
• An application or pop-up that shows up on a user screen has the ability t be closed via a
button on the keyboard, not just clicking on the X symbol with a mouse
11
Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING
are registered trademarks of Educational Testing Service (ETS). 34728
Lets talk about practical problems
Common mistakes that developers make:
• adding unnecessary tab-index to make everything focusable
• Adding many aria-label
• Putting role on sematic elements
• Missing valid properties from custom element
• Tabs with automatic activation
http://w3c.github.io/aria-practices/examples/tabs/tabs-1/tabs.html
12
Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING
are registered trademarks of Educational Testing Service (ETS). 34728
Questions?
iali@ets.org

More Related Content

Similar to WCAG- Go beyond and be creative by Irfan Ali from ETS Princeton New Jersey

Gapand 2017 - Diseñando Arquitecturas Serverless en Azure
Gapand 2017 - Diseñando Arquitecturas Serverless en AzureGapand 2017 - Diseñando Arquitecturas Serverless en Azure
Gapand 2017 - Diseñando Arquitecturas Serverless en AzureAlberto Diaz Martin
 
A Beard, An App, A Blender
A Beard, An App, A BlenderA Beard, An App, A Blender
A Beard, An App, A Blenderedm00se
 
Tech foundations-slides
Tech foundations-slidesTech foundations-slides
Tech foundations-slidestranquynh93
 
Web Accessibility for the 21st Century
Web Accessibility for the 21st CenturyWeb Accessibility for the 21st Century
Web Accessibility for the 21st Centurydreamwidth
 
How "Agile" helps Localization with an old Dilema
How "Agile" helps Localization with an old DilemaHow "Agile" helps Localization with an old Dilema
How "Agile" helps Localization with an old DilemaMatthias Caesar
 
How Agile helps Localization with an old Dilema
How Agile helps Localization with an old DilemaHow Agile helps Localization with an old Dilema
How Agile helps Localization with an old DilemaMatthias Caesar
 
Beyond DevOps: Finding Value through Requirements
Beyond DevOps: Finding Value through RequirementsBeyond DevOps: Finding Value through Requirements
Beyond DevOps: Finding Value through RequirementsGail Murphy
 
Curtin University Frontend Web Development
Curtin University Frontend Web DevelopmentCurtin University Frontend Web Development
Curtin University Frontend Web DevelopmentDaryll Chu
 
Startup Institute NYC: Styling
Startup Institute NYC: StylingStartup Institute NYC: Styling
Startup Institute NYC: StylingMatthew Gerrior
 
Inclusive Design 101
Inclusive Design 101Inclusive Design 101
Inclusive Design 101Amanda Reagan
 
Malli Resume_30 Jun 2012
Malli Resume_30 Jun 2012Malli Resume_30 Jun 2012
Malli Resume_30 Jun 2012mallikarjun ch
 
Advantages of the Cloud_Q2_2017.pptx
Advantages of the Cloud_Q2_2017.pptxAdvantages of the Cloud_Q2_2017.pptx
Advantages of the Cloud_Q2_2017.pptxSaboneSabone
 
Cross-Cultural User Experience: What It Is and How to Do It?
Cross-Cultural User Experience: What It Is and How to Do It?Cross-Cultural User Experience: What It Is and How to Do It?
Cross-Cultural User Experience: What It Is and How to Do It?Ultan O'Broin
 
Jar Creative: Portfolio & Process
Jar Creative: Portfolio & ProcessJar Creative: Portfolio & Process
Jar Creative: Portfolio & ProcessJeremy Robinson
 
Event-Driven Architecture (EDA)
Event-Driven Architecture (EDA)Event-Driven Architecture (EDA)
Event-Driven Architecture (EDA)WSO2
 

Similar to WCAG- Go beyond and be creative by Irfan Ali from ETS Princeton New Jersey (20)

JUG Tour November 2017
JUG Tour November 2017JUG Tour November 2017
JUG Tour November 2017
 
Gapand 2017 - Diseñando Arquitecturas Serverless en Azure
Gapand 2017 - Diseñando Arquitecturas Serverless en AzureGapand 2017 - Diseñando Arquitecturas Serverless en Azure
Gapand 2017 - Diseñando Arquitecturas Serverless en Azure
 
A Beard, An App, A Blender
A Beard, An App, A BlenderA Beard, An App, A Blender
A Beard, An App, A Blender
 
Tech foundations-slides
Tech foundations-slidesTech foundations-slides
Tech foundations-slides
 
Web Accessibility for the 21st Century
Web Accessibility for the 21st CenturyWeb Accessibility for the 21st Century
Web Accessibility for the 21st Century
 
How "Agile" helps Localization with an old Dilema
How "Agile" helps Localization with an old DilemaHow "Agile" helps Localization with an old Dilema
How "Agile" helps Localization with an old Dilema
 
How Agile helps Localization with an old Dilema
How Agile helps Localization with an old DilemaHow Agile helps Localization with an old Dilema
How Agile helps Localization with an old Dilema
 
Beyond DevOps: Finding Value through Requirements
Beyond DevOps: Finding Value through RequirementsBeyond DevOps: Finding Value through Requirements
Beyond DevOps: Finding Value through Requirements
 
Curtin University Frontend Web Development
Curtin University Frontend Web DevelopmentCurtin University Frontend Web Development
Curtin University Frontend Web Development
 
Startup Institute NYC: Styling
Startup Institute NYC: StylingStartup Institute NYC: Styling
Startup Institute NYC: Styling
 
Inclusive Design 101
Inclusive Design 101Inclusive Design 101
Inclusive Design 101
 
RakeshReddy-CV
RakeshReddy-CVRakeshReddy-CV
RakeshReddy-CV
 
Malli Resume_30 Jun 2012
Malli Resume_30 Jun 2012Malli Resume_30 Jun 2012
Malli Resume_30 Jun 2012
 
Advantages of the Cloud_Q2_2017.pptx
Advantages of the Cloud_Q2_2017.pptxAdvantages of the Cloud_Q2_2017.pptx
Advantages of the Cloud_Q2_2017.pptx
 
Cross-Cultural User Experience: What It Is and How to Do It?
Cross-Cultural User Experience: What It Is and How to Do It?Cross-Cultural User Experience: What It Is and How to Do It?
Cross-Cultural User Experience: What It Is and How to Do It?
 
Portfolio_TS
Portfolio_TSPortfolio_TS
Portfolio_TS
 
Jar Creative: Portfolio & Process
Jar Creative: Portfolio & ProcessJar Creative: Portfolio & Process
Jar Creative: Portfolio & Process
 
WALKCHIP TECHNOLOGY (1)
WALKCHIP TECHNOLOGY (1)WALKCHIP TECHNOLOGY (1)
WALKCHIP TECHNOLOGY (1)
 
Event-Driven Architecture (EDA)
Event-Driven Architecture (EDA)Event-Driven Architecture (EDA)
Event-Driven Architecture (EDA)
 
niranjan
niranjanniranjan
niranjan
 

Recently uploaded

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

WCAG- Go beyond and be creative by Irfan Ali from ETS Princeton New Jersey

  • 1. WCAG: Go Beyond and Be Creative Irfan Ali Educational Testing Service 1
  • 2. What is WCAG? Web Content Accessibility Guidelines (WCAG) is developed through the W3C process in cooperation with individuals and organizations around the glob, with a goal of providing a single standard for web content accessibility that meets the needs of individuals, organizations, and government internationally. Please remember- “WCAG standards are guidelines, not law”. 2 Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING are registered trademarks of Educational Testing Service (ETS). 34728
  • 3. Who needs WCAG? WCAG are international standards use for designing, developing, and procuring. These guidelines are useful for: • Web Content developers • Web authoring tool developers • Web accessibility evaluation tool developers • People who want or need a standard for web and mobile accessibility 3 Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING are registered trademarks of Educational Testing Service (ETS). 34728
  • 4. WCAG Principles The W3C organizes the standards into four principles: • Perceivable – Make it easier for users to see and hear content • Operable – Help users navigate and find content • Understandable – Help users avoid and correct mistakes • Robust – Maximize compatibility with current and future user tools 4 Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING are registered trademarks of Educational Testing Service (ETS). 34728
  • 5. Lets talk about practical problems To save you wading though the complete guide of WCAG, here are some examples and explanation to consider on WCAG-friendly design. hyperlink and button style- • use buttons to signal clickable actions, such as “download”, “sign up”, or “log out”. If you want something that looks and acts like a button, try to always use the “button” element rather than styling link like a button • If you want the user to trigger some event in clicking it, use a button • If you want to navigate to a new page or different target on the same page, use anchor element http://ets-research.org/ia11ylab/ia/training/design-bootstrap/index.html 5 Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING are registered trademarks of Educational Testing Service (ETS). 34728
  • 6. Lets talk about practical problems Design forms with labels – Need to provide clear, always visible labels for each field. 6 Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING are registered trademarks of Educational Testing Service (ETS). 34728 Better: provide clear, permanent label for each field Graphics source: mono company
  • 7. Lets talk about practical problems Using colors– • Designer often uses fancy colors to develop the UI without checking the contrast ratio for low vision or color bling users. Designer should choose color wisely as they can greatly impact the readability of content. The practical application of contrast means “the visual presentation of text and images of text has a contrast ratio of at least 4.5:1”. • Color should not be solely relied upon to convey information. 7 Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING are registered trademarks of Educational Testing Service (ETS). 34728 Graphics source: credit karma
  • 8. Lets talk about practical problems Mis-using ARIA– • ARIA usage – mis-use of ARIA is very common problem. First rule of ARIA is- “ARIA is more of a band-aid. Use it carefully.” 8 Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING are registered trademarks of Educational Testing Service (ETS). 34728 <div role=“alert” aria-alive=“assertive” id=”errorMessage” style=“display:none;”> Please fix the errors in the form. </div> <div role=“alert” aria-alive=“assertive” id=”errorMessage” style=“display:block;”> Please fix the errors in the form. </div>
  • 9. Lets talk about practical problems Dialog Modal Implementation – Modal dialogs are very tricky to make fully accessible. Especially for the keyboard and screen reader users. Some checkpoints to follow: • Markup the dialog overlay appropriately • On dialog open, set focus • On close, return focus to last item • Prevent mouse click outside the dialog • Prevent tabbing outside the dialog • Allow ESC key to close dialog 9 Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING are registered trademarks of Educational Testing Service (ETS). 34728
  • 10. Lets talk about practical problems Using ARIA to enhance SVG accessibility– • SVG1.1 accessibility support is limited in browsers and screen readers, but ARIA can be used now to improve the accessibility of simple SVG. SVG included in an img tag: Inline SVG: 10 Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING are registered trademarks of Educational Testing Service (ETS). 34728 <img src=“img/blue-triangle.svg” role=“image” alt=“Blue Triangle”/> <svg role=“img” aria-labelledby=“title desc”> <title id=“title”>Red circle</title> <desc id=“desc”>Red circle with a black border</desc> <circle role=“presentation” cy=“60” r=“55” stroke=“black” stroke-width=“1” fill=“red”> </svg>
  • 11. Lets talk about practical problems Navigability– • Make all functionality available from a keyboard and use the focus ring to make the focus visible • Provide ways to help users navigate, find content, and determine where they are • Any drag and drop feature also supports cutting and pasting to move the objects • An application or pop-up that shows up on a user screen has the ability t be closed via a button on the keyboard, not just clicking on the X symbol with a mouse 11 Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING are registered trademarks of Educational Testing Service (ETS). 34728
  • 12. Lets talk about practical problems Common mistakes that developers make: • adding unnecessary tab-index to make everything focusable • Adding many aria-label • Putting role on sematic elements • Missing valid properties from custom element • Tabs with automatic activation http://w3c.github.io/aria-practices/examples/tabs/tabs-1/tabs.html 12 Copyright © 2017 by Educational Testing Service. All rights reserved. ETS, the ETS logo and MEASURING THE POWER OF LEARNING are registered trademarks of Educational Testing Service (ETS). 34728