Skip to content

What the static analysis checks

Every upload — a new template, a replacement, or a save in the Template Editor — runs a static analysis of index.html, styles.css, the scripts and the bundled assets after the packaging rules have passed. Each finding has a severity and a category; the View link beside a finding in the report lands on the matching section of this page. Error findings stop the upload unless you choose Force Upload Anyway; Warning and Info findings are advice and never block. How the report is shown and exported is on Template Editor and analysis; the packaging rules that are checked before the analysis are on the Template library page.

The checks below are mechanical: they look at the files as written, not at how the template behaves on a sign. A finding is worth a look, not always a change — an image whose alt text nobody will read on a sign, or a var in a bundled library, can stay.

HTML

Finding Severity What to do
HTML parse issue Warning Fix the markup the parser stumbled on; the message names it
Deprecated tag (font, center, marquee, blink, big, strike, tt, frame, frameset, applet) Warning Replace with CSS
Inline styles (listed per element, or summarized above five) Info Move them to styles.css if the template is meant to be maintained
Missing viewport meta tag Warning Keep the base template's <head>, which has it
No charset declaration, missing or empty <title> Info Keep the base template's <head>
Anchor with an empty or # href Info Signs are not clicked; remove the link or give it a real target
Duplicate id Warning IDs must be unique — bindings and scripts that look an element up by id get the first one only
Missing stylesheet, script, image, icon or media file Error The referenced file is not in the ZIP; check the relative path and the exact case, see Assets
Invalid asset path Warning The reference could not be resolved as a path; use a plain relative path

CSS

Finding Severity What to do
CSS parse error Warning Fix the syntax the message points at
Stylesheet could not be parsed; rule-level checks skipped Warning Usually a syntax error. Modern syntax the parser does not know (:is(), :where(), @container, @layer, range media queries) also triggers it and is fine to keep
Empty rule, empty @media block Info Remove it
Deeply nested selector (five or more combinators) Warning Give the element a class and select it directly
!important, or more than three in one rule Warning Fix the specificity instead
Duplicate property in one rule Warning Keep one, unless the second is a deliberate fallback
Deprecated property (clip, zoom, behavior, filter, ime-mode, the scrollbar-* properties) Warning Use the modern equivalent (clip-path, transform, …)
Vendor-prefixed property Info Signs run current Chrome; the unprefixed property is enough. -webkit-line-clamp and -webkit-box-orient are not reported
Unit on a zero value (0px) Info Write 0

JavaScript

The scan covers script.js, every inline <script> block in index.html (reported as index.html#inline-script-N) and the script files under assets/. The patterns the upload refuses outright — loading files from the ZIP at runtime, bundling the player scripts, data: and javascript: script sources — are rejections, not findings; they are listed on JavaScript rules and upload validation.

Finding Severity What to do
JavaScript syntax error Error Fix it; the line is given
Suspicious code (the compiler's own warnings, for example an unreachable statement) Warning Read the message; it names the construct
console.log(), alert() Info Remove debug output; an alert blocks the sign
debugger statement Warning Remove it
var declaration Info Use let or const

A timer or listener that outlives the template is the usual real problem in template JavaScript and is not caught here; see Template JavaScript best practices for the lifecycle hooks that clean up for you.

Assets

Finding Severity What to do
Duplicate image, duplicate asset (same content under two names) Warning / Info Keep one copy and reference it from both places
Potentially unused asset Info No src or href in index.html and no url() in styles.css names the file. Remove it, or ignore the finding when the file is used from a <style> block, a style attribute or an attribute such as poster, which the check does not read
Large template (over 200 MB), high number of images (over 80), too many JS files (over 30), too many CSS files (over 20), large number of files (over 200) Info / Warning Compress and resize images to the size they are shown at, bundle scripts, drop what the template does not use — see Assets

Performance

Finding Severity What to do
@import in CSS Warning Put the styles in styles.css; signs may be offline and an import is a second request
@font-face without font-display Warning Add font-display: block — the sign pre-caches the font, see Fonts
Script in <head> without async or defer Warning Scripts go at the end of <body>, see Template structure
More than 1,500 DOM elements Warning Simplify the markup; a sign renders the page for days
Universal selector (*) inside a nested rule Info Select by class; a plain * reset is not reported

Security

Finding Severity What to do
javascript: URL in a link Error Remove it; use a script and an event listener
eval() Error Remove it
setTimeout() or setInterval() with a string argument Warning Pass a function
Direct innerHTML assignment Warning Use textContent, or build elements — schedule data is text, not markup
Inline event handler (onclick, onload, …) Info Attach listeners from the script instead
target="_blank" without rel="noopener noreferrer" Warning Add the attribute, or drop the link — signs are not clicked
External resource (a script, stylesheet or image from a domain other than the Google Fonts and CDN hosts the check allows) Warning Bundle the file under assets/ — signs may be offline, see Assets
Asset path escapes the template folder (../) Warning Reference files inside the ZIP only

Accessibility

Finding Severity What to do
Image without alt, image with empty alt Warning / Info Give meaningful images a description; a decorative image may keep alt=""
Link without discernible text Warning Add text or an aria-label
<html> without lang Warning Keep the base template's <html lang="en">
Form input without a label Warning Signs have no forms; remove the input or label it