內容簡介
Manly Fix 外掛提供可配置的 HTML 修正功能,專為 WordPress 和 WooCommerce 頁面輸出設計。使用者可以透過設定選單啟用或禁用各項修正,確保網站輸出符合 HTML5 標準。
【主要功能】
• 移除多餘的尾隨斜線
• 移除內建大小 CSS
• 移除冗餘的 aria-hidden 屬性
• 將路由樣式移至 <head>
• 移除無效的 prefetch 連結屬性
• 為 WooCommerce mini-cart 添加角色屬性
外掛標籤
開發者團隊
原文外掛簡介
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 (, , , , 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
– Moves the WordPress Interactivity Router animations inline