mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2026-03-22 09:17:14 +00:00
Add missing alt attr to non-decorative images
These are non visual-only or not decorative-only hence context information added to alts Thanks!
This commit is contained in:
@@ -19,7 +19,7 @@ block content
|
||||
h3
|
||||
i.fa.fa-user
|
||||
| My Profile
|
||||
img.thumbnail(src=`https://graph.facebook.com/${profile.id}/picture?type=large`, width='90', height='90')
|
||||
img.thumbnail(src=`https://graph.facebook.com/${profile.id}/picture?type=large`, width='90', height='90', alt=(profile.name || profile.username))
|
||||
h4= profile.name
|
||||
h6 First Name: #{profile.first_name}
|
||||
h6 Last Name: #{profile.last_name}
|
||||
|
||||
@@ -9,5 +9,5 @@ block content
|
||||
a(href='/api/facebook', style='color: #fff')
|
||||
.panel.panel-default(style='background-color: #3b5998')
|
||||
.panel-body
|
||||
img(src='http://i.imgur.com/jiztYCH.png', height=40)
|
||||
img(src='http://i.imgur.com/jiztYCH.png', height=40, alt='Facebook')
|
||||
| Facebook
|
||||
|
||||
Reference in New Issue
Block a user