]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Use pull request #10896 from JuanMME/patch-1 for v6.5.0
authorJuanMME <juanmmescobar@gmail.com>
Sat, 16 Jun 2018 07:14:06 +0000 (09:14 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sat, 16 Jun 2018 07:14:06 +0000 (09:14 +0200)
bc48ab9c4 Update label.md

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
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>
 ```
 
 ---