SlideShare a Scribd company logo
1 of 48
Download to read offline
Top Mistakes
 in Web Accessibility
 F R O N T R OW CO N F E R E N C E




KRAKÓW, 20.10.2011
3
TYPES
1. Bored manager
  T H E Y S AY


 “Disabled people are not
 in my target group”

 FAV O R I T E T O O L

 his blackberry
2. A future lover
   T H E Y S AY


 “I’ll AJAX all over your
 CSS3”

  FAV O R I T E T E C H N I Q U E

  hashbangs
3. Over-exciter
  T H E Y S AY


 “I created a text-
 only version of my
 church’s website”

 FAV O R I T E T O O L

 JS text resizer
You’ll need to deal with different types of people.



           Let’s get
          some facts

           straight
Benefits of web accessibility
✦   About 15% (5 mln) of total population in
    Poland live with some kind of disability
✦   The average age of web users increases
    every year
✦   Good for not proficient language users
✦   Meets legal requirements
✦   Everyone benefits! (think slower
    connections)
Benefits of web accessibility

✦   Strong overlap with: mobile web
    http://www.w3.org/TR/mwbp-wcag/
Benefits of web accessibility

✦   Strong overlap with: SEO
Types of disability
Visual           Hearing   Motor   Cognitive



✦   Blind
✦   Partial vision loss
✦   Color blindness
Visual          Hearing        Motor         Cognitive


    Video transcription (closed captioning) benefits not just
    those with hearing impairments.


✦   Disabling sound
✦   Content becomes searchable and quotable
Visual          Hearing          Motor          Cognitive

Motor impaired can find using keyboard or mouse problematic.
Alternative inputs can have different range of complexity, most frequent
being different types “switches”.
Visual            Hearing          Motor      Cognitive

    Cognitive problems occur to older users and those
    with worse level of document language.

✦   Increase readability
✦   Large headlines
✦   Descriptive link text
✦   Increased target area of navigation links
“For me being online is everything.
 It’s my hi-fi, my source of income,
  my supermarket, my telephone.
           It’s my way in”
               TeLynn Holdsworth, screen reader user




                                    http://www.flickr.com/photos/tjc/4084712050/
A brief guide
into frequent problems
Incorrect alternative text
Text provided as
the text alternative must present
   the content and function.
fig. Image based navigation
            with no alt text
BAD

 I <img src="" alt="Image of heart"> you.


GOOD




                                   Ferrari Daytona               Ferrari Daytona

Ferrari is an Italian sports   Ferrari is an Italian sports   Ferrari is an Italian sports
car manufacturer based in      car manufacturer based in      car manufacturer based in
Maranello, Italy.              Maranello, Italy.              Maranello, Italy.




   alt=”Ferrari Daytona”                  alt=””                   alt=”Buy Ferrari”
Some rules to remember…

  ✦   Context is important
  ✦   Short is better than long
  ✦   Avoid redundancy
  ✦   Skip “image of…” or “graphic of…”
  ✦   Describe function
  ✦   alt= "" for decorative images
Following the visual appearance
Semantics is the king



 <h3>        <ul>
Not changing defaults
Don’t do
                                          OUTLINE: 0;
                                               (or at least provide
                                                with alternatives)




2.4.7 Focus Visible: Any keyboard operable user interface has a mode of
operation where the keyboard focus indicator is visible. (Level AA)
Disabling mobile zoom
Don’t copy & paste
<meta name="viewport"
  content="width=device-width; initial-scale=1.0;
  maximum-scale=1.0; user-scalable=0;" />


     without testing
Failing in navigation
Lengthy mega drop-down



2.4.1 A mechanism is available to bypass blocks of content that are
repeated on multiple Web pages. (Level A)
Keep the proper structure
 of document headings.
Keep the proper structure
 of document headings.
Hiding content
 FROM SCREEN
                                           FROM SCREEN READERS
 .hidden {
     position: absolute;
     left: -10000px;                        .hide {
     top: auto;                                 display: none;
     width: 1px;                                visibility: hidden;
     height: 1px;                           }
     overflow: hidden;
 }



D I S P L AY O N F O C U S

       .hidden:focus { position: static; width: auto; height: auto; }
QUICK FIX
WAI-ARIA Landmark Roles


   Landmark                          HTML 5 element
 role=”application”                         none
   role=”banner”                            none
role=”complementary”                       <aside>
 role=”contentinfo”                        <footer>
    role=”main”                             none
  role=”navigation”                         <nav>
    role=”search”                           none

                    ~ The Paciello Group
Inaccessible forms
✦   Label your inputs               ✦   Check the tab order
✦   Group form elements             ✦   Make sure it’s JS independent



    WRONG:




Name: [radio button] Mr. [radio button] Mrs. [text input] [text input]
[text input] eMail Address Retype eMail
Form validation




        ~ Derek Featherstone: Aria and Progressive Enhancement
Ambiguous links
Read more                                    Click here


Success Criterion 2.4.4 - Link Purpose (In Context)
Failure 63: Failure of Success Criterion 2.4.4 due to providing link context only in content that is not
related to the link



Success Criterion 2.4.9 - Link Purpose (Link Only)
Failure 84: Failure of Success Criterion 2.4.9 due to using a non-specific link such as "click here" or
"more" without a mechanism to change the link text to specific text.
Adding interaction
Manage focus order!
Use ARIA roles to add meaning
        to your components and
     provide with readable data.

           <li role="menuitemcheckbox" aria-checked="true">
               Sort by Last Modified
           </li>




LIVE REGIONS for AJAX


aria-live="off"         aria-live="assertive"

aria-live="polite"      aria-live="rude"
Browser extensions
  Fangs
  Web Developer Toolbar
  Accessibility Evaluation Toolbar




Free screen readers
  NVDA
  ChromeVox
  FireVox
  VoiceOver
Fangs
                 No anchor text
No h e ading s                    No a l t te x
                                                  t




                                     S ubm i t n o t
                                                     be i ng
                                         re ad o u t
Thanks!

                                          Q&A


Wojtek Zając (@theanxy)
                                                    This work is licensed
http://www.slideshare.net/wojciechzajac                under a Creative
                                                    Commons Attribution
                                                    3.0 Unported License

More Related Content

Similar to Top Mistakes in Web Accessibility

Web Accessibility Gone Wild
Web Accessibility Gone WildWeb Accessibility Gone Wild
Web Accessibility Gone WildJared Smith
 
Images for Everyone - ImageCon 2018
Images for Everyone - ImageCon 2018Images for Everyone - ImageCon 2018
Images for Everyone - ImageCon 2018Katie Sylor-Miller
 
Images For Everyone
Images For EveryoneImages For Everyone
Images For EveryoneCloudinary
 
10 Simple Rules for Making My Site Accessible
10 Simple Rules for Making My Site Accessible10 Simple Rules for Making My Site Accessible
10 Simple Rules for Making My Site AccessibleHelena Zubkow
 
Web Accessibility Gone Wild (Now Even MORE Wilder!)
Web Accessibility Gone Wild (Now Even MORE Wilder!)Web Accessibility Gone Wild (Now Even MORE Wilder!)
Web Accessibility Gone Wild (Now Even MORE Wilder!)Jared Smith
 
Testing For Web Accessibility
Testing For Web AccessibilityTesting For Web Accessibility
Testing For Web AccessibilityHagai Asaban
 
How Accessibility Made Me a Better Developer
How Accessibility Made Me a Better DeveloperHow Accessibility Made Me a Better Developer
How Accessibility Made Me a Better DeveloperBilly Gregory
 
Web Accessibility - A feature you can build
Web Accessibility - A feature you can buildWeb Accessibility - A feature you can build
Web Accessibility - A feature you can buildMonika Piotrowicz
 
Selfish Accessibility: Government Digital Service
Selfish Accessibility: Government Digital ServiceSelfish Accessibility: Government Digital Service
Selfish Accessibility: Government Digital ServiceAdrian Roselli
 
Selfish Accessibility: WordCamp London 2017
Selfish Accessibility: WordCamp London 2017Selfish Accessibility: WordCamp London 2017
Selfish Accessibility: WordCamp London 2017Adrian Roselli
 
Accessibility - A feature you can build
Accessibility - A feature you can buildAccessibility - A feature you can build
Accessibility - A feature you can buildMonika Piotrowicz
 
Selfish Accessibility — WordCamp Europe 2017
Selfish Accessibility — WordCamp Europe 2017Selfish Accessibility — WordCamp Europe 2017
Selfish Accessibility — WordCamp Europe 2017Adrian Roselli
 
DG Group - Active Or Passive Website
DG Group - Active Or Passive WebsiteDG Group - Active Or Passive Website
DG Group - Active Or Passive WebsiteFranco De Bonis
 
Worry free web development
Worry free web developmentWorry free web development
Worry free web developmentEstelle Weyl
 
Implementing Acessibility in Liferay 6.1
Implementing Acessibility in Liferay 6.1Implementing Acessibility in Liferay 6.1
Implementing Acessibility in Liferay 6.1Julio Camarero
 
Yvonne Doll, Designing Content for Usability
Yvonne Doll, Designing Content for UsabilityYvonne Doll, Designing Content for Usability
Yvonne Doll, Designing Content for Usabilitywebcontent2007
 
Ajax and Accessibiity
Ajax and AccessibiityAjax and Accessibiity
Ajax and AccessibiityMark Meeker
 
Open and Accessible UI
Open and Accessible UIOpen and Accessible UI
Open and Accessible UIMark Meeker
 
Developing for LinkedIn's Application Platform
Developing for LinkedIn's Application PlatformDeveloping for LinkedIn's Application Platform
Developing for LinkedIn's Application PlatformTaylor Singletary
 

Similar to Top Mistakes in Web Accessibility (20)

Web Accessibility Gone Wild
Web Accessibility Gone WildWeb Accessibility Gone Wild
Web Accessibility Gone Wild
 
Images for Everyone - ImageCon 2018
Images for Everyone - ImageCon 2018Images for Everyone - ImageCon 2018
Images for Everyone - ImageCon 2018
 
Images For Everyone
Images For EveryoneImages For Everyone
Images For Everyone
 
10 Simple Rules for Making My Site Accessible
10 Simple Rules for Making My Site Accessible10 Simple Rules for Making My Site Accessible
10 Simple Rules for Making My Site Accessible
 
Web Accessibility Gone Wild (Now Even MORE Wilder!)
Web Accessibility Gone Wild (Now Even MORE Wilder!)Web Accessibility Gone Wild (Now Even MORE Wilder!)
Web Accessibility Gone Wild (Now Even MORE Wilder!)
 
Testing For Web Accessibility
Testing For Web AccessibilityTesting For Web Accessibility
Testing For Web Accessibility
 
How Accessibility Made Me a Better Developer
How Accessibility Made Me a Better DeveloperHow Accessibility Made Me a Better Developer
How Accessibility Made Me a Better Developer
 
Web Accessibility - A feature you can build
Web Accessibility - A feature you can buildWeb Accessibility - A feature you can build
Web Accessibility - A feature you can build
 
Selfish Accessibility: Government Digital Service
Selfish Accessibility: Government Digital ServiceSelfish Accessibility: Government Digital Service
Selfish Accessibility: Government Digital Service
 
Selfish Accessibility: WordCamp London 2017
Selfish Accessibility: WordCamp London 2017Selfish Accessibility: WordCamp London 2017
Selfish Accessibility: WordCamp London 2017
 
Accessibility - A feature you can build
Accessibility - A feature you can buildAccessibility - A feature you can build
Accessibility - A feature you can build
 
Selfish Accessibility — WordCamp Europe 2017
Selfish Accessibility — WordCamp Europe 2017Selfish Accessibility — WordCamp Europe 2017
Selfish Accessibility — WordCamp Europe 2017
 
DG Group - Active Or Passive Website
DG Group - Active Or Passive WebsiteDG Group - Active Or Passive Website
DG Group - Active Or Passive Website
 
Worry free web development
Worry free web developmentWorry free web development
Worry free web development
 
Implementing Acessibility in Liferay 6.1
Implementing Acessibility in Liferay 6.1Implementing Acessibility in Liferay 6.1
Implementing Acessibility in Liferay 6.1
 
Yvonne Doll, Designing Content for Usability
Yvonne Doll, Designing Content for UsabilityYvonne Doll, Designing Content for Usability
Yvonne Doll, Designing Content for Usability
 
Ajax and Accessibiity
Ajax and AccessibiityAjax and Accessibiity
Ajax and Accessibiity
 
Open and Accessible UI
Open and Accessible UIOpen and Accessible UI
Open and Accessible UI
 
Developing for LinkedIn's Application Platform
Developing for LinkedIn's Application PlatformDeveloping for LinkedIn's Application Platform
Developing for LinkedIn's Application Platform
 
Web Accessbility
Web AccessbilityWeb Accessbility
Web Accessbility
 

Recently uploaded

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
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
 
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
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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
 
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
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
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
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
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
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

Top Mistakes in Web Accessibility

  • 1. Top Mistakes in Web Accessibility F R O N T R OW CO N F E R E N C E KRAKÓW, 20.10.2011
  • 3. 1. Bored manager T H E Y S AY “Disabled people are not in my target group” FAV O R I T E T O O L his blackberry
  • 4. 2. A future lover T H E Y S AY “I’ll AJAX all over your CSS3” FAV O R I T E T E C H N I Q U E hashbangs
  • 5. 3. Over-exciter T H E Y S AY “I created a text- only version of my church’s website” FAV O R I T E T O O L JS text resizer
  • 6. You’ll need to deal with different types of people. Let’s get some facts straight
  • 7. Benefits of web accessibility ✦ About 15% (5 mln) of total population in Poland live with some kind of disability ✦ The average age of web users increases every year ✦ Good for not proficient language users ✦ Meets legal requirements ✦ Everyone benefits! (think slower connections)
  • 8. Benefits of web accessibility ✦ Strong overlap with: mobile web http://www.w3.org/TR/mwbp-wcag/
  • 9. Benefits of web accessibility ✦ Strong overlap with: SEO
  • 11. Visual Hearing Motor Cognitive ✦ Blind ✦ Partial vision loss ✦ Color blindness
  • 12. Visual Hearing Motor Cognitive Video transcription (closed captioning) benefits not just those with hearing impairments. ✦ Disabling sound ✦ Content becomes searchable and quotable
  • 13. Visual Hearing Motor Cognitive Motor impaired can find using keyboard or mouse problematic. Alternative inputs can have different range of complexity, most frequent being different types “switches”.
  • 14. Visual Hearing Motor Cognitive Cognitive problems occur to older users and those with worse level of document language. ✦ Increase readability ✦ Large headlines ✦ Descriptive link text ✦ Increased target area of navigation links
  • 15. “For me being online is everything. It’s my hi-fi, my source of income, my supermarket, my telephone. It’s my way in” TeLynn Holdsworth, screen reader user http://www.flickr.com/photos/tjc/4084712050/
  • 16. A brief guide into frequent problems
  • 18. Text provided as the text alternative must present the content and function.
  • 19. fig. Image based navigation with no alt text
  • 20. BAD I <img src="" alt="Image of heart"> you. GOOD Ferrari Daytona Ferrari Daytona Ferrari is an Italian sports Ferrari is an Italian sports Ferrari is an Italian sports car manufacturer based in car manufacturer based in car manufacturer based in Maranello, Italy. Maranello, Italy. Maranello, Italy. alt=”Ferrari Daytona” alt=”” alt=”Buy Ferrari”
  • 21. Some rules to remember… ✦ Context is important ✦ Short is better than long ✦ Avoid redundancy ✦ Skip “image of…” or “graphic of…” ✦ Describe function ✦ alt= "" for decorative images
  • 22. Following the visual appearance
  • 23.
  • 24. Semantics is the king <h3> <ul>
  • 26.
  • 27. Don’t do OUTLINE: 0; (or at least provide with alternatives) 2.4.7 Focus Visible: Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible. (Level AA)
  • 29. Don’t copy & paste <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> without testing
  • 31. Lengthy mega drop-down 2.4.1 A mechanism is available to bypass blocks of content that are repeated on multiple Web pages. (Level A)
  • 32. Keep the proper structure of document headings.
  • 33. Keep the proper structure of document headings.
  • 34. Hiding content FROM SCREEN FROM SCREEN READERS .hidden { position: absolute; left: -10000px; .hide { top: auto; display: none; width: 1px; visibility: hidden; height: 1px; } overflow: hidden; } D I S P L AY O N F O C U S .hidden:focus { position: static; width: auto; height: auto; }
  • 36. WAI-ARIA Landmark Roles Landmark HTML 5 element role=”application” none role=”banner” none role=”complementary” <aside> role=”contentinfo” <footer> role=”main” none role=”navigation” <nav> role=”search” none ~ The Paciello Group
  • 38. Label your inputs ✦ Check the tab order ✦ Group form elements ✦ Make sure it’s JS independent WRONG: Name: [radio button] Mr. [radio button] Mrs. [text input] [text input] [text input] eMail Address Retype eMail
  • 39. Form validation ~ Derek Featherstone: Aria and Progressive Enhancement
  • 41. Read more Click here Success Criterion 2.4.4 - Link Purpose (In Context) Failure 63: Failure of Success Criterion 2.4.4 due to providing link context only in content that is not related to the link Success Criterion 2.4.9 - Link Purpose (Link Only) Failure 84: Failure of Success Criterion 2.4.9 due to using a non-specific link such as "click here" or "more" without a mechanism to change the link text to specific text.
  • 42.
  • 45. Use ARIA roles to add meaning to your components and provide with readable data. <li role="menuitemcheckbox" aria-checked="true"> Sort by Last Modified </li> LIVE REGIONS for AJAX aria-live="off" aria-live="assertive" aria-live="polite" aria-live="rude"
  • 46. Browser extensions Fangs Web Developer Toolbar Accessibility Evaluation Toolbar Free screen readers NVDA ChromeVox FireVox VoiceOver
  • 47. Fangs No anchor text No h e ading s No a l t te x t S ubm i t n o t be i ng re ad o u t
  • 48. Thanks! Q&A Wojtek Zając (@theanxy) This work is licensed http://www.slideshare.net/wojciechzajac under a Creative Commons Attribution 3.0 Unported License