Title: SVG &amp; Title problem
Last modified: August 22, 2016

---

# SVG & Title problem

 *  Resolved [lessthanweb](https://wordpress.org/support/users/lessthanweb/)
 * (@lessthanweb)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/svg-title-problem/)
 * Hi,
 * The plugin reports a REQUIRED when a `title` tag is used in the inline `svg` 
   element.
 *     ```
       <svg>
       <title>Title</title>
       </svg>
       ```
   
 * It will say: REQUIRED: The <title> tags can only contain a call to wp_title().
   Use the wp_title filter to modify the output
 * [https://wordpress.org/plugins/theme-check/](https://wordpress.org/plugins/theme-check/)

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

 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [11 years, 3 months ago](https://wordpress.org/support/topic/svg-title-problem/#post-5587519)
 * Hmm. Odd one there. Bit rare. I’ll think about workarounds.
 *  Thread Starter [lessthanweb](https://wordpress.org/support/users/lessthanweb/)
 * (@lessthanweb)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/svg-title-problem/#post-5587525)
 * The first step would probably be to limit the `title` check to only within the`
   head` element? No point in checking the whole document.
 * Rare might be but inline SVG is normal thing to do in todays world and yet because
   of this I cannot submit theme as it will be denied for invalid reason. Please
   fix this asap. 😉
 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [11 years, 3 months ago](https://wordpress.org/support/topic/svg-title-problem/#post-5587531)
 * No, checking the entire theme is necessary. Some people add title’s via action
   hooks into `wp_head`. WordPress 4.1 will have title-tag support, which I just
   added to theme-check yesterday: [https://github.com/Otto42/theme-check/commit/0063b3b4cf4b2c116b61f9de8ff9a5e95bf9d067](https://github.com/Otto42/theme-check/commit/0063b3b4cf4b2c116b61f9de8ff9a5e95bf9d067)
 *  Thread Starter [lessthanweb](https://wordpress.org/support/users/lessthanweb/)
 * (@lessthanweb)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/svg-title-problem/#post-5587533)
 * Oh yeah, true, forgot about the hook. Hmm, if I think of something I’ll post 
   it.

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

The topic ‘SVG & Title problem’ is closed to new replies.

 * ![](https://ps.w.org/theme-check/assets/icon-128x128.png?rev=972579)
 * [Theme Check](https://wordpress.org/plugins/theme-check/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-check/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-check/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-check/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-check/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-check/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [lessthanweb](https://wordpress.org/support/users/lessthanweb/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/svg-title-problem/#post-5587533)
 * Status: resolved