SlideShare une entreprise Scribd logo
1  sur  49
Télécharger pour lire hors ligne
Accessibility & Compatibility

           Jared Smith
         @jared_w_smith

           webaim.org
compatibility with ...?

      people!!!

                          3/49
user


    technology


content & experience
                       4/49
technology
bridges the
gap between
people and
content &
experience
              5/49
assistive technology



                       6/49
not compatible
                 7/49
not fully compatible
                       8/49
30% of blind users’
online time is wasted
  on access issues

                        9/49
reliably

  you can’t detect
assistive technology


                       10/49
you can’t trust
  assistive technology

it kinda sucks and is constantly changing
                                            11/49
focus on standards
   then patch the cracks




                           12/49
compliance != accessibility




  use guidelines as tools to achieve accessibility
                                                     13/49
your site can be fully compliant,
    yet totally inaccessible



                               14/49
your site can be
   fully compliant and
technically accessible, yet
 functionally inaccessible

                              15/49
so, what do we do?




                     16/49
aria




accessible rich internet applications
                                        17/49
aria paves the cow paths




                           18/49
19/49
20/49
21/49
22/49
23/49
today’s focus is on
compatibility beyond standards
 ... or the complexities of basic accessibility


                                                  24/49
alternative text for images
       should present
CONTENT and FUNCTION

  very rarely a description


                               25/49
alt=”smiling lady”???
alt=”we are friendly and
      personable”???       26/49
“I don’t want to miss out on any content”
                          vs.
“I’m listening to the page at 300 words per minute
  in a robotic computer voice - I don’t care about
          the mood and feel of the page.”



       focus on succinct content and functionality   27/49
images that are the only thing within
     a link MUST have alt text



          image buttons and hot spots too   28/49
avoid redundant text and
       functionality

<a href=”http://apple.com/iphone”>
<img src=”iphone.jpg” alt=””><br>
         Apple iPhone</a>



 alternative text doesn’t have to be in the alt attribute   29/49
form labels
<label for=”firstname”>First Name:</label>
    <input type=”text” id=”firstname”
           name=”firstname” />

          First Name:



     text boxes, text areas, select menus,
       checkboxes, and radio buttons.

                                             30/49
form labels


<label> is limited to one form control

    use aria-labelledby for
      multiple labels per control
                  or
      multiple controls per label


                                         31/49
form labels

                                    Search




 If a visible text label is not available, ensure the
    form control is visually intuitive without it.
If so, provide the description in the title attribute
     <input title=”search terms”>


                ... or an off-screen label               32/49
eldsets and legends
           Shipping method
             Overnight
             Two day
             Ground




Use for all groups of radio buttons and checkboxes
when a higher level legend is needed... and that’s all.
                                                   33/49
use buttons to submit forms,
             not links



and ensure that buttons and links initiate a context
       change (use focus() if necessary)
                                                 34/49
avoid accesskey and tabindex



...unless you're sure you know what you're doing.

   learn the power of tabindex=”0” and
              tabindex=”-1”                    35/49
visually hiding content
• display:none and
 visibility:hidden hide from
 everyone... and that’s a good thing.
• position off-screen le with CSS for
 screen readers
• use judiciously

                                        36/49
visually hiding content

  .hidden {
    position:absolute;
    left:-10000px;
    top:auto;
  }


                          37/49
hover is dead
  the title attribute and onmouseover is (mostly)
incompatible with touch-screen devices, keyboard,
          voice control, and screen readers


                                              38/49
title attribute
• advisory information only
• ignored by screen readers, except...
   • form elements missing labels
   • <frame title=”navigation”>
   • <acronym>/<abbr> ...usually.

                                         39/49
“skip to main content” links?



Yes! Until browsers provide better keyboard
        navigation for sighted users
                                              40/49
“skip to main content” links?


you can position them off-screen if you must,
  but make them clearly visible on :focus




        one “skip” link is typically sufficient   41/49
NOT display:none


a#skip {
    position:absolute;
    left:-10000px;
    top:auto;
}
a#skip:focus{
    position:static;
}




                                 42/49
don’t remove focus
indicators from links

     a {
           outline:0;
     }




                        43/49
enhance focus indicators

    a:focus, a:hover {
       outline:1px;
       background-color:#ff0;
       text-decoration:underline;
    }



non-underlined links should become underlined on hover and focus

                                                                   44/49
avoid screen reader “freakout” mode




when an element that has focus or is being read is
            modi ed or destroyed                 45/49
avoid screen reader “freakout” mode




 use javascript focus() to manage focus,
                 if necessary
                                           46/49
odds and ends
• Provide accurate, descriptive, succinct page titles.
• Don’t stress over screen reader pronunciation and
  quirks.
• Ensure full keyboard accessibility.
• Support zoom/text sizes to (at least) 2X.
• Layout tables don’t (typically) affect accessibility. Don’t
  use <th>, <caption>, or summary on layout
  tables.
                                                         47/49
wave.webaim.org

                  48/49
questions?

  webaim.org
@jared_w_smith

Contenu connexe

En vedette

En vedette (14)

Pscs3 keyboard shortcuts_pc
Pscs3 keyboard shortcuts_pcPscs3 keyboard shortcuts_pc
Pscs3 keyboard shortcuts_pc
 
Teletrabajando Desde La Oficina Coworking Bar Camp
Teletrabajando Desde La Oficina   Coworking   Bar CampTeletrabajando Desde La Oficina   Coworking   Bar Camp
Teletrabajando Desde La Oficina Coworking Bar Camp
 
Axfood Annual General Meeting 2012
Axfood Annual General Meeting 2012Axfood Annual General Meeting 2012
Axfood Annual General Meeting 2012
 
AMSA Industry Trends
AMSA Industry TrendsAMSA Industry Trends
AMSA Industry Trends
 
Chapter 06
Chapter 06Chapter 06
Chapter 06
 
Moving to Drupal
Moving to DrupalMoving to Drupal
Moving to Drupal
 
Digital Literacy For Pharmacists
Digital Literacy For PharmacistsDigital Literacy For Pharmacists
Digital Literacy For Pharmacists
 
11/2009 - Duong den vinh quang - English quiz
11/2009 - Duong den vinh quang - English quiz11/2009 - Duong den vinh quang - English quiz
11/2009 - Duong den vinh quang - English quiz
 
Blind Society // PHXDW09 // Death to Traditional
Blind Society // PHXDW09 // Death to TraditionalBlind Society // PHXDW09 // Death to Traditional
Blind Society // PHXDW09 // Death to Traditional
 
первый раз презентацию делаю
первый раз презентацию делаюпервый раз презентацию делаю
первый раз презентацию делаю
 
Search Deltawateren 14-15 oktober
Search Deltawateren 14-15 oktoberSearch Deltawateren 14-15 oktober
Search Deltawateren 14-15 oktober
 
Chapter 04
Chapter 04Chapter 04
Chapter 04
 
Hcmf 2011 Rob Humphrey
Hcmf 2011 Rob Humphrey Hcmf 2011 Rob Humphrey
Hcmf 2011 Rob Humphrey
 
Axfood Annual report 2010
Axfood Annual report 2010Axfood Annual report 2010
Axfood Annual report 2010
 

Plus de Jared Smith

Plus de Jared Smith (11)

Keyboard and Interaction Accessibility Techniques
Keyboard and Interaction Accessibility TechniquesKeyboard and Interaction Accessibility Techniques
Keyboard and Interaction Accessibility Techniques
 
ARIA Gone Wild
ARIA Gone WildARIA Gone Wild
ARIA Gone Wild
 
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!)
 
Insights into Cognitive Web Accessibility
Insights into Cognitive Web AccessibilityInsights into Cognitive Web Accessibility
Insights into Cognitive Web Accessibility
 
Web Accessibility Gone Wild
Web Accessibility Gone WildWeb Accessibility Gone Wild
Web Accessibility Gone Wild
 
The Legend of the Typical Screen Reader User
The Legend of the Typical Screen Reader UserThe Legend of the Typical Screen Reader User
The Legend of the Typical Screen Reader User
 
Web 2.0 = Accessibility 2.0?
Web 2.0 = Accessibility 2.0?Web 2.0 = Accessibility 2.0?
Web 2.0 = Accessibility 2.0?
 
Web Accessibility Evaluation with WAVE
Web Accessibility Evaluation with WAVEWeb Accessibility Evaluation with WAVE
Web Accessibility Evaluation with WAVE
 
Twitter Accessibility
Twitter AccessibilityTwitter Accessibility
Twitter Accessibility
 
Implementing ARIA for Real World Accessibility
Implementing ARIA for Real World AccessibilityImplementing ARIA for Real World Accessibility
Implementing ARIA for Real World Accessibility
 
Web Accessibility Gone Wild
Web Accessibility Gone WildWeb Accessibility Gone Wild
Web Accessibility Gone Wild
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

Accessibility & Compatibility

  • 1. Accessibility & Compatibility Jared Smith @jared_w_smith webaim.org
  • 2.
  • 3. compatibility with ...? people!!! 3/49
  • 4. user technology content & experience 4/49
  • 5. technology bridges the gap between people and content & experience 5/49
  • 9. 30% of blind users’ online time is wasted on access issues 9/49
  • 10. reliably you can’t detect assistive technology 10/49
  • 11. you can’t trust assistive technology it kinda sucks and is constantly changing 11/49
  • 12. focus on standards then patch the cracks 12/49
  • 13. compliance != accessibility use guidelines as tools to achieve accessibility 13/49
  • 14. your site can be fully compliant, yet totally inaccessible 14/49
  • 15. your site can be fully compliant and technically accessible, yet functionally inaccessible 15/49
  • 16. so, what do we do? 16/49
  • 17. aria accessible rich internet applications 17/49
  • 18. aria paves the cow paths 18/49
  • 19. 19/49
  • 20. 20/49
  • 21. 21/49
  • 22. 22/49
  • 23. 23/49
  • 24. today’s focus is on compatibility beyond standards ... or the complexities of basic accessibility 24/49
  • 25. alternative text for images should present CONTENT and FUNCTION very rarely a description 25/49
  • 26. alt=”smiling lady”??? alt=”we are friendly and personable”??? 26/49
  • 27. “I don’t want to miss out on any content” vs. “I’m listening to the page at 300 words per minute in a robotic computer voice - I don’t care about the mood and feel of the page.” focus on succinct content and functionality 27/49
  • 28. images that are the only thing within a link MUST have alt text image buttons and hot spots too 28/49
  • 29. avoid redundant text and functionality <a href=”http://apple.com/iphone”> <img src=”iphone.jpg” alt=””><br> Apple iPhone</a> alternative text doesn’t have to be in the alt attribute 29/49
  • 30. form labels <label for=”firstname”>First Name:</label> <input type=”text” id=”firstname” name=”firstname” /> First Name: text boxes, text areas, select menus, checkboxes, and radio buttons. 30/49
  • 31. form labels <label> is limited to one form control use aria-labelledby for multiple labels per control or multiple controls per label 31/49
  • 32. form labels Search If a visible text label is not available, ensure the form control is visually intuitive without it. If so, provide the description in the title attribute <input title=”search terms”> ... or an off-screen label 32/49
  • 33. eldsets and legends Shipping method Overnight Two day Ground Use for all groups of radio buttons and checkboxes when a higher level legend is needed... and that’s all. 33/49
  • 34. use buttons to submit forms, not links and ensure that buttons and links initiate a context change (use focus() if necessary) 34/49
  • 35. avoid accesskey and tabindex ...unless you're sure you know what you're doing. learn the power of tabindex=”0” and tabindex=”-1” 35/49
  • 36. visually hiding content • display:none and visibility:hidden hide from everyone... and that’s a good thing. • position off-screen le with CSS for screen readers • use judiciously 36/49
  • 37. visually hiding content .hidden { position:absolute; left:-10000px; top:auto; } 37/49
  • 38. hover is dead the title attribute and onmouseover is (mostly) incompatible with touch-screen devices, keyboard, voice control, and screen readers 38/49
  • 39. title attribute • advisory information only • ignored by screen readers, except... • form elements missing labels • <frame title=”navigation”> • <acronym>/<abbr> ...usually. 39/49
  • 40. “skip to main content” links? Yes! Until browsers provide better keyboard navigation for sighted users 40/49
  • 41. “skip to main content” links? you can position them off-screen if you must, but make them clearly visible on :focus one “skip” link is typically sufficient 41/49
  • 42. NOT display:none a#skip { position:absolute; left:-10000px; top:auto; } a#skip:focus{ position:static; } 42/49
  • 43. don’t remove focus indicators from links a { outline:0; } 43/49
  • 44. enhance focus indicators a:focus, a:hover { outline:1px; background-color:#ff0; text-decoration:underline; } non-underlined links should become underlined on hover and focus 44/49
  • 45. avoid screen reader “freakout” mode when an element that has focus or is being read is modi ed or destroyed 45/49
  • 46. avoid screen reader “freakout” mode use javascript focus() to manage focus, if necessary 46/49
  • 47. odds and ends • Provide accurate, descriptive, succinct page titles. • Don’t stress over screen reader pronunciation and quirks. • Ensure full keyboard accessibility. • Support zoom/text sizes to (at least) 2X. • Layout tables don’t (typically) affect accessibility. Don’t use <th>, <caption>, or summary on layout tables. 47/49