Title: loading.gif without alt attribute
Last modified: September 12, 2019

---

# loading.gif without alt attribute

 *  [juniorbra](https://wordpress.org/support/users/juniorbra/)
 * (@juniorbra)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/loading-gif-without-alt-attribute/)
 * Hi Lester,
 * We’ve received a warning from our SEO software displaying that there are more
   than 6k images without alt attribute. Checking further we noticed that almost
   all of them refer to wp-content/plugins/wp-postratings/images/loading.gif.
 * Is it possible to add an alt attribute to them?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Floading-gif-without-alt-attribute%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/loading-gif-without-alt-attribute/#post-11928093)
 * It is removed because Google is indexing the word loading instead. If you want
   to add it back, do the following:
 * Use the dev version [https://github.com/lesterchan/wp-postratings/archive/master.zip](https://github.com/lesterchan/wp-postratings/archive/master.zip)
   
   Add this to your theme functions.php ` function wp_postratings_loading_alt() {
   return 'Loading ...'; } add_filter( 'wp_postratings_loading_alt', 'wp_postratings_loading_alt');
 *  [timothystock](https://wordpress.org/support/users/timothystock/)
 * (@timothystock)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/loading-gif-without-alt-attribute/#post-12030194)
 * To make this accessible, you should include an alt tag, but if it is decorative
   you can leave the tag empty (accessibility requires there to be an alt tag, regardless
   of whether its empty). In this way you avoid the Google indexing also. So I propose:
 *     ```
       function wp_postratings_loading_alt() {
       return '';
       }
       add_filter( 'wp_postratings_loading_alt', 'wp_postratings_loading_alt' );
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘loading.gif without alt attribute’ is closed to new replies.

 * ![](https://ps.w.org/wp-postratings/assets/icon.svg?rev=978014)
 * [WP-PostRatings](https://wordpress.org/plugins/wp-postratings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-postratings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-postratings/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-postratings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-postratings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-postratings/reviews/)

## Tags

 * [alt tag](https://wordpress.org/support/topic-tag/alt-tag/)

 * 2 replies
 * 3 participants
 * Last reply from: [timothystock](https://wordpress.org/support/users/timothystock/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/loading-gif-without-alt-attribute/#post-12030194)
 * Status: not resolved