{"id":10772,"date":"2026-05-20T07:29:48","date_gmt":"2026-05-19T23:29:48","guid":{"rendered":"https:\/\/aeosub.com\/manly-fix\/"},"modified":"2026-05-20T07:29:48","modified_gmt":"2026-05-19T23:29:48","slug":"manly-fix","status":"publish","type":"post","link":"https:\/\/aeosub.com\/zh\/manly-fix\/","title":{"rendered":"Manly Fix"},"content":{"rendered":"<div class=\"plugin-info-card\" style=\"border: 1px solid #e2e8f0;border-radius: 10px;overflow: hidden;margin-bottom: 30px;font-family: -apple-system, system-ui, sans-serif;background: #fff\">\n<table style=\"width: 100%;border-collapse: collapse;font-size: 14px\">\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 15px 20px;text-align: left;width: 35%;color: #4a5568;background: #fcfcfc\"><img decoding=\"async\" src=\"https:\/\/ps.w.org\/manly-fix\/assets\/icon-256x256.png?rev=3538036\" style=\"width: 40px;height: 40px;border-radius: 6px;margin-right: 12px;vertical-align: middle\"> Developer<\/th>\n<td style=\"padding: 15px 20px;font-weight: 500\"><a href=\"https:\/\/profiles.wordpress.org\/dimitriaus\/\" target=\"_blank\" rel=\"noopener\">DimitriAus<\/a><\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Version<\/th>\n<td style=\"padding: 12px 20px\">v1.5<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Active Installs<\/th>\n<td style=\"padding: 12px 20px\">0 +<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Requires \/ Tested<\/th>\n<td style=\"padding: 12px 20px\">4.0 \/ 6.9.4<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Last Updated<\/th>\n<td style=\"padding: 12px 20px\">2026-05-19 11:00pm GMT<\/td>\n<\/tr>\n<tr>\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Official Link<\/th>\n<td style=\"padding: 12px 20px\"><a href=\"https:\/\/wordpress.org\/plugins\/manly-fix\/\" target=\"_blank\" style=\"text-decoration: none;color: #4a3bca;font-weight: bold\" rel=\"noopener\">View Details \u2192<\/a><\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"plugin-short-desc\" style=\"margin: 20px 0;padding: 12px 15px;background: #f9fafb;border-left: 4px solid #4a3bca;border-radius: 6px;font-style: italic;color: #4a5568\">HTML validatator errors fix in WordPress and WooCommerce.<\/div>\n<p>Applies configurable HTML fixes to WordPress and WooCommerce page output. Each fix can be individually enabled or disabled via <strong>Settings <span aria-hidden=\"true\" class=\"wp-exclude-emoji\">\u2192<\/span> Manly Fix<\/strong>.<\/p>\n<h3>WordPress &amp; HTML Fixes<\/h3>\n<ul>\n<li>\n<p><strong>Remove trailing slashes<\/strong> &#8211; Removes XHTML-style trailing slashes (<code>\/&gt;<\/code>) from void elements (<code>&lt;meta&gt;<\/code>, <code>&lt;link&gt;<\/code>, <code>&lt;img&gt;<\/code>, <code>&lt;input&gt;<\/code>, etc.) for clean HTML5 output.<br \/>\n<em>Validator: &#8220;Info: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.&#8221;<\/em><\/p>\n<\/li>\n<li>\n<p><strong>Remove intrinsic size CSS<\/strong> &#8211; Removes the <code>contain-intrinsic-size<\/code> CSS rule injected by WordPress for auto-sized images.<br \/>\n<em>Validator: &#8220;CSS: contain-intrinsic-size: Property contain-intrinsic-size doesn&#8217;t exist.&#8221;<\/em><\/p>\n<\/li>\n<li>\n<p><strong>Remove redundant aria-hidden<\/strong> &#8211; Removes <code>aria-hidden=\"true\"<\/code> from elements that already carry the <code>hidden<\/code> attribute.<br \/>\n<em>Validator: &#8220;Attribute aria-hidden is unnecessary for elements that have attribute hidden.&#8221;<\/em><\/p>\n<\/li>\n<li>\n<p><strong>Move router style to <code>&lt;head&gt;<\/code><\/strong> &#8211; Moves the WordPress Interactivity Router animations inline <code>&lt;style&gt;<\/code> tag from <code>&lt;body&gt;<\/code> to <code>&lt;head&gt;<\/code>.<br \/>\n<em>Validator: &#8220;Element style not allowed as child of element body in this context. (Suppressing further errors from this subtree.)&#8221;<\/em><\/p>\n<\/li>\n<li>\n<p><strong>Remove invalid <code>as<\/code> from prefetch links<\/strong> &#8211; Removes the invalid <code>as<\/code> attribute from <code>&lt;link rel=\"prefetch\"&gt;<\/code> elements emitted by WooCommerce.<br \/>\n<em>Validator: &#8220;A <code>link<\/code> element with an <code>as<\/code> attribute must have a <code>rel<\/code> attribute that contains the value <code>preload<\/code> or the value <code>modulepreload<\/code>.&#8221;<\/em><\/p>\n<\/li>\n<\/ul>\n<h3>WooCommerce Fixes<\/h3>\n<p>These fixes are only shown when WooCommerce is active.<\/p>\n<ul>\n<li>\n<p><strong>Mini-cart role=&#8221;dialog&#8221;<\/strong> &#8211; Adds missing <code>role=\"dialog\"<\/code> to the WooCommerce mini-cart drawer div.<br \/>\n<em>Validator: &#8220;Element div is missing one or more of the following attributes: role.&#8221;<\/em><\/p>\n<\/li>\n<li>\n<p><strong>Add placeholder src to Interactivity API images<\/strong> &#8211; Adds a transparent placeholder <code>src<\/code> and an empty <code>alt=\"\"<\/code> to <code>&lt;img&gt;<\/code> elements that use the WordPress Interactivity API but have no static attributes. Real values are set by JavaScript at runtime.<br \/>\n<em>Validator: &#8220;Element <code>img<\/code> is missing one or more of the following attributes: <code>src<\/code>, <code>srcset<\/code>.&#8221; \/ &#8220;An <code>img<\/code> element must have an <code>alt<\/code> attribute.&#8221;<\/em><\/p>\n<\/li>\n<\/ul>\n<h3>Support<\/h3>\n<p>For issues, feature requests, or contributions, please contact Manly Electronics.<\/p>","protected":false},"excerpt":{"rendered":"<p>HTML validatator errors fix in WordPress and WooCommerce.<\/p>","protected":false},"author":1,"featured_media":9317,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[252],"tags":[1441,1442,1443,1125,569,555],"class_list":["post-10772","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-trends","tag-html5","tag-markup","tag-trailing-slash","tag-validation","tag-woocommerce","tag-wordpress-plugin"],"_links":{"self":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/10772","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/comments?post=10772"}],"version-history":[{"count":0,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/10772\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media\/9317"}],"wp:attachment":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media?parent=10772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/categories?post=10772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/tags?post=10772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}