Preflight

Introduction

Preflight is an always-on plugin in the Prepare menu that automatically checks your document for common issues before you preview or publish.

What Preflight checks

Preflight runs a series of automated checks across several categories:

References

  1. Fragments not currently published.
  2. Internal and external links not reachable.

Content quality

  1. Placeholder text left in the document (e.g. "Lorem ipsum").

SEO

  1. Missing or duplicate page titles and meta descriptions.
  2. Missing H1 or multiple H1s on a single page.

Using Preflight

  1. Open any document in DA.
  2. Click the Prepare menu button near the preview and publish controls.
  3. Select Preflight.
  4. Review the results. Issues are grouped by category and severity.
  5. Fix any flagged issues and run Preflight again to confirm.

Severity levels

  1. Error - Issues that are likely to negatively impact your content.
  2. Warning - Issues that may be intentional but are worth reviewing.
  3. Info - Informational notes.
  4. Success - A check considered successful.

Notes

Extensibility

You can provide your own custom version of Preflight by supplying a plugin with the same title in your prepare config. You would simply point to your own preflight MFE implementation.

Reporting

If you're looking for a rollup or health check style report for your entire site, we recommend AEM Sites Optimizer which can serve as a reporting tool and provide additional checks that go beyond what is provided from DA.