Becky Gibson Sr. Technical Staff Member IBM Emerging HTML5 Accessibility.

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

MMDE5011 – INTERACTIVE MEDIA PRACTICE 1 WEEK 1: INTRODUCTION TO HTML5
New Semantic Elements (Part 2)
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
More CSS - Page layout + HTML5 new features Boriana Koleva Room: C54
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML 5. What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in The web has changed.
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
HTML 5 Tutorial Chapter 1 Introduction. What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML.
Browser Toolbars You Shouldn’t Do Without How the WAT and WDT Can Help You Design Accessible Websites.
HTML Advanced: HTML 5. Welcome This slideshow presentation is designed to introduce you to HTML 5. It is the third of three HTML workshops available at.
Lecture 18. HTML5 and JavaScript Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell Exploring the Internet,
Chapter 1 Getting Started With Dreamweaver. Explore the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Chapter 14 Introduction to HTML
Universal Media Player Terrill (UMP)
  Just another way to collect pieces together (like div, section)  Anything can be in there  Formatting just like all other elements.
Scripted, Tab Accessible Tree Control Hierarchical view of data via tree control. Keyboard Navigation from initially closed tree to view above with focus.
Session: 11. © Aptech Ltd. 2HTML5 Audio and Video / Session 11  Describe the need for multimedia in HTML5  List the supported media types in HTML5 
HTML5. What is HTML5? HTML5 will be the new standard for HTML. HTML5 is the next generation of HTML. HTML5 is still a work in progress. However, the major.
An Introduction to WAI-ARIA Dan Jackson Web Team Leader City University London.
HTML5 Accessibility Ted Drake, Yahoo! Accessibility Lab Slideshare.net/7mary4.
SIG WEB January 31, 3PM. What is HTML5? What it is: Allows for better intergration of media consumption. A new open standard Provides new APIs.
Building the User Interface by Using HTML5: Organization, Input, and Validation Lesson 3.
Real World Accessibility Becky Gibson Dojo Accessibility Lead IBM Web Accessibility Architect.
Lesson 4: Using HTML5 Markup.  The distinguishing characteristics of HTML5 syntax  The new HTML5 sectioning elements  Adding support for HTML5 elements.
ARIA + HTML5 Steve Faulkner & Hans Hillen The Paciello Group.
Creating Effective School and PTA Websites Sam Farnsworth Utah PTA Technology Specialist
Week 8 – Part 3 More on Links, Layout, and Mobile Key Concepts 1.
HTML Advanced: HTML 5. Introduction to HTML 5 These slides are based on source material found at the w3schools.com website.
Copyright © 2013 MyGraphicsLab / Pearson Education STRUCTURE AND HTML TAGS MyGraphicsLab: Adobe Dreamweaver CS6 ACA Certification Preparation for Web Communication.
The New Elements © Main Menu Structure Media Canvas Form Click on one of the categories below to view information about the new HTML5 elements in.
HTML5 Sections Old structuring elements –body, div, address, blockquote –headings: h1, h2, h3, … –ul, ol, table New structuring elements –header, footer,
 Remember that HTML is just text  Need to point to pictures  Use the img tag  alt: › screen reader › REQUIRED for this class and to validate.
WEB ACCESSIBILITY. WHAT IS IT? Web accessibility means that people with disabilities can use the Web. Web accessibility encompasses all disabilities that.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
Internet & World Wide Web How to Program, 5/e. Copyright © Pearson, Inc All Rights Reserved.2 Revised by Dr. T. Tran for CSI3140.
Chapter 1 Getting Started With Dreamweaver. Exploring the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Week 8.  Form controls  Accessibility with ARIA.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring Forms, HTML5 layout.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring Forms, HTML5 layout.
HTML5 Introduction to Web Programming. Plan of the course HTML5 Structure of a document Main HTML Tags –Headings –Paragraphs –Links –Tables –Forms –Images.
2.4. Choose and configure HTML5 tags to organize content and forms Choose and configure HTML5 tags for input and validation. Building the User Interface.
INT222 – Internet Fundamentals Week 8: Using New HTML features 1.
Sitecore Basic Training Drexel’s full-featured web content management system (CMS) Web Support Information Resources & Technology (IRT)
Sitecore Basic Training Drexel’s full-featured web content management system (CMS) Web Support Information Resources & Technology (IRT)
Sitecore Basic Training Drexel’s full-featured web content management system (CMS) Web Support Information Resources & Technology (IRT)
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
Sitecore Basic Training Content Management System (CMS) University Communications Web Services
HTML5 Semantic
Chapter 9 HTML 5 Video and Audio
Web Services University Communications
HTML CS 4640 Programming Languages for Web Applications
Compatible with the latest browsers; Chrome, Safari, Firefox, Opera and Internet Explorer 9 and above.
Chapter 7 Absolute/relative hyperlinks Frag id 3-column site
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
PPT By:Gaurav Jaiswal Singsys Pte. Ltd.
Chapter 4: HTML5 Media - <video> & <audio>
HTML 5 Tutorial Chapter 1 Introduction.
Chapter 3 Introduction to HTML5: Part 2
IS333: MULTI-TIER APPLICATION DEVELOPMENT
What Designers Need to Know about Accessibility (A11y)
HTML 5 Training HTML 5 SYMANTICS [Notes to trainer:
Demystifying Web Content Accessibility Guidelines
Creating a Basic Web Page using HTML
HTML5 - 2 Forms, Frames, Graphics.
WordPress Unit Web Coordinators
4.00 Apply procedures to add content by using Dreamweaver. (22%)
HTML CS 4640 Programming Languages for Web Applications
Presentation transcript:

Becky Gibson Sr. Technical Staff Member IBM Emerging HTML5 Accessibility

Agenda Status of HTML5 Basic HTML Accessibility New Semantic Elements Integrating ARIA New Input Elements and Attributes figure and figcaption Elements Media support Summary AccessU

Status of HTML5 Reached W3C recommendation status in 2014! HTML5.1 is expected in Q  Additional elements  Table sorting  New APIs AccessU

Does HTML5 Require Extra Work? How different is it from HTML 4? Can I still use HTML4? Why should I use it? How well is it supported? AccessU

HTML5accessiblity.com AccessU

Basic HTML5 Accessibility Semantic HTML Alt text on images Labels on form elements AccessU

Semantic HTML Topics AccessU

Bad Header example AccessU

Good Header Example AccessU

Alt text on images Add alt text to meaningful images Empty alt text if decorative (gratuitous image) AccessU

Label Form Elements element with for attribute Alternatives if the designer insists on no visible text Address: or AccessU

New Semantic Elements AccessU

Completed Example AccessU

Simple Starting Point AccessU

Screen Reader Demo 1SimpleNewsletterHTML4.html AccessU

Warning: Code Ahead! AccessU

Starting Point SimpleNewsletter.html HTML 4 Styled Incomplete semantics Top Stories Story 1 Here is the first top story More info about top story 1 Story 2 Here is the next top story More info about top story 2 Story 3 Here is the next top story AccessU

Simple Changes Change DOCTYPE Add and Add Add,, and AccessU

Changing the DOCTYPE is Easy! Original HTML5 AccessU

Use Header AccessU

Use Header Original Code HTML5 Code My Newsletter Search: My Newsletter Search: When is NOT a descendant of an article or section the default role=banner See AccessU

Nav AccessU

Use Nav Original Code HTML5 Code Top Stories Events Photos Archives Subscribe Top Stories Events Photos Archives Subscribe AccessU

Footer AccessU

Use Footer Original Code HTML5 Code Footer Footer AccessU

Use Section, Article and Aside AccessU

Section, Article, and Aside Section  The section element represents a generic section of a document or application. Article  The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. Aside  The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Info copied directly from the W3C HTML5 Specification AccessU

Use Section, Article, and Aside Original Code HTML5 Code Top Stories Story 1 Here is the first top story More info about story 1 Story 2 Here is the next story More info about story 2 Story 3 Here is the next story Top Stories Story 1 Here is the first story More info about story 1 Story 2 Here is the next story // Other stories go here // end of Stories section AccessU

Review Semantic Changes 2SimpleNewsletterHTML5Demo.html AccessU

Questions so far? AccessU

ARIA Integration Accessible Rich Internet Applications Added semantics to generic HTML elements  Now incorporated into HTML5  Adds states and properties to elements  aria-label=“street address”  aria-required=“true”* *required attribute now included in many HTML5 elements AccessU

Add Required Attribute Subscribe! * AccessU

ARIA Landmarks List of landmarks  application, banner, complementary, contentinfo, form, main, navigation, search Provide programmatic access to sections of page Helpful for screen reader navigation  Removes the requirement for skip links Add search and main role into our example AccessU

Add Search and Main Role Search Main My Newsletter Search: Top Stories AccessU

Use ARIA wisely Strong Native Semantics  Example: header that is not a descendant of section or article, default native role is banner - not recommended*  May cause screen reader to speak banner twice See WAI-ARIA section of HTML5 specWAI-ARIA section of HTML5 *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. AccessU

ARIA Changes 3SimpleNewsletterARIADemo.html AccessU

Add Styling and Content 4StyledNewsletterDemo.html AccessU

Questions? AccessU

More New Stuff! AccessU

HTML5 new input types Coming in HTML5.1 color date number range search tel time url contextmenu datetime dialog menu menuitem month week New Elements AccessU

New Input Attributes autocomplete autofocus autosave list max/min/step maxlength pattern required spellcheck AccessU

Why are these good for A11y? Built-in keyboard support Some restriction of input Visual Feedback on format error when submit Easier mobile input Some announcements of type by screen reader AccessU

Firefox Chrome Windows Browser Demo AccessU newInputTypes.html

iPad iPad url Mobile Keyboard Changes 1 AccessU

iPhone iOS iPhone iOS url Mobile Keyboard Changes 2 AccessU

Mobile Browser Demo InputTypeDemo.html AccessU

iPhone tel iPhone number Mobile Keyboard Changes 3 AccessU

Figure and Figcaption 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 AccessU

Figure and Figcaption Example figureExample1.html AccessU

Figure & Figcaption Code 1 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. Figure 1 shows the original 3 Stooges. Figure 1: Shemp Howard, Moe Howard, and Larry Fine in "Soup To Nuts" AccessU

Figure & Figcaption Code 2 Shemp left the trio and was replaced by Curly Howard, creating the most common trio as shown in Figure 2. Source: Wikipedia Three Stooges Reference Figure 2: Individual photos of Moe Howard, Curly Howard,and Larry Fine AccessU

Figure demo figureExampleDemo.html imageWithAltDemo.html AccessU

Media Support Native and elements No plug-ins required Browser provides the (accessible) UI Opportunity for  synchronized captions  Audio descriptions  Sign language JavaScript APIs Format incompatibility across browsers AccessU

Audio Format Support Taken from w3cSchools.com HTML5 Audiow3cSchools.com HTML5 Audio BrowserMP3WavOgg IE ✔✖✖ Chrome ✔✔✔ Firefox ✔✔✔ Safari ✔✔✖ Opera ✔✔✔ AccessU

Audio Example A refreshing sound to many.... Your browser does not support the audio element a beer being opened! audioExample.html Firefox Chrome IE 11 AccessU

Video Format Support Taken from w3cSchools.com HTML5 Videow3cSchools.com HTML5 Video BrowserMP4WEBMOgv IE ✔✖✖ Chrome ✔✔✔ Firefox ✖✔✔ Safari ✔✖✖ Opera ✔✔✔ AccessU

Video example Your browser does not support the video element videoExample.html Firefox AccessU

Adding Subtitles Uses webVTT file  See HTML5 Doctor - Video Subtitling and WebVTTVideo Subtitling and WebVTT <track default label="English" kind="subtitles” srclang="en-US" id="englishTrack” src="ReadiumFirefoxJAWS.vtt"> Your browser does not support the video element AccessU

Subtitles Example See: AccessU

Support for Multiple Text Tracks Data from Ian Devlin’s HTML5 Video Captions – Current Browser StatusHTML5 Video Captions – Current Browser Status All tracks accessible via JavaScript BrowserTrack MenuDefault IE ✔ Loads Default Chrome ✖ Loads matching language or default Firefox ✖ Loads 1 st if default Safari ✔ Loads Default Opera ✖ Loads matching language or default AccessU

Accessibility of Media Controls Keyboard accessibility of media controls Tested in Windows 7 BrowserAudioVideo IE 11 ✔✔ Chrome ✔✔ Firefox Poor focus, specific key combinations needed Poor visible focus, specific key combinations needed Safari (OS X ) Via VoiceOver Opera ✔✔ AccessU

Finished AccessU

We Made it! AccessU

Summary New Semantic Elements ARIA Integration New input elements and attributes figure and figcaption elements Media elements Questions? AccessU

References W3C HTML5 Specification  What are the Differences Between HTML5 and HTML 5.1?  WAI-ARIA section of HTML5 specification  w3cSchools.com HTML5 Audio and Video   HTML5 Video Captions – Current Browser Statushttp:// captions-current-browser-statushttp:// captions-current-browser-status HTML5 audio and video keyboard controls in Firefox  US&redirectslug=viewing-html5-audio-and-video#w_keyboard-controls US&redirectslug=viewing-html5-audio-and-video#w_keyboard-controls Video Subtitling and WebVTT  AccessU