mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-08 20:27:37 +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:
@@ -27,9 +27,9 @@
|
||||
li.dropdown(class=(title == 'Account Management') ? 'active' : undefined)
|
||||
a.dropdown-toggle(href='#', data-toggle='dropdown')
|
||||
if user.profile.picture
|
||||
img(src=user.profile.picture)
|
||||
img(src=user.profile.picture, alt=(user.profile.name || user.email || user.id))
|
||||
else
|
||||
img(src=user.gravatar(60))
|
||||
img(src=user.gravatar(60), alt=(user.profile.name || user.email || user.id))
|
||||
span= user.profile.name || user.email || user.id
|
||||
i.caret
|
||||
ul.dropdown-menu
|
||||
|
||||
Reference in New Issue
Block a user