]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update label.md 10896/head
authorJuanMME <juanmmescobar@gmail.com>
Wed, 31 Jan 2018 10:17:38 +0000 (11:17 +0100)
committerGitHub <noreply@github.com>
Wed, 31 Jan 2018 10:17:38 +0000 (11:17 +0100)
docs/pages/label.md

index e0b8d60bad6a543ff2ddbdd2f3491d58f1df1e92..527c6a82c5c9e8688258eae67aad96156caa21ce 100644 (file)
@@ -27,15 +27,15 @@ A label will typically be describing another element on the page. To bind the tw
 
 ```html
 <p aria-describedby="emailLabel">Re: re: re: you won't believe what's in this email!</p>
-<span class="label" id="emailLabel">High Priority<span>
+<span class="label" id="emailLabel">High Priority</span>
 ```
 
 If an element is described by multiple labels, place multiple IDs inside of `aria-describedby`.
 
 ```html
 <p aria-describedby="emailLabel1 emailLabel2">Re: re: re: you won't believe what's in this email!</p>
-<span class="label" id="emailLabel1">High Priority<span>
-<span class="label" id="emailLabel2">Unread<span>
+<span class="label" id="emailLabel1">High Priority</span>
+<span class="label" id="emailLabel2">Unread</span>
 ```
 
 ---