From 5aa948015e732c0bdce9b0a95ad00afbab89a4a8 Mon Sep 17 00:00:00 2001 From: Schalk Venter Date: Tue, 9 May 2023 20:20:12 +0200 Subject: [PATCH 1/2] Clarifies ambiguous sentence in documentation It is not clear that "without" applies to both hardware and internet connections. It seems like the sentence refers to people that do indeed have good internet connections. --- .../tutorial/01-introduction/03-dynamic-attributes/text.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md b/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md index b4e2001bcf6d..8f087b3831d5 100644 --- a/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md +++ b/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md @@ -14,7 +14,7 @@ That's better. But Svelte is giving us a warning: > A11y: <img> element should have an alt attribute -When building web apps, it's important to make sure that they're *accessible* to the broadest possible userbase, including people with (for example) impaired vision or motion, or people without powerful hardware or good internet connections. Accessibility (shortened to a11y) isn't always easy to get right, but Svelte will help by warning you if you write inaccessible markup. +When building web apps, it's important to make sure that they're *accessible* to the broadest possible userbase, including people with (for example) impaired vision or motion. Also consider that not everyone has access to powerful hardware and good internet connections. Accessibility (shortened to a11y) isn't always easy to get right, but Svelte will help by warning you if you write inaccessible markup. In this case, we're missing the `alt` attribute that describes the image for people using screenreaders, or people with slow or flaky internet connections that can't download the image. Let's add one: From 44676e5f4ca107e09bcec04bf6f2438311fb54ea Mon Sep 17 00:00:00 2001 From: Schalk Venter Date: Sat, 20 May 2023 12:58:09 +0200 Subject: [PATCH 2/2] Changes 'or' to 'and' in sentence --- .../tutorial/01-introduction/03-dynamic-attributes/text.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md b/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md index 8f087b3831d5..e5b7fe2243d9 100644 --- a/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md +++ b/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md @@ -14,8 +14,7 @@ That's better. But Svelte is giving us a warning: > A11y: <img> element should have an alt attribute -When building web apps, it's important to make sure that they're *accessible* to the broadest possible userbase, including people with (for example) impaired vision or motion. Also consider that not everyone has access to powerful hardware and good internet connections. Accessibility (shortened to a11y) isn't always easy to get right, but Svelte will help by warning you if you write inaccessible markup. - +When building web apps, it's important to make sure that they're *accessible* to the broadest possible userbase, including people with (for example) impaired vision or motion, or people without powerful hardware and good internet connections. Accessibility (shortened to a11y) isn't always easy to get right, but Svelte will help by warning you if you write inaccessible markup. In this case, we're missing the `alt` attribute that describes the image for people using screenreaders, or people with slow or flaky internet connections that can't download the image. Let's add one: ```html