| Contents at a Glance | 3 |
|---|
| Contents | 172 |
|---|
| About the Authors | 182 |
|---|
| About the Technical Reviewer | 183 |
|---|
| Foreword | 184 |
|---|
| Introduction | 4 |
|---|
| Chapter 1: A Somewhat Sensationalized History of HTML5 | 6 |
|---|
| How Architecture Astronauts and the W3C Tried to Kill HTML | 6 |
| You Probably Use XML | 6 |
| XHTML Is Born, But What Does It Mean? | 7 |
| Draconian Error Handling (Or: Why Don t I Just Punch You in the Face?) | 7 |
| OK, Not Really. But Your Browser Would Punch You in the Face | 8 |
| XHTML Still Meant Better HTML | 8 |
| But the Crazy Had Only Just Begun | 8 |
| XHTML 2.0: Unloved and Alone | 9 |
| HTML5: A New Hope?.?.?.?We Hope | 9 |
| The W3C Says Go to Hell | 10 |
| The WHATWG Is Born | 10 |
| It s a Whole New World | 11 |
| To HTML5 and Beyond! | 11 |
| HTML5 Is the New Black or Hotness or Something | 12 |
| Is HTML5 Hype, Substance, or Both? | 12 |
| Hixie or Bust | 12 |
| XHTML 2.0 Is Dead and Everyone Is Happy | 13 |
| HTML5?.?.?.?er?.?.?.?HTML, wait?.?.?.?HTML.next? | 13 |
| Should We Just Kill Off the W3C Altogether or Embrace It? | 14 |
| Reform | 14 |
| Destroy | 14 |
| Embrace | 15 |
| How Does New Stuff Get Added to HTML5 Now? | 15 |
| WHATWG and W3C Diversions | 16 |
| TL | DR |
| What We ll Be Focusing On | 17 |
| Chapter 2: The Truth About a Basic HTML5 Web Page | 18 |
|---|
| Formatting Changes in HTML5 | 19 |
| What About an HTML5 Shim and CSS for the New Elements? | 19 |
| What About the HTML5 Boilerplate and Modernizr ? | 20 |
| Chapter 3: The Truth About Structuring an HTML5 Page | 21 |
|---|
| A Little Taste of Pain: The Sectioning Elements | 21 |
| Where Did These Elements Come From? | 22 |
| Who Cares? | 23 |
| The Contradiction at the Heart of HTML5 s New Elements | 23 |
| Outline What? | 24 |
| What Is an Outline, and Why Should I Care? | 24 |
| How We Currently Create Outlines (Even Without Realizing It) | 24 |
| Sectioning Is an Old Problem | 26 |
| If We Care About Blind Users, We Should Care About Headings | 27 |
| HTML5 s Improved Outlining Was Dead Before It Ever Shipped | 27 |
| Sneaking in Big Ideas Leads to Dead Ideas | 28 |
| We Forked the Spec | 28 |
| The Exception Is | 28 |
| The Exception Is | 28 |
|---|
| 29 | 28 |
|---|
| How Should We Structure an HTML5 Page? | 29 |
| Styling Headings HTML5-Style Is Kind of Insane | 30 |
| This Is Not Inconsequential: People Have to Teach This Stuff | 31 |
| Where Does This Leave Us? | 31 |
| A Sane Approach to Structural Markup for Accessibility | 31 |
| ARIA Benefits | 32 |
| Layout Recommendations | 33 |
| Chapter 4: The Truth About HTML5 s Structural Elements | 34 |
|---|
| | 34 |
| | 34 |
|---|
| 34 | 34 |
|---|
| Really, It Doesn t Do Anything | 35 |
| How Can Screen Readers Use | 35 |
| How Can Screen Readers Use | 35 |
|---|
| 35 | 35 |
|---|
| ARIA Alternative: Banner | 35 |
| Recommendation | 36 |
| | 36 |
| | 36 |
|---|
| 36 | 36 |
|---|
| Good Intentions | Accessibility Disaster |
| ARIA Alternative: Navigation | 36 |