SlideShare uma empresa Scribd logo
1 de 35
Opera Software
The best browsing experience on any device




                        The best Internet experience on any device
Bruce Lawson

Open Web Standards Evangelist, Opera
Tech lead Solicitors Regulation Authority 2004-08
Co-author, editor “Web Accessibility: Web Standards and
Regulatory Compliance” 2006
Web Standards Project: accessibility task force
W3C: Mobile Best Practices Working Group
B.A., English Language and Literature with Drama
Limey
Evil browser vendors dominate
Hello tag soup, goodbye XML




          5434298386770700
Kills Flash/ Silverlight/ JS
It will break the intertubes
It hates accessibility
Can't use it until [insert date]
More semantics for structure
Styling HTML 5
Good browsers just work, with a
hint or two:
header
{display:block;}
http://www.whatwg.org/specs/web-apps/current-work/multipage/
 rendering.html
Naughty browsers
IE – needs JavaScript
 document.createElement('header')

Firefox 2, Camino 1.x
 Content-Type: application/xhtml+xml;

http://html5doctor.com/how-to-get-html5-working-in-ie-and-
 firefox-2/
After
HTML 5/ ARIA overlaps
<header> sometimes = role=”banner”
<footer> is sometimes role=”contentinfo”
<nav> is usually role=”menu”
In forms (next slide) required is aria-required=”true”
Draggable attribute matches aria-draggable
Validator.nu validates ARIA and HTML 5

Hixie: “When there’s a built-in way to do something, using that
is the simplest and most reliable solution.”

Me: “Do both, for now”
HTML 5/ ARIA: future
“ the plan is to make sure ARIA and HTML 5 work well together.
Right now I’m waiting for ARIA to be complete ... and for the
ARIA implementation rules to be clearer (it’s not yet obvious as
I understand it what should happen when ARIA says a
checkbox is a radio button, for instance).

Once that is cleared up, I expect HTML 5 will give a list of
conformance criteria saying where ARIA attributes can be used
and saying how they should be implemented in browsers.”
http://www.webstandards.org/2009/05/13/interview-with-ian-hickson-editor-of-the-html-5-
specification/
Structural HTML 5: <section>

The section element represents a generic document or application
 section. A section, in this context, is a thematic grouping of
 content, typically with a header, possibly with a footer.

Examples of sections would be chapters, the various tabbed pages
 in a tabbed dialog box, or the numbered sections of a thesis.


A Web site's home page could be split into sections for an
 introduction, news items, contact information.
Why not use <section> for main
          content?
<section>
<h1>I'm a heading</h1>

<section>
<h1>And I'm a heading</h1>
   <section>
     <h1>I'm a heading too</h1>
       <article>
        <h1>And me! And me!</h1>
       </article>
   </section>
</section>
Use <section> before headings
<section> rule of thumb


Bruce's rule of thumb:
Before a heading, use the most appropriate
 of <article>, <nav>, <aside>, <header>. If
 none are appropriate, use <section>
Don't go mad with the sectioning elements.
<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. Such sections are often represented as sidebars in
printed typography.

The element can also be used for typographical effects like pull
quotes.
<figure>
“The figure element represents some flow content, optionally with a
caption ... used to annotate illustrations, diagrams, photos, code
listings, etc, that are referred to from the main content of the
document”
      <figure>
      <img src=”bruce.png” alt=””>
      <legend>Bruce Lawson in summer balldress
      <small>Photo copyright Bruce's mum</small>
      </legend>
      </figure>
Example of <figure>




Bruce Lawson in summer balldress
          Photo copyright Bruce's mum
<time>
Microformats mis-used <abbr> for times:
<abbr title="20070312T1700-06">
 March 12, 2007 at 5 PM, Central Standard Time
</abbr>

JAWS: “Twenty million seventy-thousand three-hundred twelve
tee seventeen-hundred dash zero six”
http://www.webstandards.org/2007/04/27/haccessibility/


<time datetime=”2007-03-12T17:00-06”> March 12,
2007 at 5 PM, Central Standard Time</time>
HTML 5- forms
Do what people really need to do without scripting, so ...

easier to write
controls look the same across web sites
less to download
built-in validation

(demo http://people.opera.com/brucel/demo/html5-forms-
demo.html)
Video (currently)
<object width="425" height="344">
<param name="movie"
  value="http://www.youtube.com/v/LtfQg4KkR88&hl=en
  &fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<embed
  src="http://www.youtube.com/v/LtfQg4KkR88&hl=en&f
  s=1" type="application/x-shockwave-flash"
allowfullscreen="true" width="425"
  height="344"></embed>
</object>
Video (future)
<video src="video.ogv"
  controls
  autoplay
  poster="poster.jpg"
  width="320" height="240">
    <a href="video.ogv">Download movie</a>
</video>

Demos http://people.opera.com/brucel/demo/video-demos.html
Video politics
Accessibility
Most Video is not free to make or use
Ogg/Theora is (but unsupported by Apple, IE)
OMS video
 http://blogs.sun.com/openmediacommons/entry/oms_video_a_project_of
Video impasse:
   http://www.brucelawson.co.uk/2009/impasse-on-html-5-video/
HTML 5 - <canvas>
Dynamic graphics using scripting (usually JavaScript)
First implemented by Apple, now in most browsers
Accessibility!

Demo http://people.opera.com/brucel/demo/canvas/index.html
Importance
(diagram: Steve Faulkner, The Paciello Group)
Where the action has been
          alt
.. and more
Datagrid
Drag and drop API
Local storage API
Offline apps (manifest)
Cross-window messaging
Cross-site messaging
Thank you!
  brucel@opera.com, http://dev.opera.com

 www.brucelawson.co.uk, twitter.com/brucel

www.html5doctor.com, www.html5demos.com

Mais conteúdo relacionado

Mais procurados

Getting started with WordPress development
Getting started with WordPress developmentGetting started with WordPress development
Getting started with WordPress developmentSteve Mortiboy
 
How does get template part works in twenty ten theme
How does get template part works in twenty ten themeHow does get template part works in twenty ten theme
How does get template part works in twenty ten thememohd rozani abd ghani
 
Creating Themes
Creating ThemesCreating Themes
Creating ThemesDaisyOlsen
 
Theming in WordPress - Where do I Start?
Theming in WordPress - Where do I Start?Theming in WordPress - Where do I Start?
Theming in WordPress - Where do I Start?Edmund Turbin
 
Installing And Configuration for your Wordpress blog
Installing And Configuration for your Wordpress blogInstalling And Configuration for your Wordpress blog
Installing And Configuration for your Wordpress blogigorgentry
 
Child Themes in WordPress
Child Themes in WordPressChild Themes in WordPress
Child Themes in WordPressJeff Cohan
 
The Battle For The Body Field
The Battle For The Body FieldThe Battle For The Body Field
The Battle For The Body FieldJeff Eaton
 
WordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 NepalWordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 NepalChandra Prakash Thapa
 
Administrators admin tips tricks and hacks presented by an ex-googler
Administrators admin tips tricks and hacks presented by an ex-googlerAdministrators admin tips tricks and hacks presented by an ex-googler
Administrators admin tips tricks and hacks presented by an ex-googlerzpurcey
 
WordPress Theme Development for Designers
WordPress Theme Development for DesignersWordPress Theme Development for Designers
WordPress Theme Development for Designerselliotjaystocks
 
Custom WordPress theme development
Custom WordPress theme developmentCustom WordPress theme development
Custom WordPress theme developmentTammy Hart
 
Using composer with WordPress
Using composer with WordPressUsing composer with WordPress
Using composer with WordPressMicah Wood
 
Deliverance talk at plone meetup
Deliverance talk at plone meetupDeliverance talk at plone meetup
Deliverance talk at plone meetupJazkarta, Inc.
 
Automating Google Lighthouse
Automating Google LighthouseAutomating Google Lighthouse
Automating Google LighthouseHamlet Batista
 
Tour of sh404SEF - SEO and security for Joomla
Tour of sh404SEF - SEO and security for JoomlaTour of sh404SEF - SEO and security for Joomla
Tour of sh404SEF - SEO and security for Joomlavdrover
 
WordPress Theme Development: Part 2
WordPress Theme Development: Part 2WordPress Theme Development: Part 2
WordPress Theme Development: Part 2Josh Lee
 
Python beautiful soup - bs4
Python beautiful soup - bs4Python beautiful soup - bs4
Python beautiful soup - bs4Eueung Mulyana
 
WordPress Server Security
WordPress Server SecurityWordPress Server Security
WordPress Server SecurityPeter Baylies
 

Mais procurados (20)

Getting started with WordPress development
Getting started with WordPress developmentGetting started with WordPress development
Getting started with WordPress development
 
How does get template part works in twenty ten theme
How does get template part works in twenty ten themeHow does get template part works in twenty ten theme
How does get template part works in twenty ten theme
 
Creating Themes
Creating ThemesCreating Themes
Creating Themes
 
What is (not) WordPress
What is (not) WordPressWhat is (not) WordPress
What is (not) WordPress
 
Theming in WordPress - Where do I Start?
Theming in WordPress - Where do I Start?Theming in WordPress - Where do I Start?
Theming in WordPress - Where do I Start?
 
Installing And Configuration for your Wordpress blog
Installing And Configuration for your Wordpress blogInstalling And Configuration for your Wordpress blog
Installing And Configuration for your Wordpress blog
 
Child Themes in WordPress
Child Themes in WordPressChild Themes in WordPress
Child Themes in WordPress
 
The Battle For The Body Field
The Battle For The Body FieldThe Battle For The Body Field
The Battle For The Body Field
 
WordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 NepalWordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 Nepal
 
Joomla Technical SEO
Joomla Technical SEOJoomla Technical SEO
Joomla Technical SEO
 
Administrators admin tips tricks and hacks presented by an ex-googler
Administrators admin tips tricks and hacks presented by an ex-googlerAdministrators admin tips tricks and hacks presented by an ex-googler
Administrators admin tips tricks and hacks presented by an ex-googler
 
WordPress Theme Development for Designers
WordPress Theme Development for DesignersWordPress Theme Development for Designers
WordPress Theme Development for Designers
 
Custom WordPress theme development
Custom WordPress theme developmentCustom WordPress theme development
Custom WordPress theme development
 
Using composer with WordPress
Using composer with WordPressUsing composer with WordPress
Using composer with WordPress
 
Deliverance talk at plone meetup
Deliverance talk at plone meetupDeliverance talk at plone meetup
Deliverance talk at plone meetup
 
Automating Google Lighthouse
Automating Google LighthouseAutomating Google Lighthouse
Automating Google Lighthouse
 
Tour of sh404SEF - SEO and security for Joomla
Tour of sh404SEF - SEO and security for JoomlaTour of sh404SEF - SEO and security for Joomla
Tour of sh404SEF - SEO and security for Joomla
 
WordPress Theme Development: Part 2
WordPress Theme Development: Part 2WordPress Theme Development: Part 2
WordPress Theme Development: Part 2
 
Python beautiful soup - bs4
Python beautiful soup - bs4Python beautiful soup - bs4
Python beautiful soup - bs4
 
WordPress Server Security
WordPress Server SecurityWordPress Server Security
WordPress Server Security
 

Destaque

Guest lecture at Singapore Institute of Management - July 2015
Guest lecture at Singapore Institute of Management - July 2015Guest lecture at Singapore Institute of Management - July 2015
Guest lecture at Singapore Institute of Management - July 2015Edo van Dijk
 
Edenspiekermann overzicht 2014 (in Dutch)
Edenspiekermann overzicht 2014 (in Dutch)Edenspiekermann overzicht 2014 (in Dutch)
Edenspiekermann overzicht 2014 (in Dutch)Edo van Dijk
 
NS/ProRail - Improving safety and comfort on train platforms
NS/ProRail - Improving safety and comfort on train platformsNS/ProRail - Improving safety and comfort on train platforms
NS/ProRail - Improving safety and comfort on train platformsEdo van Dijk
 
Edld 5352 Lrpt Power Point
Edld 5352 Lrpt Power PointEdld 5352 Lrpt Power Point
Edld 5352 Lrpt Power PointCaroline Lee
 
Pakke Analyse (Sikkerhet)
Pakke Analyse (Sikkerhet)Pakke Analyse (Sikkerhet)
Pakke Analyse (Sikkerhet)aamodt
 
Edenspiekermann agency presentation 2012
Edenspiekermann agency presentation 2012Edenspiekermann agency presentation 2012
Edenspiekermann agency presentation 2012Edo van Dijk
 
Sterke en innovatieve merkervaringen bouwen
Sterke en innovatieve merkervaringen bouwenSterke en innovatieve merkervaringen bouwen
Sterke en innovatieve merkervaringen bouwenEdo van Dijk
 
The Amsterdam Style: the next step
The Amsterdam Style: the next stepThe Amsterdam Style: the next step
The Amsterdam Style: the next stepEdo van Dijk
 
The Here-Now Generation
The Here-Now GenerationThe Here-Now Generation
The Here-Now GenerationEdo van Dijk
 
Guest Lecture at HKU University of the Arts Utrecht
Guest Lecture at HKU University of the Arts UtrechtGuest Lecture at HKU University of the Arts Utrecht
Guest Lecture at HKU University of the Arts UtrechtEdo van Dijk
 
Branding and Design Driven Innovation
Branding and Design Driven InnovationBranding and Design Driven Innovation
Branding and Design Driven InnovationEdo van Dijk
 
IP tables
IP tablesIP tables
IP tablesaamodt
 
Survey on Perceptions of Scented Stores
Survey on Perceptions of Scented StoresSurvey on Perceptions of Scented Stores
Survey on Perceptions of Scented StoresPedro Ferreira
 
Getting rid of plastic bags in Singapore
Getting rid of plastic bags in SingaporeGetting rid of plastic bags in Singapore
Getting rid of plastic bags in SingaporeEdo van Dijk
 
Redefining the Amsterdam City Brand
Redefining the Amsterdam City BrandRedefining the Amsterdam City Brand
Redefining the Amsterdam City BrandEdo van Dijk
 
2011 03 07 Convaincre et fidéliser la clientèle en optimisant son site web - ...
2011 03 07 Convaincre et fidéliser la clientèle en optimisant son site web - ...2011 03 07 Convaincre et fidéliser la clientèle en optimisant son site web - ...
2011 03 07 Convaincre et fidéliser la clientèle en optimisant son site web - ...COMPETITIC
 
Competitic - visibilité sur le web - numerique en entreprise
Competitic - visibilité sur le web - numerique en entrepriseCompetitic - visibilité sur le web - numerique en entreprise
Competitic - visibilité sur le web - numerique en entrepriseCOMPETITIC
 
Competitic Optimisez votre référencement naturel - numerique en entreprise
Competitic Optimisez votre référencement naturel - numerique en entrepriseCompetitic Optimisez votre référencement naturel - numerique en entreprise
Competitic Optimisez votre référencement naturel - numerique en entrepriseCOMPETITIC
 

Destaque (20)

Riadhus solihin bab 241
Riadhus solihin bab 241Riadhus solihin bab 241
Riadhus solihin bab 241
 
Guest lecture at Singapore Institute of Management - July 2015
Guest lecture at Singapore Institute of Management - July 2015Guest lecture at Singapore Institute of Management - July 2015
Guest lecture at Singapore Institute of Management - July 2015
 
Edenspiekermann overzicht 2014 (in Dutch)
Edenspiekermann overzicht 2014 (in Dutch)Edenspiekermann overzicht 2014 (in Dutch)
Edenspiekermann overzicht 2014 (in Dutch)
 
NS/ProRail - Improving safety and comfort on train platforms
NS/ProRail - Improving safety and comfort on train platformsNS/ProRail - Improving safety and comfort on train platforms
NS/ProRail - Improving safety and comfort on train platforms
 
Kisah abu yazid dan siti dinar show
Kisah abu yazid dan siti dinar showKisah abu yazid dan siti dinar show
Kisah abu yazid dan siti dinar show
 
Edld 5352 Lrpt Power Point
Edld 5352 Lrpt Power PointEdld 5352 Lrpt Power Point
Edld 5352 Lrpt Power Point
 
Pakke Analyse (Sikkerhet)
Pakke Analyse (Sikkerhet)Pakke Analyse (Sikkerhet)
Pakke Analyse (Sikkerhet)
 
Edenspiekermann agency presentation 2012
Edenspiekermann agency presentation 2012Edenspiekermann agency presentation 2012
Edenspiekermann agency presentation 2012
 
Sterke en innovatieve merkervaringen bouwen
Sterke en innovatieve merkervaringen bouwenSterke en innovatieve merkervaringen bouwen
Sterke en innovatieve merkervaringen bouwen
 
The Amsterdam Style: the next step
The Amsterdam Style: the next stepThe Amsterdam Style: the next step
The Amsterdam Style: the next step
 
The Here-Now Generation
The Here-Now GenerationThe Here-Now Generation
The Here-Now Generation
 
Guest Lecture at HKU University of the Arts Utrecht
Guest Lecture at HKU University of the Arts UtrechtGuest Lecture at HKU University of the Arts Utrecht
Guest Lecture at HKU University of the Arts Utrecht
 
Branding and Design Driven Innovation
Branding and Design Driven InnovationBranding and Design Driven Innovation
Branding and Design Driven Innovation
 
IP tables
IP tablesIP tables
IP tables
 
Survey on Perceptions of Scented Stores
Survey on Perceptions of Scented StoresSurvey on Perceptions of Scented Stores
Survey on Perceptions of Scented Stores
 
Getting rid of plastic bags in Singapore
Getting rid of plastic bags in SingaporeGetting rid of plastic bags in Singapore
Getting rid of plastic bags in Singapore
 
Redefining the Amsterdam City Brand
Redefining the Amsterdam City BrandRedefining the Amsterdam City Brand
Redefining the Amsterdam City Brand
 
2011 03 07 Convaincre et fidéliser la clientèle en optimisant son site web - ...
2011 03 07 Convaincre et fidéliser la clientèle en optimisant son site web - ...2011 03 07 Convaincre et fidéliser la clientèle en optimisant son site web - ...
2011 03 07 Convaincre et fidéliser la clientèle en optimisant son site web - ...
 
Competitic - visibilité sur le web - numerique en entreprise
Competitic - visibilité sur le web - numerique en entrepriseCompetitic - visibilité sur le web - numerique en entreprise
Competitic - visibilité sur le web - numerique en entreprise
 
Competitic Optimisez votre référencement naturel - numerique en entreprise
Competitic Optimisez votre référencement naturel - numerique en entrepriseCompetitic Optimisez votre référencement naturel - numerique en entreprise
Competitic Optimisez votre référencement naturel - numerique en entreprise
 

Semelhante a Stanford Html5talk

Responsive content
Responsive contentResponsive content
Responsive contenthonzie
 
Getting started with html5
Getting started with html5Getting started with html5
Getting started with html5Suresh Kumar
 
Speak The Web: The HTML5 Experiments
Speak The Web: The HTML5 ExperimentsSpeak The Web: The HTML5 Experiments
Speak The Web: The HTML5 Experimentsguestd427df
 
“Good design is obvious. Great design is transparent.” — How we use Bootstrap...
“Good design is obvious. Great design is transparent.” — How we use Bootstrap...“Good design is obvious. Great design is transparent.” — How we use Bootstrap...
“Good design is obvious. Great design is transparent.” — How we use Bootstrap...Roni Banerjee
 
A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3Darren Wood
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quideAshok Suragala
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quideJerry Wijaya
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quidePL dream
 
Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5Russ Weakley
 
An Introduction to HTML5
An Introduction to HTML5An Introduction to HTML5
An Introduction to HTML5Steven Chipman
 
HTML5 workshop, part 1
HTML5 workshop, part 1HTML5 workshop, part 1
HTML5 workshop, part 1Robert Nyman
 
Web Engineering Lec01-02 - Introduction to Web.pptx
Web Engineering Lec01-02 - Introduction to Web.pptxWeb Engineering Lec01-02 - Introduction to Web.pptx
Web Engineering Lec01-02 - Introduction to Web.pptxJavaid Iqbal
 
Front end full stack development module 1pptx
Front end full stack development module 1pptxFront end full stack development module 1pptx
Front end full stack development module 1pptxMaruthiPrasad96
 
HTML5 Essential Training
HTML5 Essential TrainingHTML5 Essential Training
HTML5 Essential TrainingKaloyan Kosev
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorialmadhavforu
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is nowGonzalo Cordero
 

Semelhante a Stanford Html5talk (20)

Responsive content
Responsive contentResponsive content
Responsive content
 
Getting started with html5
Getting started with html5Getting started with html5
Getting started with html5
 
Intro to html 5
Intro to html 5Intro to html 5
Intro to html 5
 
Speak The Web: The HTML5 Experiments
Speak The Web: The HTML5 ExperimentsSpeak The Web: The HTML5 Experiments
Speak The Web: The HTML5 Experiments
 
“Good design is obvious. Great design is transparent.” — How we use Bootstrap...
“Good design is obvious. Great design is transparent.” — How we use Bootstrap...“Good design is obvious. Great design is transparent.” — How we use Bootstrap...
“Good design is obvious. Great design is transparent.” — How we use Bootstrap...
 
A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3
 
Day1
Day1Day1
Day1
 
[In Control 2010] HTML5
[In Control 2010] HTML5[In Control 2010] HTML5
[In Control 2010] HTML5
 
Html5 quick learning guide
Html5 quick learning guideHtml5 quick learning guide
Html5 quick learning guide
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quide
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quide
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quide
 
Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5Three quick accessibility tips for HTML5
Three quick accessibility tips for HTML5
 
An Introduction to HTML5
An Introduction to HTML5An Introduction to HTML5
An Introduction to HTML5
 
HTML5 workshop, part 1
HTML5 workshop, part 1HTML5 workshop, part 1
HTML5 workshop, part 1
 
Web Engineering Lec01-02 - Introduction to Web.pptx
Web Engineering Lec01-02 - Introduction to Web.pptxWeb Engineering Lec01-02 - Introduction to Web.pptx
Web Engineering Lec01-02 - Introduction to Web.pptx
 
Front end full stack development module 1pptx
Front end full stack development module 1pptxFront end full stack development module 1pptx
Front end full stack development module 1pptx
 
HTML5 Essential Training
HTML5 Essential TrainingHTML5 Essential Training
HTML5 Essential Training
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is now
 

Último

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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 2024The Digital Insurer
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 

Último (20)

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

Stanford Html5talk

  • 1. Opera Software The best browsing experience on any device The best Internet experience on any device
  • 2. Bruce Lawson Open Web Standards Evangelist, Opera Tech lead Solicitors Regulation Authority 2004-08 Co-author, editor “Web Accessibility: Web Standards and Regulatory Compliance” 2006 Web Standards Project: accessibility task force W3C: Mobile Best Practices Working Group B.A., English Language and Literature with Drama Limey
  • 3.
  • 5. Hello tag soup, goodbye XML 5434298386770700
  • 7. It will break the intertubes
  • 9. Can't use it until [insert date]
  • 10. More semantics for structure
  • 11. Styling HTML 5 Good browsers just work, with a hint or two: header {display:block;} http://www.whatwg.org/specs/web-apps/current-work/multipage/ rendering.html
  • 12.
  • 13. Naughty browsers IE – needs JavaScript document.createElement('header') Firefox 2, Camino 1.x Content-Type: application/xhtml+xml; http://html5doctor.com/how-to-get-html5-working-in-ie-and- firefox-2/
  • 14.
  • 15. After
  • 16. HTML 5/ ARIA overlaps <header> sometimes = role=”banner” <footer> is sometimes role=”contentinfo” <nav> is usually role=”menu” In forms (next slide) required is aria-required=”true” Draggable attribute matches aria-draggable Validator.nu validates ARIA and HTML 5 Hixie: “When there’s a built-in way to do something, using that is the simplest and most reliable solution.” Me: “Do both, for now”
  • 17. HTML 5/ ARIA: future “ the plan is to make sure ARIA and HTML 5 work well together. Right now I’m waiting for ARIA to be complete ... and for the ARIA implementation rules to be clearer (it’s not yet obvious as I understand it what should happen when ARIA says a checkbox is a radio button, for instance). Once that is cleared up, I expect HTML 5 will give a list of conformance criteria saying where ARIA attributes can be used and saying how they should be implemented in browsers.” http://www.webstandards.org/2009/05/13/interview-with-ian-hickson-editor-of-the-html-5- specification/
  • 18. Structural HTML 5: <section> The section element represents a generic document or application section. A section, in this context, is a thematic grouping of content, typically with a header, possibly with a footer. Examples of sections would be chapters, the various tabbed pages in a tabbed dialog box, or the numbered sections of a thesis. A Web site's home page could be split into sections for an introduction, news items, contact information.
  • 19. Why not use <section> for main content?
  • 20. <section> <h1>I'm a heading</h1> <section> <h1>And I'm a heading</h1> <section> <h1>I'm a heading too</h1> <article> <h1>And me! And me!</h1> </article> </section> </section>
  • 22. <section> rule of thumb Bruce's rule of thumb: Before a heading, use the most appropriate of <article>, <nav>, <aside>, <header>. If none are appropriate, use <section> Don't go mad with the sectioning elements.
  • 23. <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. Such sections are often represented as sidebars in printed typography. The element can also be used for typographical effects like pull quotes.
  • 24. <figure> “The figure element represents some flow content, optionally with a caption ... used to annotate illustrations, diagrams, photos, code listings, etc, that are referred to from the main content of the document” <figure> <img src=”bruce.png” alt=””> <legend>Bruce Lawson in summer balldress <small>Photo copyright Bruce's mum</small> </legend> </figure>
  • 25. Example of <figure> Bruce Lawson in summer balldress Photo copyright Bruce's mum
  • 26. <time> Microformats mis-used <abbr> for times: <abbr title="20070312T1700-06"> March 12, 2007 at 5 PM, Central Standard Time </abbr> JAWS: “Twenty million seventy-thousand three-hundred twelve tee seventeen-hundred dash zero six” http://www.webstandards.org/2007/04/27/haccessibility/ <time datetime=”2007-03-12T17:00-06”> March 12, 2007 at 5 PM, Central Standard Time</time>
  • 27. HTML 5- forms Do what people really need to do without scripting, so ... easier to write controls look the same across web sites less to download built-in validation (demo http://people.opera.com/brucel/demo/html5-forms- demo.html)
  • 28. Video (currently) <object width="425" height="344"> <param name="movie" value="http://www.youtube.com/v/LtfQg4KkR88&hl=en &fs=1"></param> <param name="allowFullScreen" value="true"></param> <embed src="http://www.youtube.com/v/LtfQg4KkR88&hl=en&f s=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed> </object>
  • 29. Video (future) <video src="video.ogv" controls autoplay poster="poster.jpg" width="320" height="240"> <a href="video.ogv">Download movie</a> </video> Demos http://people.opera.com/brucel/demo/video-demos.html
  • 30. Video politics Accessibility Most Video is not free to make or use Ogg/Theora is (but unsupported by Apple, IE) OMS video http://blogs.sun.com/openmediacommons/entry/oms_video_a_project_of Video impasse: http://www.brucelawson.co.uk/2009/impasse-on-html-5-video/
  • 31. HTML 5 - <canvas> Dynamic graphics using scripting (usually JavaScript) First implemented by Apple, now in most browsers Accessibility! Demo http://people.opera.com/brucel/demo/canvas/index.html
  • 33. Where the action has been alt
  • 34. .. and more Datagrid Drag and drop API Local storage API Offline apps (manifest) Cross-window messaging Cross-site messaging
  • 35. Thank you! brucel@opera.com, http://dev.opera.com www.brucelawson.co.uk, twitter.com/brucel www.html5doctor.com, www.html5demos.com