Title: Manly Fix
Author: DimitriAus
Published: <strong>May 19, 2026</strong>
Last modified: May 19, 2026

---

Search plugins

![](https://ps.w.org/manly-fix/assets/icon-256x256.png?rev=3538036)

# Manly Fix

 By [DimitriAus](https://profiles.wordpress.org/dimitriaus/)

[Download](https://downloads.wordpress.org/plugin/manly-fix.1.5.zip)

 * [Details](https://wordpress.org/plugins/manly-fix/#description)
 * [Reviews](https://wordpress.org/plugins/manly-fix/#reviews)
 *  [Installation](https://wordpress.org/plugins/manly-fix/#installation)
 * [Development](https://wordpress.org/plugins/manly-fix/#developers)

 [Support](https://wordpress.org/support/plugin/manly-fix/)

## Description

Applies configurable HTML fixes to WordPress and WooCommerce page output. Each fix
can be individually enabled or disabled via **Settings  Manly Fix**.

### WordPress & HTML Fixes

 * **Remove trailing slashes** – Removes XHTML-style trailing slashes (`/>`) from
   void elements (`<meta>`, `<link>`, `<img>`, `<input>`, etc.) for clean HTML5 
   output.
    _Validator: “Info: Trailing slash on void elements has no effect and
   interacts badly with unquoted attribute values.”_
 * **Remove intrinsic size CSS** – Removes the `contain-intrinsic-size` CSS rule
   injected by WordPress for auto-sized images.
    _Validator: “CSS: contain-intrinsic-
   size: Property contain-intrinsic-size doesn’t exist.”_
 * **Remove redundant aria-hidden** – Removes `aria-hidden="true"` from elements
   that already carry the `hidden` attribute.
    _Validator: “Attribute aria-hidden
   is unnecessary for elements that have attribute hidden.”_
 * **Move router style to `<head>`** – Moves the WordPress Interactivity Router 
   animations inline `<style>` tag from `<body>` to `<head>`.
    _Validator: “Element
   style not allowed as child of element body in this context. (Suppressing further
   errors from this subtree.)”_
 * **Remove invalid `as` from prefetch links** – Removes the invalid `as` attribute
   from `<link rel="prefetch">` elements emitted by WooCommerce.
    _Validator: “A`
   link` element with an `as` attribute must have a `rel` attribute that contains
   the value `preload` or the value `modulepreload`.”_

### WooCommerce Fixes

These fixes are only shown when WooCommerce is active.

 * **Mini-cart role=”dialog”** – Adds missing `role="dialog"` to the WooCommerce
   mini-cart drawer div.
    _Validator: “Element div is missing one or more of the
   following attributes: role.”_
 * **Add placeholder src to Interactivity API images** – Adds a transparent placeholder`
   src` and an empty `alt=""` to `<img>` elements that use the WordPress Interactivity
   API but have no static attributes. Real values are set by JavaScript at runtime.
   
   _Validator: “Element `img` is missing one or more of the following attributes:`
   src`, `srcset`.” / “An `img` element must have an `alt` attribute.”_

### Support

For issues, feature requests, or contributions, please contact Manly Electronics.

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to **Settings  Manly Fix** to enable or disable individual fixes

## FAQ

### Does this plugin affect page performance?

No. The plugin uses output buffering at the `template_redirect` hook, processing
the entire page once before output. On typical sites, the performance impact is 
negligible.

### Can I choose which fixes are applied?

Yes. Go to **Settings  Manly Fix** and toggle each fix on or off.

### Are the WooCommerce fixes applied if WooCommerce is not installed?

No. The WooCommerce fixes section only appears in settings and only runs when WooCommerce
is active.

### Is this compatible with all WordPress versions?

Yes, the plugin uses standard WordPress hooks and PHP functions compatible with 
WordPress 4.0+.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Manly Fix” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ DimitriAus ](https://profiles.wordpress.org/dimitriaus/)

[Translate “Manly Fix” into your language.](https://translate.wordpress.org/projects/wp-plugins/manly-fix)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/manly-fix/), check 
out the [SVN repository](https://plugins.svn.wordpress.org/manly-fix/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/manly-fix/) by [RSS](https://plugins.trac.wordpress.org/log/manly-fix/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.5

 * Merged all Manly Woo Fix functionality into this plugin
 * Added WooCommerce fixes: mini-cart role=”dialog”, Interactivity API image placeholder
   src/alt
 * Added WordPress fixes: redundant aria-hidden, router style to head, prefetch 
   as= attribute
 * WooCommerce fixes section is only shown/applied when WooCommerce is active

#### 1.4

 * Added “Remove intrinsic size CSS” fix (absorbs remove-contain-intrinsic-size 
   plugin)

#### 1.3

 * Added Settings page (Settings  Manly Fix) with toggles for each fix

#### 1.2

 * Added direct file access protection
 * Improved code documentation

#### 1.1

 * Initial public release
 * Support for 18 HTML5 void elements
 * Output buffering implementation

## Meta

 *  Version **1.5**
 *  Last updated **7 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.2 or higher **
 * Tags
 * [HTML5](https://wordpress.org/plugins/tags/html5/)[markup](https://wordpress.org/plugins/tags/markup/)
   [trailing slash](https://wordpress.org/plugins/tags/trailing-slash/)[validation](https://wordpress.org/plugins/tags/validation/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/manly-fix/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/manly-fix/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/manly-fix/reviews/)

## Contributors

 *   [ DimitriAus ](https://profiles.wordpress.org/dimitriaus/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/manly-fix/)