I am the eggman
@@ -156,7 +189,9 @@ p { } ``` -{{ EmbedLiveSample("css-js-ally-2", "100%", 240) }} +The updated content should look like this: + +{{ EmbedLiveSample("css-js-ally-2-finish", "100%", 600) }}Click here to show the solution
@@ -173,7 +208,7 @@ p { For the updated code, something like this would fix the color contrast: -```css +```css live-sample___css-js-ally-2-finish main { padding: 20px; background-color: red; @@ -188,7 +223,7 @@ p { And something like this would work for the font sizing: -```css +```css live-sample___css-js-ally-2-finish h1 { font-size: 2.5rem; } @@ -226,6 +261,12 @@ In our final accessibility task, you have some JavaScripting to do. We have an a But it is not very accessible ā in its current state you can only operate it with the mouse. We'd like you to add some HTML and JavaScript to make it keyboard accessible too. +The starting point of the task looks like this: + +{{ EmbedLiveSample("css-js-ally-3", "100%", 400) }} + +Here's the underlying code for this starting point: + ```html live-sample___css-js-ally-3Click here to show the solution
diff --git a/files/en-us/learn_web_development/core/accessibility/test_your_skills/html/index.md b/files/en-us/learn_web_development/core/accessibility/test_your_skills/html/index.md index 31101f34bc47550..5b6bf76a99a2e35 100644 --- a/files/en-us/learn_web_development/core/accessibility/test_your_skills/html/index.md +++ b/files/en-us/learn_web_development/core/accessibility/test_your_skills/html/index.md @@ -21,7 +21,7 @@ To complete the task, update the markup to use appropriate semantic HTML. You do -```css hidden live-sample___html-ally-1 live-sample___html-ally-2 live-sample___html-ally-3 live-sample___html-ally-4 +```css hidden live-sample___html-ally-1 live-sample___html-ally-2 live-sample___html-ally-3 live-sample___html-ally-4 live-sample___html-ally-2-finish body { background-color: white; color: #333333; @@ -41,6 +41,12 @@ body { +The starting point of the task looks like this: + +{{ EmbedLiveSample("html-ally-1", "100%", 630) }} + +Here's the underlying code for this starting point: + ```html live-sample___html-ally-1 Need help?If you have any problems with our products, our support center can offer you all @@ -78,7 +84,7 @@ answer you're looking for. } ``` -{{ EmbedLiveSample("html-ally-1", "100%", 400) }} +We've not provided finished content for this task, as it doesn't look significantly different to the starting state.