]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add alt attribute for img elements
authorJoas Schilling <nickvergessen@gmx.de>
Tue, 10 Dec 2013 00:46:20 +0000 (01:46 +0100)
committerJoas Schilling <nickvergessen@gmx.de>
Fri, 10 Jan 2014 09:19:08 +0000 (10:19 +0100)
core/templates/layout.user.php

index dd2b209244d7c92f82f7f24446330176c54c5b98..bc1c700402ee1bd25fbdb8a50b2a1d09015e2329 100644 (file)
@@ -51,7 +51,7 @@
                        <div id="settings" class="svg">
                                <span id="expand" tabindex="0" role="link">
                                        <span id="expandDisplayName"><?php  p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span>
-                                       <img class="svg" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" />
+                                       <img class="svg" alt="" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" />
                                </span>
                                <?php if ($_['enableAvatars']): ?>
                                <div class="avatardiv"></div>
@@ -91,7 +91,7 @@
                                        <li data-id="<?php p($entry['id']); ?>">
                                                <a href="<?php print_unescaped($entry['href']); ?>" title=""
                                                        <?php if( $entry['active'] ): ?> class="active"<?php endif; ?>>
-                                                       <img class="icon svg" src="<?php print_unescaped($entry['icon']); ?>"/>
+                                                       <img class="icon svg" alt="" src="<?php print_unescaped($entry['icon']); ?>"/>
                                                        <span>
                                                                <?php p($entry['name']); ?>
                                                        </span>
                                        <li>
                                                <a href="<?php print_unescaped(OC_Helper::linkToRoute('settings_apps').'?installed'); ?>" title=""
                                                        <?php if( $_['appsmanagement_active'] ): ?> class="active"<?php endif; ?>>
-                                                       <img class="icon svg" src="<?php print_unescaped(OC_Helper::imagePath('settings', 'apps.svg')); ?>"/>
+                                                       <img class="icon svg" alt="" src="<?php print_unescaped(OC_Helper::imagePath('settings', 'apps.svg')); ?>"/>
                                                        <span>
                                                                <?php p($l->t('Apps')); ?>
                                                        </span>