SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Downloaden Sie, um offline zu lesen
Nils Lauk
Das Internet ist für alle da … sagen sie
Frontend
Nils Lauk
Teamleiter Entwicklung S-KON AG
@hirsebirse
a11y-101.com
Das Internet
ist kaputt!
Accessibility ist nicht für den
„Extremfall“, sondern für alle.
Quelle: https://download.microsoft.com/download/B/0/D/B0D4BF87-09CE-4417-8F28-D60703D672ED/INCLUSIVE_TOOLKIT_MANUAL_FINAL.pdf
• Eine Beeinträchtigung haben viele von uns
• Beeinträchtigungen können situativ, temporär oder
permanent sein
• Im Laufe unseres Lebens werden Beeinträchtigungen
immer mehr
• Ja, Ihr werdet älter - Gewöhnt Euch an den
Gedanken
Vorurteile
bzgl. A11YSCHWARZ
WEISS
• Accessibility ist teuer
• Accessibility ist hässlich
• Accessibility ist schwer
Vorurteile
Worauf kann
Technik achten?
Semantik!
Der richtige Seitenaufbau
Sauberes Markup hilft, „role“ kann nachhelfen
<header>
role="banner"
Landmark: Banner
<main>
role="main"
Landmark: main
<aside>
role="complementary"
Landmark: Seitenbereich
<footer>
role="contentinfo"
Landmark: contentinfo
<nav>
role="navigation"
Landmark: Navigation
Der richtige Seitenaufbau
Der richtige Seitenaufbau
Der richtige Seitenaufbau
Der richtige Seitenaufbau
<nav class="navi" aria-label="Hauptnavigation">
(…)
</nav>
<main>
(…)
</main>
<div class="seite">
(…)
</div>
<footer class="footer" role="contentinfo">
<nav aria-label="Seitennavigation im Footer">
(…)
</nav>
</footer>
Der richtige Seitenaufbau
<div class="seite">
<aside aria-labelledby="aside-one">
<h3 id="aside-one">Randnotiz</h3>
<p>...</p>
</aside>
<aside aria-labelledby="aside-two">
<h3 id="aside-two">Kleiner Hinweis</h3>
<p>...</p>
</aside>
</div>
Beziehungen erstellen mit <label>
Beziehungen erstellen mit <label>
Beziehungen erstellen mit <label>
<form action="/suche">
<input placeholder="Suchbegriff / Artikelnr. eingeben" type="text">
<button class="js_submitButton sanSearchButton" type="submit" title="Suche">
<span>»</span>
</button>
</form>
Original
Danach
<form action="/suche">
<label for="thesearch" class="sr-only">Artikelsuche auf otto.de</label>
<input placeholder="Suchbegriff / Artikelnr. eingeben"
class="searchslot" type=„text" id="thesearch">
<button class="suche" type="submit">
<i aria-hidden="true" class="magnify"></i>
<span class="sr-only">Suche starten</span>
</button>
</form>
.sr-only {
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}
Beziehungen erstellen mit <label>
Erklär’ mal mit <aria-describedby>
Erklär’ mal mit <aria-describedby>
Erklär’ mal mit <aria-describedby>
Original
<label class="a" for="upassword">Passwort</label>
<div class="b" id="passwordInput">
<input id="upassword" name="123" class="c" data-info="Das von Ihnen gewählte
Passwort sollte zwischen 6 und 15 Buchstaben, Zahlen oder Sonderzeichen enthalten."
aria-describedby="upassword-error" placeholder="Passwort" type="password">
</div>
<label class="z" for="password">Passwort</label>
<div class="y">
<input id="password" name="upassword" type="password" aria-describedby="pw-info"
placeholder="Passwort">
<p class="x" id="pw-info">
Das von Ihnen gewählte Passwort sollte zwischen 6 und 15 Buchstaben, Zahlen oder
Sonderzeichen enthalten.
</p>
</div>
Danach
Erklär’ mal mit <aria-describedby>
optisch
wird vorgelesen onFocus
Design darf nicht Semantik schlagen
Design darf nicht Semantik schlagen
Design darf nicht Semantik schlagen
Die Sache mit dem alt-Attribute
Totaler Fail
ist kein alt-Attribute da, wird
der Dateiname vorgelesen
Die Sache mit dem alt-Attribute
Totaler Fail
ist kein alt-Attribute da, wird
der Dateiname vorgelesen
Die Sache mit dem alt-Attribute
Auch ein Fail
Dateiname automatisch als
alt-Attribute eingesetzt
Die Sache mit dem alt-Attribute
Ganz schön schlecht
vermutlich automatisch
eingesetztes alt-Attribute
Die Sache mit dem alt-Attribute
Ganz schön faul
alt-Attribut aus Headline
zusammengeschustert
Die Sache mit dem alt-Attribute
In Ordnung
Ist das Bild nur dekorativ,
wird das alt-Attribut leer
gelassen
Die Sache mit dem alt-Attribute
Endlich richtig
Das alt-Attribute soll be-
schreiben was auf dem Bild
zu sehen ist
Zusammengefasst
• Wir können jederzeit selber zugängliche Seiten gebrauchen
• Denkt an die Menschen, nicht an Euch (wobei ja eigentlich schon …)
• Semantik, Landmarks, alt, label, aria-attribute (weniger ist mehr)
• Accessibility ist nicht hässlich, nicht teuer, nicht schwer
• Eine Aufgabe für: Designer, Entwickler, Produktmenschen, Marketing
Das Internet muss nicht kaputt
sein. Es kann ein „Internet für
alle“ sein!
Danke
Nils Lauk, @hirsebirse, a11y-101.com
Fotoquellen
Kaputte Hütte:
Photo by Stephanie Watters Flores on Unsplash https://unsplash.com/photos/FF5HjN9mT4E
Fabrik:
Photo by Ant Rozetsky on Unsplash https://unsplash.com/photos/io7dX_1EFCg

Weitere ähnliche Inhalte

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Empfohlen (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Das Internet ist für alle da ... sagen sie

  • 1. Nils Lauk Das Internet ist für alle da … sagen sie Frontend
  • 2. Nils Lauk Teamleiter Entwicklung S-KON AG @hirsebirse a11y-101.com
  • 4. Accessibility ist nicht für den „Extremfall“, sondern für alle.
  • 5. Quelle: https://download.microsoft.com/download/B/0/D/B0D4BF87-09CE-4417-8F28-D60703D672ED/INCLUSIVE_TOOLKIT_MANUAL_FINAL.pdf • Eine Beeinträchtigung haben viele von uns • Beeinträchtigungen können situativ, temporär oder permanent sein • Im Laufe unseres Lebens werden Beeinträchtigungen immer mehr • Ja, Ihr werdet älter - Gewöhnt Euch an den Gedanken
  • 7. • Accessibility ist teuer • Accessibility ist hässlich • Accessibility ist schwer Vorurteile
  • 10. Der richtige Seitenaufbau Sauberes Markup hilft, „role“ kann nachhelfen <header> role="banner" Landmark: Banner <main> role="main" Landmark: main <aside> role="complementary" Landmark: Seitenbereich <footer> role="contentinfo" Landmark: contentinfo <nav> role="navigation" Landmark: Navigation
  • 14. Der richtige Seitenaufbau <nav class="navi" aria-label="Hauptnavigation"> (…) </nav> <main> (…) </main> <div class="seite"> (…) </div> <footer class="footer" role="contentinfo"> <nav aria-label="Seitennavigation im Footer"> (…) </nav> </footer>
  • 15. Der richtige Seitenaufbau <div class="seite"> <aside aria-labelledby="aside-one"> <h3 id="aside-one">Randnotiz</h3> <p>...</p> </aside> <aside aria-labelledby="aside-two"> <h3 id="aside-two">Kleiner Hinweis</h3> <p>...</p> </aside> </div>
  • 18. Beziehungen erstellen mit <label> <form action="/suche"> <input placeholder="Suchbegriff / Artikelnr. eingeben" type="text"> <button class="js_submitButton sanSearchButton" type="submit" title="Suche"> <span>»</span> </button> </form> Original Danach <form action="/suche"> <label for="thesearch" class="sr-only">Artikelsuche auf otto.de</label> <input placeholder="Suchbegriff / Artikelnr. eingeben" class="searchslot" type=„text" id="thesearch"> <button class="suche" type="submit"> <i aria-hidden="true" class="magnify"></i> <span class="sr-only">Suche starten</span> </button> </form> .sr-only { clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
  • 20. Erklär’ mal mit <aria-describedby>
  • 21. Erklär’ mal mit <aria-describedby>
  • 22. Erklär’ mal mit <aria-describedby> Original <label class="a" for="upassword">Passwort</label> <div class="b" id="passwordInput"> <input id="upassword" name="123" class="c" data-info="Das von Ihnen gewählte Passwort sollte zwischen 6 und 15 Buchstaben, Zahlen oder Sonderzeichen enthalten." aria-describedby="upassword-error" placeholder="Passwort" type="password"> </div> <label class="z" for="password">Passwort</label> <div class="y"> <input id="password" name="upassword" type="password" aria-describedby="pw-info" placeholder="Passwort"> <p class="x" id="pw-info"> Das von Ihnen gewählte Passwort sollte zwischen 6 und 15 Buchstaben, Zahlen oder Sonderzeichen enthalten. </p> </div> Danach
  • 23. Erklär’ mal mit <aria-describedby> optisch wird vorgelesen onFocus
  • 24. Design darf nicht Semantik schlagen
  • 25. Design darf nicht Semantik schlagen
  • 26. Design darf nicht Semantik schlagen
  • 27. Die Sache mit dem alt-Attribute Totaler Fail ist kein alt-Attribute da, wird der Dateiname vorgelesen
  • 28. Die Sache mit dem alt-Attribute Totaler Fail ist kein alt-Attribute da, wird der Dateiname vorgelesen
  • 29. Die Sache mit dem alt-Attribute Auch ein Fail Dateiname automatisch als alt-Attribute eingesetzt
  • 30. Die Sache mit dem alt-Attribute Ganz schön schlecht vermutlich automatisch eingesetztes alt-Attribute
  • 31. Die Sache mit dem alt-Attribute Ganz schön faul alt-Attribut aus Headline zusammengeschustert
  • 32. Die Sache mit dem alt-Attribute In Ordnung Ist das Bild nur dekorativ, wird das alt-Attribut leer gelassen
  • 33. Die Sache mit dem alt-Attribute Endlich richtig Das alt-Attribute soll be- schreiben was auf dem Bild zu sehen ist
  • 34. Zusammengefasst • Wir können jederzeit selber zugängliche Seiten gebrauchen • Denkt an die Menschen, nicht an Euch (wobei ja eigentlich schon …) • Semantik, Landmarks, alt, label, aria-attribute (weniger ist mehr) • Accessibility ist nicht hässlich, nicht teuer, nicht schwer • Eine Aufgabe für: Designer, Entwickler, Produktmenschen, Marketing
  • 35. Das Internet muss nicht kaputt sein. Es kann ein „Internet für alle“ sein!
  • 37. Fotoquellen Kaputte Hütte: Photo by Stephanie Watters Flores on Unsplash https://unsplash.com/photos/FF5HjN9mT4E Fabrik: Photo by Ant Rozetsky on Unsplash https://unsplash.com/photos/io7dX_1EFCg