From 62ff9e8f77041cb637311c011ec63c1107604b8e Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Thu, 12 Oct 2023 09:09:36 +0100 Subject: [PATCH] * Remove link to web.dev because honestly their site is kinda the opposite of the point I want to make * Add a link to Adrian Roselli's site instead * Update the toggle to use the `switch` role * Add some text about the proposal for the Invoker button * Add a slide about theming --- src/slides/02-what.md | 2 +- src/slides/03-example-1.md | 1 + src/slides/04-example-1.md | 24 +++++++----- src/slides/06-example-2.html | 6 ++- src/slides/09-themes.md | 39 +++++++++++++++++++ ...{09-final-points.md => 10-final-points.md} | 4 +- ...{10-useful-links.md => 11-useful-links.md} | 2 +- src/styles/styles.css | 6 ++- 8 files changed, 69 insertions(+), 15 deletions(-) create mode 100644 src/slides/09-themes.md rename src/slides/{09-final-points.md => 10-final-points.md} (65%) rename src/slides/{10-useful-links.md => 11-useful-links.md} (69%) diff --git a/src/slides/02-what.md b/src/slides/02-what.md index f290a2e..af86264 100644 --- a/src/slides/02-what.md +++ b/src/slides/02-what.md @@ -4,6 +4,6 @@ type: statement ## Huh? -* When we create a custom component, often we have to tell the browser how it should treat it +* When we create a custom component, we have to tell the browser how it should treat it * But often browsers already give us the tools to do that natively * Reaching for CSS and HTML first can make our components faster, more reusable, and more accessible diff --git a/src/slides/03-example-1.md b/src/slides/03-example-1.md index bf671bf..5958f04 100644 --- a/src/slides/03-example-1.md +++ b/src/slides/03-example-1.md @@ -154,6 +154,7 @@ export default class Toggle extends Component { * Have to import all of this everywhere we use it * No meaningful labels possible! * No keyboard navigation +* No Javascript? No component diff --git a/src/slides/04-example-1.md b/src/slides/04-example-1.md index ae9b6d4..8afb8cd 100644 --- a/src/slides/04-example-1.md +++ b/src/slides/04-example-1.md @@ -4,7 +4,7 @@ ```html