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

The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Recently uploaded (20)

The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 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