SlideShare une entreprise Scribd logo
1  sur  49
Agenda 
 Status of HTML5 
 Basic HTML Accessibility 
 Improved HTML5 Semantics 
 ARIA Integration 
 New Input Types & Attributes 
 New Figure & Figcaption elements 
 Media elements 
Accessibility Summit 2014 2
HTML5 Status 
 HTML5 is in Candidate Recommendation 
 Expected completion in late 2014 
 Currently focused on responding to comments 
 HTML 5.1 is a public working draft 
 Target Recommendation by end of 2016 
Accessibility Summit 2014 3
HTML5Accessibility.com 
 http://www.html5accessibility.com 
 Under Development by The Paciello Group 
 Provides table showing what HTML5 Accessibility 
features are supported in different browsers 
June 23, 2014 
Accessibility Summit 2014 4
Basic HTML Accessibility 
 Semantic HTML 
 Alt text on images 
 Label form controls 
Accessibility Summit 2014 5
Use Semantic HTML 
 <div class=“myCoolH1”>Topics</div> 
 <div class=”myCoolH1” 
role=”heading”>Topics</div> 
 <h1 class=“myCoolH1”>Topics</div> 
Accessibility Summit 2014 6
Add Alt text on Images 
 Add alt text to meaningful images 
<img src=”youWin.png” alt=”You Win!”> 
 Empty alt text if decorative 
<img src=”shelby.png” alt=””> 
(gratuitous image) 
Accessibility Summit 2014 7
HTML5 Alt Text Vocabulary 
http://www.w3.org/html/wg/drafts/html/CR/embedded-Accessibility Summit 2014 content-0.html 8
Label Form Controls 
 <label> element with for attribute 
<label for=”addr”>Address: </label> 
<input type=”text” id=”addr” name=”addr”> 
 Alternatives if the designer insists on no visible 
text 
<img src=”house.png” alt=””>&nbsp; 
<input type=”text” id=”addr” name=”addr” size=“50” 
aria-label=”enter address”> 
or 
<label for="addr"><img src="home.png” alt="enter address” title=“enter 
address”>&nbsp; </label> 
<input id="addr" name=“addr” type="text" size="50"> 
Accessibility Summit 2014 9
Improved HTML 5 Semantics 
 <nav> 
 <section> 
 <article> 
 <header> 
 <footer> 
 <aside> 
Accessibility Summit 2014 10
Example: Newsletter 
Accessibility Summit 2014 11
Simple Newsletter 
Accessibility Summit 2014 12
Captioned 
Screen Reader Demo 
 Flash Version 
 simpleNewsletter.flv 
 Web Version 
 http://www.weba11y.com/Examples/HTML5A11y/Capti 
onDemo1.html 
simpleNewsletter.html 
Accessibility Summit 2014 13
Simple Newsletter Code 1 
 See SimpleNewsletter.html 
 HTML 4 
 Styled <divs> 
 No semantics 
Accessibility Summit 2014 14
Update to HTML5 
 Change the DOCTYPE 
 Use nav 
 Use footer 
 Use header 
 Use section, article, aside 
Accessibility Summit 2014 15
Change the DOCTYPE 
 Original 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd"> 
 HTML5 
<!DOCTYPE html> 
Accessibility Summit 2014 16
Use nav 
 Original  HTML5 
<div> 
<ul> 
<li><a href="#top">Top Stories</a></li> 
<li><a href="evts.html">Events</a></li> 
<li><a href="phs.html">Photos</a></li> 
<li><a href="arch.html">Archives</a></li> 
<li><a href="#subs">Subscribe</a></li> 
</ul> 
</div> 
<nav> 
<ul> 
<li><a href="#top">Top Stories</a></li> 
<li><a href="evts.html">Events</a></li> 
<li><a href="phs.html">Photos</a></li> 
<li><a href="arch.html">Archives</a></li> 
<li><a href="#subs">Subscribe</a></li> 
</ul> 
</nav> 
Accessibility Summit 2014 17
Use footer 
 Original  HTML5 
<div> 
<p style="margin-right:1em;"> 
Footer 
</p> 
</div> 
<footer> 
<p style="margin-right:1em;"> 
Footer 
</p> 
</footer> 
Accessibility Summit 2014 18
Use header 
 Original  HTML5 
<h1> My Newsletter </h1> 
<div> 
<form> 
<label for="search">Search: 
</label> 
<input type="text" id="search”> 
<input type="submit" value="Go"> 
</form> 
</div> 
<header> 
<h1> My Newsletter </h1> 
<section> 
<form action="#"> 
<label for="search">Search: </label> 
<input type="text" id="search"> 
<input type="submit" value="Go"> 
</form> 
</section> 
</header> 
When <header> is NOT a descendant of an article or section the default role=banner 
See http://www.w3.org/html/wg/drafts/html/CR/dom.html#wai-aria 
Accessibility Summit 2014 19
Use section, article, aside 
 Original  HTML5 
<div> 
<h2> Top Stories</h2> 
<h3> Story 1 </h3> 
<p>Here is the first top story</p> 
<p><a href="moreStory1.html"> 
More info about top story 1</a> 
</p> 
<h3> Story 2 </h3> 
<p>Here is the next top story</p> 
<p><a href="moreStory2.html"> 
More info about top story 2</a> 
</p> 
<h3> Story 3 </h3> 
<p>Here is the next top story</p> 
</div> 
<section> 
<header> <h2> Top Stories</h2></header> 
<article> 
<header> <h3> Story 1 </h3></header> 
<p>Here is the first top story</p> 
<aside> 
<p> 
<a href="moreStory1.html"> 
More info about top story 1</a> 
</p> 
</aside> 
</article> 
…. other articles 
</section> 
Accessibility Summit 2014 20
ARIA Integration 
 Accessible Rich Internet Applications 
 Added semantics to generic HTML elements 
 <div role=“banner”> 
 Now incorporated into HTML5 
 <header> 
 Adds states and properties to elements 
 aria-label=“street address” 
 aria-required=“true”* 
*required attribute now included in many HTML5 elements 
Accessibility Summit 2014 21
Add required Attribute 
<section> 
<header> 
<a name="subscribe"></a><h3>Subscribe!</h3> 
</header> 
<section> 
<form action="mailingList"> 
<label for="email">Email: </label> 
<input type="text" id="email" required>* 
<input type="submit" value="Sign me up!"> 
</form> 
</section> 
</section> 
Accessibility Summit 2014 22
ARIA Landmarks 
 Search 
 Main 
<header role="banner"> 
<h1> My Newsletter </h1> 
<section role="search"> 
<form action="#"> 
<label for="search">Search: </label> 
<input type="text" id="search"> 
<input type="submit" value="Go"> 
</form> 
</section> 
</header> 
<section role="main"> 
<header> 
<a name="top"></a><h2> Top Stories</h2> 
</header> 
Accessibility Summit 2014 23
Use ARIA Wisely 
 Strong Native Semantics 
 Example: header that is not a descendant of section or 
article, default native role is banner 
 <header role=“banner”> - not recommended* 
 May cause screen reader to speak banner twice 
 See WAI-ARIA section of HTML5 
spechttp://www.w3.org/html/wg/drafts/html/CR/dom.html#sec-strong-native-semantics 
*Note: In the majority of cases setting an ARIA role and/or aria-* attribute that 
matches the default implicit ARIA semantics is unnecessary and not recommended 
as these properties are already set by the browser. 
Accessibility Summit 2014 24
Use ARIA Wisely (2) 
 Implicit Native Semantics 
 Example: Section 
 default role=region 
 If specified, role must be one of the following: alert, 
alertdialog, application, contentinfo, dialog, document, log, 
main, marquee, region, search, status or presentation 
 See WAI-ARIA section of HTML5 spec 
http://www.w3.org/html/wg/drafts/html/CR/dom.html#sec-implicit-aria-semantics 
Accessibility Summit 2014 25
Captioned 
Screen Reader Demo 
 Flash Version 
 SimpleNewsletterHTML5.flv 
 Web Version 
 http://www.weba11y.com/Examples/HTML5A11y/Capti 
onDemo2.html 
SimpleNewsletterARIA.html 
Accessibility Summit 2014 26
Figure & Figcaption Elements 
 figure identifies stand-alone content (that may be) 
referenced from the main body of work 
 illustrations 
 diagrams 
 image(s) 
 code listings 
 figcaption provides the description 
Accessibility Summit 2014 27
Figure & Figcaption Example 
figureExample1.html 
Accessibility Summit 2014 28
Figure & Figcaption Code 1 
<p>The Three Stooges were an American vaudeville and comedy act of the 
mid&dash;20th century best known for their numerous short subject films, still 
syndicated to television. Their hallmark was physical farce and slapstick. <a 
href="#fig1">Figure 1 </a>shows the original 3 Stooges. 
</p> 
<figure id="fig1"> 
<img src="../images/Souptonuts.jpg"> 
<figcaption>Figure 1: Shemp Howard, Moe Howard, and Larry Fine 
in &quot;Soup To Nuts&quot; 
</figcaption> 
</figure> 
Accessibility Summit 2014 29
Figure & Figcaption Code 2 
<p>Shemp left the trio and was replaced by Curly Howard, creating the most 
common trio as shown in <a href="#fig2">Figure 2.</a> Source: <a 
href="http://en.wikipedia.org/wiki/The_Three_Stooges"> Wikipedia Three 
Stooges Reference</a> 
</p> 
<figure id="fig2"> 
<img src="../images/moe.jpg?"> 
<img src="../images/curly.jpg"> 
<img src="../images/larry.jpg"> 
<figcaption>Figure 2: Individual photos of Moe Howard, Curly Howard, 
and Larry Fine<figcaption> 
</figure> 
No alt text?? See: http://html5doctor.com/html5-simplequiz-4-figures-captions-and- 
alt-text/ 
Accessibility Summit 2014 30
New input Types 
 Color 
 date 
 Datetime* 
 email 
 Month* 
 number 
 range 
 search 
 tel 
 time 
 url 
 Week* 
*Removed from 5 but remain in 5.1 
Accessibility Summit 2014 31
New input Attributes 
 autocomplete 
 autofocus 
 autosave 
 list 
 max/min/step 
 maxlength 
 pattern 
 required 
 spellcheck 
Accessibility Summit 2014 32
Windows Browser Demo 
Firefox 31 Chrome 37.0.2062.94 
newInputTypes.html 
Both flag errors on form submission 
Accessibility Summit 2014 33
Mobile Support for Input Types 
ASUS TF300T Android 
4.2.1 Chrome 
 Interactive Keyboards 
 email - / _ @ .com 
 url - : _ / .com 
 tel – number pad 
 number (check phone) 
 date, time, month 
 color 
 week 
iPhone 4S iOS 7.1.2, 
iPad 2 iOS7.1.1 
 Interactive keyboards 
 email – _123 @ . _ - 
 url - @123 . / .com : _ - 
 tel – number pad numbers 
 number - symbol keyboard 
 date, time, month 
Accessibility Summit 2014 34
ASUS Color Picker 
Accessibility Summit 2014 35
ASUS Date & Week 
Accessibility Summit 2014 36
iPad Date & Month 
Accessibility Summit 2014 37
iPad Email & URL 
Accessibility Summit 2014 38
iPhone 4S Email & URL 
Accessibility Summit 2014 39
iPhone Date & Number 
Accessibility Summit 2014 40
Audio & Video Elements 
 Natively play audio and video files 
 No plug-ins required 
 Browser provides the (accessible) UI 
 Opportunity for 
 synchronized captions 
 Audio descriptions 
 Sign language 
 JavaScript APIs 
 Format compatibility issues across browsers 
Accessibility Summit 2014 41
Audio Format Support 
 Taken from: 
http://www.w3schools.com/html/html5_audio.asp 
Browser MP3 Wav Ogg 
IE ✔ ✖ ✖ 
Chrome ✔ ✔ ✔ 
Firefox ✔ ✔ ✔ 
Safari ✔ ✔ ✖ 
Opera ✖ ✔ ✔ 
Accessibility Summit 2014 42
Audio Example 
<p>A refreshing sound to many....</p> 
<audio autoplay controls> 
<source src="beer.ogg" type=“audio/ogg” /> 
<source src="beer.mp3” type=“audio/mpeg” /> 
<source src="beer.wav” type=“audio/wav” /> 
</audio> 
<p>a beer being opened!</p> 
Firefox 
Chrome 
audioExample.html IE 11 
Accessibility Summit 2014 43
Video Format Support 
 Subject change 
 Taken from: 
HTML5 Video Guide - All You Need to Know for 2014 
Browser MP4 WEBM Ogv 
IE ✔ ✖ ✖ 
Chrome ✔ ✔ ✔ 
Firefox ✖ ✔ ✔ 
Safari ✔ ✖ ✖ 
Opera ✖ ✔ ✔ 
Accessibility Summit 2014 44
Simple Video Example 
<video controls> 
<source src="small.mp4” type=“video/mp4” /> 
<source src="small.ogv" type=“video/ogg” /> 
</video> 
videoExample.html 
Firefox 
Accessibility Summit 2014 45
Subtitles Example 
 Internet Explorer Dev Center 
 Basic timed text track example 
 Uses webVTT file 
 See HTML5 Doctor - Video Subtitling and WebVTT 
<video controls autoplay loop> 
<source src="video.mp4" type="video/mp4"> 
<track id="enTrack" src="entrack.vtt" label="English" kind="subtitles” 
srclang="en" default> 
<track id="esTrack" src="sptrack.vtt" label="Spanish" kind="subtitles" 
srclang="es”> 
<track id="deTrack" src="detrack.vtt" label="German" kind="subtitles" 
srclang="de”> 
HTML5 video not supported 
</video> 
Accessibility Summit 2014 46
Sample WebVTT File 
WEBVTT 
00:00:00.400 --> 00:00:01.070 
simple new 
00:00:01.940 --> 00:00:03.690 
simple newsletter Mozilla Firefox 
00:00:03.859 --> 00:00:04.770 
simple newsletter 
00:00:04.800 --> 00:00:06.690 
page has 6 headings and 7 links 
00:00:07.144 --> 00:00:09.784 
simple newsletter heading level 1 My Newsletter search 
Accessibility Summit 2014 47
Example of Multiple Tracks (IE) 
Accessibility Summit 2014 48
HTML5 Accessibility Review 
 Improved Semantics 
 ARIA integration 
 figure & figcaption elements 
 New input types & attributes 
 Embedded audio and video 
Make use of them! 
Accessibility Summit 2014 49

Contenu connexe

Tendances

Fundamentals of Web Development For Non-Developers
Fundamentals of Web Development For Non-DevelopersFundamentals of Web Development For Non-Developers
Fundamentals of Web Development For Non-DevelopersLemi Orhan Ergin
 
Beginners PHP Tutorial
Beginners PHP TutorialBeginners PHP Tutorial
Beginners PHP Tutorialalexjones89
 
HTML and CSS crash course!
HTML and CSS crash course!HTML and CSS crash course!
HTML and CSS crash course!Ana Cidre
 
Web Accessibility for Web Developers
Web Accessibility for Web DevelopersWeb Accessibility for Web Developers
Web Accessibility for Web DevelopersAlexander Loechel
 
User Testing for Accessibility
User Testing for AccessibilityUser Testing for Accessibility
User Testing for AccessibilityUsability Matters
 
Learn REST in 18 Slides
Learn REST in 18 SlidesLearn REST in 18 Slides
Learn REST in 18 SlidesSuraj Gupta
 
Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01Hatem Mahmoud
 
WCAG 2.1: What You Need to Know About the Most Recent Accessibility Standards
WCAG 2.1: What You Need to Know About the Most Recent Accessibility StandardsWCAG 2.1: What You Need to Know About the Most Recent Accessibility Standards
WCAG 2.1: What You Need to Know About the Most Recent Accessibility StandardsUXPA International
 
HTML5 audio & video
HTML5 audio & videoHTML5 audio & video
HTML5 audio & videoHamza Zahid
 
Web Content Accessibility Guidelines
Web Content Accessibility GuidelinesWeb Content Accessibility Guidelines
Web Content Accessibility GuidelinesPurnimaAgarwal6
 

Tendances (20)

Fundamentals of Web Development For Non-Developers
Fundamentals of Web Development For Non-DevelopersFundamentals of Web Development For Non-Developers
Fundamentals of Web Development For Non-Developers
 
Beginners PHP Tutorial
Beginners PHP TutorialBeginners PHP Tutorial
Beginners PHP Tutorial
 
HTML5
HTML5 HTML5
HTML5
 
HTML and CSS crash course!
HTML and CSS crash course!HTML and CSS crash course!
HTML and CSS crash course!
 
Links in Html
Links in HtmlLinks in Html
Links in Html
 
Web Accessibility for Web Developers
Web Accessibility for Web DevelopersWeb Accessibility for Web Developers
Web Accessibility for Web Developers
 
Accessibilitytesting public
Accessibilitytesting publicAccessibilitytesting public
Accessibilitytesting public
 
Web accessibility
Web accessibilityWeb accessibility
Web accessibility
 
Web Accessibility
Web AccessibilityWeb Accessibility
Web Accessibility
 
User Testing for Accessibility
User Testing for AccessibilityUser Testing for Accessibility
User Testing for Accessibility
 
PHP Basic & Variables
PHP Basic & VariablesPHP Basic & Variables
PHP Basic & Variables
 
REST API Basics
REST API BasicsREST API Basics
REST API Basics
 
Learn REST in 18 Slides
Learn REST in 18 SlidesLearn REST in 18 Slides
Learn REST in 18 Slides
 
PHP - Introdução
PHP - IntroduçãoPHP - Introdução
PHP - Introdução
 
Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01
 
RESTful Web Services
RESTful Web ServicesRESTful Web Services
RESTful Web Services
 
WCAG 2.1: What You Need to Know About the Most Recent Accessibility Standards
WCAG 2.1: What You Need to Know About the Most Recent Accessibility StandardsWCAG 2.1: What You Need to Know About the Most Recent Accessibility Standards
WCAG 2.1: What You Need to Know About the Most Recent Accessibility Standards
 
REST vs SOAP
REST vs SOAPREST vs SOAP
REST vs SOAP
 
HTML5 audio & video
HTML5 audio & videoHTML5 audio & video
HTML5 audio & video
 
Web Content Accessibility Guidelines
Web Content Accessibility GuidelinesWeb Content Accessibility Guidelines
Web Content Accessibility Guidelines
 

En vedette

Lesson 2 - More Basic HTML
Lesson 2 - More Basic HTMLLesson 2 - More Basic HTML
Lesson 2 - More Basic HTMLcoachhahn
 
Creating and Modifying Charts
Creating and Modifying ChartsCreating and Modifying Charts
Creating and Modifying Chartscoachhahn
 
EPUB Evolutions: Towards HTML5 and CSS3
EPUB Evolutions: Towards HTML5 and CSS3EPUB Evolutions: Towards HTML5 and CSS3
EPUB Evolutions: Towards HTML5 and CSS3Liza Daly
 
Text Formatting+(HTML5)
Text Formatting+(HTML5)Text Formatting+(HTML5)
Text Formatting+(HTML5)Ahmed Hassan
 
HTML5 New and Improved
HTML5   New and ImprovedHTML5   New and Improved
HTML5 New and ImprovedTimothy Fisher
 
HTML5 & WAI-ARIA - Happy Families
HTML5 & WAI-ARIA - Happy FamiliesHTML5 & WAI-ARIA - Happy Families
HTML5 & WAI-ARIA - Happy FamiliesSteven Faulkner
 
Eduvision - Webinar Big Data in de Zorg
Eduvision - Webinar Big Data in de Zorg Eduvision - Webinar Big Data in de Zorg
Eduvision - Webinar Big Data in de Zorg Eduvision Opleidingen
 
HTML 5 - CSS 3 Arabic Book
HTML 5 - CSS 3 Arabic BookHTML 5 - CSS 3 Arabic Book
HTML 5 - CSS 3 Arabic BookiTawy Community
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginnersSingsys Pte Ltd
 
دورة CSS3 باللغة العربية
دورة CSS3 باللغة العربيةدورة CSS3 باللغة العربية
دورة CSS3 باللغة العربيةanees abu-hmaid
 
باللغة العربية HTML5 دورة
باللغة العربية HTML5 دورة باللغة العربية HTML5 دورة
باللغة العربية HTML5 دورة anees abu-hmaid
 
كتاب تعلم Html5 css3
كتاب تعلم Html5 css3كتاب تعلم Html5 css3
كتاب تعلم Html5 css3titifcom
 
أحدث الأدوات والمستجدات في تطوير تطبيقات الأجهزة الذكية
أحدث الأدوات والمستجدات في تطوير تطبيقات الأجهزة الذكيةأحدث الأدوات والمستجدات في تطوير تطبيقات الأجهزة الذكية
أحدث الأدوات والمستجدات في تطوير تطبيقات الأجهزة الذكيةAbdullah AlQasim
 
Getting Started with HTML5 in Tech Com (STC 2012)
Getting Started with HTML5 in Tech Com (STC 2012)Getting Started with HTML5 in Tech Com (STC 2012)
Getting Started with HTML5 in Tech Com (STC 2012)Peter Lubbers
 

En vedette (20)

Lesson 2 - More Basic HTML
Lesson 2 - More Basic HTMLLesson 2 - More Basic HTML
Lesson 2 - More Basic HTML
 
Creating and Modifying Charts
Creating and Modifying ChartsCreating and Modifying Charts
Creating and Modifying Charts
 
EPUB Evolutions: Towards HTML5 and CSS3
EPUB Evolutions: Towards HTML5 and CSS3EPUB Evolutions: Towards HTML5 and CSS3
EPUB Evolutions: Towards HTML5 and CSS3
 
Text Formatting+(HTML5)
Text Formatting+(HTML5)Text Formatting+(HTML5)
Text Formatting+(HTML5)
 
HTML5 New and Improved
HTML5   New and ImprovedHTML5   New and Improved
HTML5 New and Improved
 
طور نفسك
طور نفسكطور نفسك
طور نفسك
 
HTML5 Tutorial
HTML5 TutorialHTML5 Tutorial
HTML5 Tutorial
 
HTML5 & WAI-ARIA - Happy Families
HTML5 & WAI-ARIA - Happy FamiliesHTML5 & WAI-ARIA - Happy Families
HTML5 & WAI-ARIA - Happy Families
 
Eduvision - Webinar Big Data in de Zorg
Eduvision - Webinar Big Data in de Zorg Eduvision - Webinar Big Data in de Zorg
Eduvision - Webinar Big Data in de Zorg
 
Html 5 Features And Benefits
Html 5 Features And Benefits  Html 5 Features And Benefits
Html 5 Features And Benefits
 
HTML 5 - CSS 3 Arabic Book
HTML 5 - CSS 3 Arabic BookHTML 5 - CSS 3 Arabic Book
HTML 5 - CSS 3 Arabic Book
 
Eduvision - Webinar html5 css3
Eduvision - Webinar html5 css3Eduvision - Webinar html5 css3
Eduvision - Webinar html5 css3
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
 
دورة CSS3 باللغة العربية
دورة CSS3 باللغة العربيةدورة CSS3 باللغة العربية
دورة CSS3 باللغة العربية
 
1 فون جاب
1  فون جاب1  فون جاب
1 فون جاب
 
باللغة العربية HTML5 دورة
باللغة العربية HTML5 دورة باللغة العربية HTML5 دورة
باللغة العربية HTML5 دورة
 
كتاب تعلم Html5 css3
كتاب تعلم Html5 css3كتاب تعلم Html5 css3
كتاب تعلم Html5 css3
 
أحدث الأدوات والمستجدات في تطوير تطبيقات الأجهزة الذكية
أحدث الأدوات والمستجدات في تطوير تطبيقات الأجهزة الذكيةأحدث الأدوات والمستجدات في تطوير تطبيقات الأجهزة الذكية
أحدث الأدوات والمستجدات في تطوير تطبيقات الأجهزة الذكية
 
Getting Started with HTML5 in Tech Com (STC 2012)
Getting Started with HTML5 in Tech Com (STC 2012)Getting Started with HTML5 in Tech Com (STC 2012)
Getting Started with HTML5 in Tech Com (STC 2012)
 
Up to Speed on HTML 5 and CSS 3
Up to Speed on HTML 5 and CSS 3Up to Speed on HTML 5 and CSS 3
Up to Speed on HTML 5 and CSS 3
 

Similaire à HTML5 Accessibility

What you need to know bout html5
What you need to know bout html5What you need to know bout html5
What you need to know bout html5Kevin DeRudder
 
An Introduction To HTML5
An Introduction To HTML5An Introduction To HTML5
An Introduction To HTML5Robert Nyman
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is nowGonzalo Cordero
 
An Introduction to HTML5
An Introduction to HTML5An Introduction to HTML5
An Introduction to HTML5Steven Chipman
 
HTML5 & Front-end overview
HTML5 & Front-end overviewHTML5 & Front-end overview
HTML5 & Front-end overviewAshish Mukherjee
 
Accessible Design with HTML5 - HTML5DevConf.com May 21st San Francisco, 2012 ...
Accessible Design with HTML5 - HTML5DevConf.com May 21st San Francisco, 2012 ...Accessible Design with HTML5 - HTML5DevConf.com May 21st San Francisco, 2012 ...
Accessible Design with HTML5 - HTML5DevConf.com May 21st San Francisco, 2012 ...Raj Lal
 
presentation_html_5_ppt_1444491485_163390.pptx
presentation_html_5_ppt_1444491485_163390.pptxpresentation_html_5_ppt_1444491485_163390.pptx
presentation_html_5_ppt_1444491485_163390.pptxssuser8001a61
 
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]Aaron Gustafson
 
SW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+DrupalSW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+DrupalJen Simmons
 
Frontend for developers
Frontend for developersFrontend for developers
Frontend for developersHernan Mammana
 
TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單偉格 高
 
HTML5 tags.ppt
HTML5 tags.pptHTML5 tags.ppt
HTML5 tags.pptabcxyz1337
 
Polytechnic speaker deck oluwadamilare
Polytechnic speaker deck oluwadamilarePolytechnic speaker deck oluwadamilare
Polytechnic speaker deck oluwadamilareOluwadamilare Ibrahim
 
Polytechnic speaker deck oluwadamilare
Polytechnic speaker deck oluwadamilarePolytechnic speaker deck oluwadamilare
Polytechnic speaker deck oluwadamilareOluwadamilare Ibrahim
 
HTML5, The Open Web, and what it means for you - Altran
HTML5, The Open Web, and what it means for you - AltranHTML5, The Open Web, and what it means for you - Altran
HTML5, The Open Web, and what it means for you - AltranRobert Nyman
 
Creating HTML Pages
Creating HTML PagesCreating HTML Pages
Creating HTML PagesMike Crabb
 

Similaire à HTML5 Accessibility (20)

What you need to know bout html5
What you need to know bout html5What you need to know bout html5
What you need to know bout html5
 
An Introduction To HTML5
An Introduction To HTML5An Introduction To HTML5
An Introduction To HTML5
 
Html5 intro
Html5 introHtml5 intro
Html5 intro
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is now
 
An Introduction to HTML5
An Introduction to HTML5An Introduction to HTML5
An Introduction to HTML5
 
HTML5 & Front-end overview
HTML5 & Front-end overviewHTML5 & Front-end overview
HTML5 & Front-end overview
 
Accessible Design with HTML5 - HTML5DevConf.com May 21st San Francisco, 2012 ...
Accessible Design with HTML5 - HTML5DevConf.com May 21st San Francisco, 2012 ...Accessible Design with HTML5 - HTML5DevConf.com May 21st San Francisco, 2012 ...
Accessible Design with HTML5 - HTML5DevConf.com May 21st San Francisco, 2012 ...
 
presentation_html_5_ppt_1444491485_163390.pptx
presentation_html_5_ppt_1444491485_163390.pptxpresentation_html_5_ppt_1444491485_163390.pptx
presentation_html_5_ppt_1444491485_163390.pptx
 
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
 
Intro to html 5
Intro to html 5Intro to html 5
Intro to html 5
 
SW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+DrupalSW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+Drupal
 
Powerpoint
PowerpointPowerpoint
Powerpoint
 
Html5 101
Html5 101Html5 101
Html5 101
 
Frontend for developers
Frontend for developersFrontend for developers
Frontend for developers
 
TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單
 
HTML5 tags.ppt
HTML5 tags.pptHTML5 tags.ppt
HTML5 tags.ppt
 
Polytechnic speaker deck oluwadamilare
Polytechnic speaker deck oluwadamilarePolytechnic speaker deck oluwadamilare
Polytechnic speaker deck oluwadamilare
 
Polytechnic speaker deck oluwadamilare
Polytechnic speaker deck oluwadamilarePolytechnic speaker deck oluwadamilare
Polytechnic speaker deck oluwadamilare
 
HTML5, The Open Web, and what it means for you - Altran
HTML5, The Open Web, and what it means for you - AltranHTML5, The Open Web, and what it means for you - Altran
HTML5, The Open Web, and what it means for you - Altran
 
Creating HTML Pages
Creating HTML PagesCreating HTML Pages
Creating HTML Pages
 

Dernier

Visualising and forecasting stocks using Dash
Visualising and forecasting stocks using DashVisualising and forecasting stocks using Dash
Visualising and forecasting stocks using Dashnarutouzumaki53779
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
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
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Fact vs. Fiction: Autodetecting Hallucinations in LLMs
Fact vs. Fiction: Autodetecting Hallucinations in LLMsFact vs. Fiction: Autodetecting Hallucinations in LLMs
Fact vs. Fiction: Autodetecting Hallucinations in LLMsZilliz
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
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
 
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
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 

Dernier (20)

Visualising and forecasting stocks using Dash
Visualising and forecasting stocks using DashVisualising and forecasting stocks using Dash
Visualising and forecasting stocks using Dash
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
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
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Fact vs. Fiction: Autodetecting Hallucinations in LLMs
Fact vs. Fiction: Autodetecting Hallucinations in LLMsFact vs. Fiction: Autodetecting Hallucinations in LLMs
Fact vs. Fiction: Autodetecting Hallucinations in LLMs
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
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
 
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
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 

HTML5 Accessibility

  • 1.
  • 2. Agenda  Status of HTML5  Basic HTML Accessibility  Improved HTML5 Semantics  ARIA Integration  New Input Types & Attributes  New Figure & Figcaption elements  Media elements Accessibility Summit 2014 2
  • 3. HTML5 Status  HTML5 is in Candidate Recommendation  Expected completion in late 2014  Currently focused on responding to comments  HTML 5.1 is a public working draft  Target Recommendation by end of 2016 Accessibility Summit 2014 3
  • 4. HTML5Accessibility.com  http://www.html5accessibility.com  Under Development by The Paciello Group  Provides table showing what HTML5 Accessibility features are supported in different browsers June 23, 2014 Accessibility Summit 2014 4
  • 5. Basic HTML Accessibility  Semantic HTML  Alt text on images  Label form controls Accessibility Summit 2014 5
  • 6. Use Semantic HTML  <div class=“myCoolH1”>Topics</div>  <div class=”myCoolH1” role=”heading”>Topics</div>  <h1 class=“myCoolH1”>Topics</div> Accessibility Summit 2014 6
  • 7. Add Alt text on Images  Add alt text to meaningful images <img src=”youWin.png” alt=”You Win!”>  Empty alt text if decorative <img src=”shelby.png” alt=””> (gratuitous image) Accessibility Summit 2014 7
  • 8. HTML5 Alt Text Vocabulary http://www.w3.org/html/wg/drafts/html/CR/embedded-Accessibility Summit 2014 content-0.html 8
  • 9. Label Form Controls  <label> element with for attribute <label for=”addr”>Address: </label> <input type=”text” id=”addr” name=”addr”>  Alternatives if the designer insists on no visible text <img src=”house.png” alt=””>&nbsp; <input type=”text” id=”addr” name=”addr” size=“50” aria-label=”enter address”> or <label for="addr"><img src="home.png” alt="enter address” title=“enter address”>&nbsp; </label> <input id="addr" name=“addr” type="text" size="50"> Accessibility Summit 2014 9
  • 10. Improved HTML 5 Semantics  <nav>  <section>  <article>  <header>  <footer>  <aside> Accessibility Summit 2014 10
  • 13. Captioned Screen Reader Demo  Flash Version  simpleNewsletter.flv  Web Version  http://www.weba11y.com/Examples/HTML5A11y/Capti onDemo1.html simpleNewsletter.html Accessibility Summit 2014 13
  • 14. Simple Newsletter Code 1  See SimpleNewsletter.html  HTML 4  Styled <divs>  No semantics Accessibility Summit 2014 14
  • 15. Update to HTML5  Change the DOCTYPE  Use nav  Use footer  Use header  Use section, article, aside Accessibility Summit 2014 15
  • 16. Change the DOCTYPE  Original <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  HTML5 <!DOCTYPE html> Accessibility Summit 2014 16
  • 17. Use nav  Original  HTML5 <div> <ul> <li><a href="#top">Top Stories</a></li> <li><a href="evts.html">Events</a></li> <li><a href="phs.html">Photos</a></li> <li><a href="arch.html">Archives</a></li> <li><a href="#subs">Subscribe</a></li> </ul> </div> <nav> <ul> <li><a href="#top">Top Stories</a></li> <li><a href="evts.html">Events</a></li> <li><a href="phs.html">Photos</a></li> <li><a href="arch.html">Archives</a></li> <li><a href="#subs">Subscribe</a></li> </ul> </nav> Accessibility Summit 2014 17
  • 18. Use footer  Original  HTML5 <div> <p style="margin-right:1em;"> Footer </p> </div> <footer> <p style="margin-right:1em;"> Footer </p> </footer> Accessibility Summit 2014 18
  • 19. Use header  Original  HTML5 <h1> My Newsletter </h1> <div> <form> <label for="search">Search: </label> <input type="text" id="search”> <input type="submit" value="Go"> </form> </div> <header> <h1> My Newsletter </h1> <section> <form action="#"> <label for="search">Search: </label> <input type="text" id="search"> <input type="submit" value="Go"> </form> </section> </header> When <header> is NOT a descendant of an article or section the default role=banner See http://www.w3.org/html/wg/drafts/html/CR/dom.html#wai-aria Accessibility Summit 2014 19
  • 20. Use section, article, aside  Original  HTML5 <div> <h2> Top Stories</h2> <h3> Story 1 </h3> <p>Here is the first top story</p> <p><a href="moreStory1.html"> More info about top story 1</a> </p> <h3> Story 2 </h3> <p>Here is the next top story</p> <p><a href="moreStory2.html"> More info about top story 2</a> </p> <h3> Story 3 </h3> <p>Here is the next top story</p> </div> <section> <header> <h2> Top Stories</h2></header> <article> <header> <h3> Story 1 </h3></header> <p>Here is the first top story</p> <aside> <p> <a href="moreStory1.html"> More info about top story 1</a> </p> </aside> </article> …. other articles </section> Accessibility Summit 2014 20
  • 21. ARIA Integration  Accessible Rich Internet Applications  Added semantics to generic HTML elements  <div role=“banner”>  Now incorporated into HTML5  <header>  Adds states and properties to elements  aria-label=“street address”  aria-required=“true”* *required attribute now included in many HTML5 elements Accessibility Summit 2014 21
  • 22. Add required Attribute <section> <header> <a name="subscribe"></a><h3>Subscribe!</h3> </header> <section> <form action="mailingList"> <label for="email">Email: </label> <input type="text" id="email" required>* <input type="submit" value="Sign me up!"> </form> </section> </section> Accessibility Summit 2014 22
  • 23. ARIA Landmarks  Search  Main <header role="banner"> <h1> My Newsletter </h1> <section role="search"> <form action="#"> <label for="search">Search: </label> <input type="text" id="search"> <input type="submit" value="Go"> </form> </section> </header> <section role="main"> <header> <a name="top"></a><h2> Top Stories</h2> </header> Accessibility Summit 2014 23
  • 24. Use ARIA Wisely  Strong Native Semantics  Example: header that is not a descendant of section or article, default native role is banner  <header role=“banner”> - not recommended*  May cause screen reader to speak banner twice  See WAI-ARIA section of HTML5 spechttp://www.w3.org/html/wg/drafts/html/CR/dom.html#sec-strong-native-semantics *Note: In the majority of cases setting an ARIA role and/or aria-* attribute that matches the default implicit ARIA semantics is unnecessary and not recommended as these properties are already set by the browser. Accessibility Summit 2014 24
  • 25. Use ARIA Wisely (2)  Implicit Native Semantics  Example: Section  default role=region  If specified, role must be one of the following: alert, alertdialog, application, contentinfo, dialog, document, log, main, marquee, region, search, status or presentation  See WAI-ARIA section of HTML5 spec http://www.w3.org/html/wg/drafts/html/CR/dom.html#sec-implicit-aria-semantics Accessibility Summit 2014 25
  • 26. Captioned Screen Reader Demo  Flash Version  SimpleNewsletterHTML5.flv  Web Version  http://www.weba11y.com/Examples/HTML5A11y/Capti onDemo2.html SimpleNewsletterARIA.html Accessibility Summit 2014 26
  • 27. Figure & Figcaption Elements  figure identifies stand-alone content (that may be) referenced from the main body of work  illustrations  diagrams  image(s)  code listings  figcaption provides the description Accessibility Summit 2014 27
  • 28. Figure & Figcaption Example figureExample1.html Accessibility Summit 2014 28
  • 29. Figure & Figcaption Code 1 <p>The Three Stooges were an American vaudeville and comedy act of the mid&dash;20th century best known for their numerous short subject films, still syndicated to television. Their hallmark was physical farce and slapstick. <a href="#fig1">Figure 1 </a>shows the original 3 Stooges. </p> <figure id="fig1"> <img src="../images/Souptonuts.jpg"> <figcaption>Figure 1: Shemp Howard, Moe Howard, and Larry Fine in &quot;Soup To Nuts&quot; </figcaption> </figure> Accessibility Summit 2014 29
  • 30. Figure & Figcaption Code 2 <p>Shemp left the trio and was replaced by Curly Howard, creating the most common trio as shown in <a href="#fig2">Figure 2.</a> Source: <a href="http://en.wikipedia.org/wiki/The_Three_Stooges"> Wikipedia Three Stooges Reference</a> </p> <figure id="fig2"> <img src="../images/moe.jpg?"> <img src="../images/curly.jpg"> <img src="../images/larry.jpg"> <figcaption>Figure 2: Individual photos of Moe Howard, Curly Howard, and Larry Fine<figcaption> </figure> No alt text?? See: http://html5doctor.com/html5-simplequiz-4-figures-captions-and- alt-text/ Accessibility Summit 2014 30
  • 31. New input Types  Color  date  Datetime*  email  Month*  number  range  search  tel  time  url  Week* *Removed from 5 but remain in 5.1 Accessibility Summit 2014 31
  • 32. New input Attributes  autocomplete  autofocus  autosave  list  max/min/step  maxlength  pattern  required  spellcheck Accessibility Summit 2014 32
  • 33. Windows Browser Demo Firefox 31 Chrome 37.0.2062.94 newInputTypes.html Both flag errors on form submission Accessibility Summit 2014 33
  • 34. Mobile Support for Input Types ASUS TF300T Android 4.2.1 Chrome  Interactive Keyboards  email - / _ @ .com  url - : _ / .com  tel – number pad  number (check phone)  date, time, month  color  week iPhone 4S iOS 7.1.2, iPad 2 iOS7.1.1  Interactive keyboards  email – _123 @ . _ -  url - @123 . / .com : _ -  tel – number pad numbers  number - symbol keyboard  date, time, month Accessibility Summit 2014 34
  • 35. ASUS Color Picker Accessibility Summit 2014 35
  • 36. ASUS Date & Week Accessibility Summit 2014 36
  • 37. iPad Date & Month Accessibility Summit 2014 37
  • 38. iPad Email & URL Accessibility Summit 2014 38
  • 39. iPhone 4S Email & URL Accessibility Summit 2014 39
  • 40. iPhone Date & Number Accessibility Summit 2014 40
  • 41. Audio & Video Elements  Natively play audio and video files  No plug-ins required  Browser provides the (accessible) UI  Opportunity for  synchronized captions  Audio descriptions  Sign language  JavaScript APIs  Format compatibility issues across browsers Accessibility Summit 2014 41
  • 42. Audio Format Support  Taken from: http://www.w3schools.com/html/html5_audio.asp Browser MP3 Wav Ogg IE ✔ ✖ ✖ Chrome ✔ ✔ ✔ Firefox ✔ ✔ ✔ Safari ✔ ✔ ✖ Opera ✖ ✔ ✔ Accessibility Summit 2014 42
  • 43. Audio Example <p>A refreshing sound to many....</p> <audio autoplay controls> <source src="beer.ogg" type=“audio/ogg” /> <source src="beer.mp3” type=“audio/mpeg” /> <source src="beer.wav” type=“audio/wav” /> </audio> <p>a beer being opened!</p> Firefox Chrome audioExample.html IE 11 Accessibility Summit 2014 43
  • 44. Video Format Support  Subject change  Taken from: HTML5 Video Guide - All You Need to Know for 2014 Browser MP4 WEBM Ogv IE ✔ ✖ ✖ Chrome ✔ ✔ ✔ Firefox ✖ ✔ ✔ Safari ✔ ✖ ✖ Opera ✖ ✔ ✔ Accessibility Summit 2014 44
  • 45. Simple Video Example <video controls> <source src="small.mp4” type=“video/mp4” /> <source src="small.ogv" type=“video/ogg” /> </video> videoExample.html Firefox Accessibility Summit 2014 45
  • 46. Subtitles Example  Internet Explorer Dev Center  Basic timed text track example  Uses webVTT file  See HTML5 Doctor - Video Subtitling and WebVTT <video controls autoplay loop> <source src="video.mp4" type="video/mp4"> <track id="enTrack" src="entrack.vtt" label="English" kind="subtitles” srclang="en" default> <track id="esTrack" src="sptrack.vtt" label="Spanish" kind="subtitles" srclang="es”> <track id="deTrack" src="detrack.vtt" label="German" kind="subtitles" srclang="de”> HTML5 video not supported </video> Accessibility Summit 2014 46
  • 47. Sample WebVTT File WEBVTT 00:00:00.400 --> 00:00:01.070 simple new 00:00:01.940 --> 00:00:03.690 simple newsletter Mozilla Firefox 00:00:03.859 --> 00:00:04.770 simple newsletter 00:00:04.800 --> 00:00:06.690 page has 6 headings and 7 links 00:00:07.144 --> 00:00:09.784 simple newsletter heading level 1 My Newsletter search Accessibility Summit 2014 47
  • 48. Example of Multiple Tracks (IE) Accessibility Summit 2014 48
  • 49. HTML5 Accessibility Review  Improved Semantics  ARIA integration  figure & figcaption elements  New input types & attributes  Embedded audio and video Make use of them! Accessibility Summit 2014 49

Notes de l'éditeur

  1. Partial screen shot of the HTML5Accessibility.com page showing the HTML5 Accessibility support score for: Chrome: 67/100 Firefox: 88.5/100 IE: 37/100
  2. Table of browser support for different formats repeated here in text format: IE supports MP3; does not support wav and ogg Chrome and Firefox support MP3,Wav, Ogg Safari supports MP3, Wav; does not support ogg Opera supports Wav, Ogg; does not support wav
  3. Table of browser support for different formats repeated here in text format. IE and Safari support MP4; do not support webm and ogv Chrome supports MP4,WEBM, Ogv Firefox and Opera support WEBM, Ogv; do not support mp4