Add empty alt attribute to img elements in landing page (#4243)

This commit is contained in:
Yamagishi Kazutoshi 2017-07-18 22:22:09 +09:00 committed by Eugen Rochko
parent c0c7af2194
commit 8949aad030
1 changed files with 7 additions and 7 deletions

View File

@ -18,13 +18,13 @@
.landing-page .landing-page
.header-wrapper .header-wrapper
.mascot-container .mascot-container
= image_tag asset_pack_path('elephant-fren.png'), class: 'mascot' = image_tag asset_pack_path('elephant-fren.png'), alt: '', role: 'presentation', class: 'mascot'
.header .header
.container.links .container.links
.brand .brand
= link_to root_url do = link_to root_url do
= image_tag asset_pack_path('logo.svg') = image_tag asset_pack_path('logo.svg'), alt: '', role: 'presentation'
Mastodon Mastodon
%ul.nav %ul.nav
@ -38,9 +38,9 @@
.container.hero .container.hero
.floats .floats
= image_tag asset_pack_path('cloud2.png'), class: 'float-1' = image_tag asset_pack_path('cloud2.png'), alt: '', role: 'presentation', class: 'float-1'
= image_tag asset_pack_path('cloud3.png'), class: 'float-2' = image_tag asset_pack_path('cloud3.png'), alt: '', role: 'presentation', class: 'float-2'
= image_tag asset_pack_path('cloud4.png'), class: 'float-3' = image_tag asset_pack_path('cloud4.png'), alt: '', role: 'presentation', class: 'float-3'
.heading .heading
%h1 %h1
= @instance_presenter.site_title = @instance_presenter.site_title
@ -54,7 +54,7 @@
%p= t('about.closed_registrations') %p= t('about.closed_registrations')
- else - else
= @instance_presenter.closed_registrations_message.html_safe = @instance_presenter.closed_registrations_message.html_safe
= link_to t('about.find_another_instance'), 'https://joinmastodon.org', class: 'button button-alternative button--block' = link_to t('about.find_another_instance'), 'https://joinmastodon.org/', class: 'button button-alternative button--block'
.learn-more-cta .learn-more-cta
.container .container
@ -69,7 +69,7 @@
.about-mastodon .about-mastodon
%h3= t 'about.what_is_mastodon' %h3= t 'about.what_is_mastodon'
%p= t 'about.about_mastodon_html' %p= t 'about.about_mastodon_html'
%a.button.button-secondary{ href: 'https://joinmastodon.org' }= t 'about.learn_more' %a.button.button-secondary{ href: 'https://joinmastodon.org/' }= t 'about.learn_more'
= render 'features' = render 'features'
.footer-links .footer-links
.container .container