]> cat aescling's git repositories - mastodon.git/commitdiff
add several missing alt tags (#8708)
authorjacob <jacobherringtondeveloper@gmail.com>
Mon, 17 Sep 2018 16:02:17 +0000 (11:02 -0500)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 17 Sep 2018 16:02:17 +0000 (18:02 +0200)
* add several missing alt tags

* remove alt text from mascot images

app/views/about/more.html.haml
app/views/about/show.html.haml

index 20d5a262b96b491b29ecb019ec151b656037b730..ac7010986ce35188769f4dfd8ecdf6b658dae4f0 100644 (file)
@@ -25,7 +25,7 @@
             %span= t 'about.status_count_after', count: @instance_presenter.status_count
         .row__mascot
           .landing-page__mascot
-            = image_tag asset_pack_path('elephant_ui_plane.svg')
+            = image_tag asset_pack_path('elephant_ui_plane.svg'), alt: ''
 
   .column-2
     .landing-page__information.contact-widget
index 229b0f55b2bbd64ff2b2973a072876b00b8d1561..8c7baa054e3ecd84a8cce5287912af1f83e16fa0 100644 (file)
@@ -63,7 +63,7 @@
                   %span= t 'about.status_count_after', count: @instance_presenter.status_count
               .row__mascot
                 .landing-page__mascot
-                  = image_tag asset_pack_path('elephant_ui_plane.svg')
+                  = image_tag asset_pack_path('elephant_ui_plane.svg'), alt: ''
 
       - else
         .column-2.non-preview
@@ -95,7 +95,7 @@
                   %span= t 'about.status_count_after', count: @instance_presenter.status_count
               .row__mascot
                 .landing-page__mascot
-                  = image_tag asset_pack_path('elephant_ui_plane.svg')
+                  = image_tag asset_pack_path('elephant_ui_plane.svg'), alt: ''
 
       - if Setting.timeline_preview
         .column-3