From f9c3d99b34a30afa63b2cd744746bb428f7f08b0 Mon Sep 17 00:00:00 2001 From: gabysantosw <44228131+gabysantosw@users.noreply.github.com> Date: Sat, 1 Jun 2019 11:59:21 +0200 Subject: [PATCH 1/2] Ending alt text with a period Added a period at the end of the alt text example, recently learned that it improves UX for screen-reader users as it provides a pause. --- .../tutorial/01-introduction/03-dynamic-attributes/text.md | 6 +++--- 1 file changed, 3 insertions(+), 3 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 1fd6774b8a..7c75f25168 100644 --- a/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md +++ b/site/content/tutorial/01-introduction/03-dynamic-attributes/text.md @@ -19,10 +19,10 @@ When building web apps, it's important to make sure that they're *accessible* to 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 -A man dancing +A man dancing. ``` -We can use curly braces *inside* attributes. Try changing it to `"{name} dancing"` — remember to declare a `name` variable in the `