§13
Checklist
theme.phpreturns only an array,contract => 1,versionandrequiresare correct.header.wcpcontains{!! $page['head'] !!}and@hook('SiteBodyStart'), andfooter.wcpcontains@hook('SiteBodyEnd')(tracking codes, custom CSS and extensions depend on them, §5.8).- No inline script or event attribute; JS lives in
assets/jsfiles. - Raw output only in allowed expressions (§8); no data other than the server's
*_htmlis printed with{!! !!}. - All texts with
@t();language.phpin the source language. - Preloaded files are requested in CSS with the same address;
?v=addresses were updated when the theme version was raised (§5.8). - The security rules in §14 and the accessibility rules in §15 are applied; the axe scan is clean in light and dark appearance at 1440 and 390 px.
- No horizontal scrolling at 320 px width; every interactive element is reachable with Tab and focus is visible.
- With CSP in "enforce" mode (Settings › Security › CSP) the pages show no console violations.
@hook('SiteAfterBreadcrumbs')is at the end of the page title partial; notices are not printed in the header as well (§5.9). If you draw the slider and showcase sections,supportsis declared.- If you draw the order flow: the card payment form on the proforma carries
data-flow-off; if you draw the billing profile stage,supportscontainscheckout_profiles(§5.13, §5.14). If you drawstore.wcp, category links carrydata-flow-linkand the narrow-screen selector is inside a GET form (§5.15). - The Themes › Client Interface screen in the admin panel shows no validation errors; checked with Preview; the theme is signed (§11).