LEYUN · SITE SPEC & COMPONENT LIBRARY独立站技术规范手册

California Proposition 65 Warning Component Rules

Section:COMPLIANCE BANNER SPEC · Reviewed:2026-11-20 · Template asset

Key takeawayThis section defines the structure template, field dictionary, integration points and compliance boundaries for 「California Proposition 65 Warning Component Rules」 in COMPLIANCE BANNER SPEC. Templates are for reference only; verify local regulations and platform rules before launch.

Industries and use cases

  • Sellers whose products may contain listed chemicals and who sell into California
  • Categories containing lead, cadmium, phthalates or other regulated substances
  • Sites that must warn on both product pages and in a site-level notice
  • Sellers that have been contacted by California authorities over missing warnings
Template / code snippethtml
<!-- 弹窗式警示:进入站点时展示一次,可关闭 -->
<div class="pw-bar" id="pwBar" role="region"
     aria-label="加州 65 号提案警示" hidden>
  <div class="pw-in">
    <p class="pw-text">
      <strong>WARNING:</strong>
      This product can expose you to chemicals including
      <span class="pw-chem">${chemicalName}</span>,
      which is known to the State of California to cause
      <span class="pw-effect">${cancer or birth defects or other reproductive harm</span>.
      For more information go to
      <a href="https://www.p65warnings.ca.gov/" rel="noopener nofollow"
         target="_blank">www.P65Warnings.ca.gov</a>
    </p>
    <button type="button" class="pw-close" id="pwClose"
            aria-label="关闭警示">×</button>
  </div>
</div>

<!-- 产品页内的固定警示(多数情况下必需,弹窗不能替代) -->
<div class="pw-inline" role="note">
  <p>
    <strong>WARNING:</strong>
    This product can expose you to chemicals including
    ${chemicalName}, which is known to the State of California to cause
    ${effect}. For more information go to
    <a href="https://www.p65warnings.ca.gov/" rel="noopener nofollow"
       target="_blank">www.P65Warnings.ca.gov</a>
  </p>
</div>
Fields and parameters
Field / parameterTypeDescription and values
Chemical nameTextOfficial name from the Prop 65 list
Hazard typeEnumcancer / birth defects / reproductive harm
Connecting wordingPhraseUse the official phrasing verbatim
Official linkURLPoints to www.P65Warnings.ca.gov
PlacementEnumFixed on the product page plus a site-entry notice
Dismissal stateTextRecord acknowledgement to avoid repeat display

SEO and structured-data notes

SEO and structured-data checkpoints
The product page must carry a warningA pop-up alone generally does not satisfy the requirement; a fixed warning on the product page is the baseline and the pop-up is supplementary
Use the official warning templateThe structure "can expose you to chemicals including..." is fixed; rewriting it risks non-conformity
Use the listed chemical namesNames cannot be invented; the Prop 65 list defines the official names and aliases
The official link is fixedIt must point to P65Warnings.ca.gov
Record the dismissal stateThis avoids showing the notice on every visit and avoids the opposite problem of the user never seeing it
Each language version stands aloneThe US market generally requires the English wording; other language versions can retain the English warning

Compliance risk notes

  • Warnings for regulated chemicals must not be omitted
  • The key structure of the official template must not be altered
  • Hazard descriptions must not be softened
  • The warning must not be impossible to close with no alternative way to read it
  • A pop-up alone, with no product page notice, must not be treated as compliant

Do not reuse this template verbatim in regulated contexts; verify local regulations and platform rules before going live.

Modification example

<!-- Modification example: fixed product page warning plus site-entry notice -->
<!-- Common mistake: the warning exists only in a pop-up, with nothing on the product page -->
<!-- Modified: fixed warning on the product page (not removable) + entry pop-up -->
<div class="pw-inline" role="note">
  <p>
    <strong>WARNING:</strong>
    This product can expose you to chemicals including
    <span class="pw-chem">Di(2-ethylhexyl) phthalate</span>,
    which is known to the State of California to cause
    <span class="pw-effect">cancer</span> and
    <span class="pw-effect">birth defects or other reproductive harm</span>.
    For more information go to
    <a href="https://www.p65warnings.ca.gov/" rel="noopener nofollow"
       target="_blank">www.P65Warnings.ca.gov</a>
  </p>
</div>

<!-- A warning can list several chemicals and several hazards,
     each corresponding to an entry on the Prop 65 list -->
<div class="pw-inline" role="note">
  <p>
    <strong>WARNING:</strong>
    This product can expose you to chemicals including
    <span class="pw-chem">Lead</span> and
    <span class="pw-chem">Phthalates</span>,
    which are known to the State of California to cause
    <span class="pw-effect">cancer</span>,
    <span class="pw-effect">birth defects or other reproductive harm</span>,
    and <span class="pw-effect">other reproductive harm</span>.
    For more information go to
    <a href="https://www.p65warnings.ca.gov/" rel="noopener nofollow"
       target="_blank">www.P65Warnings.ca.gov</a>
  </p>
</div>

<!-- Note: the mapping between hazards and chemicals must be accurate.
     Do not write a generic "cancer" because a product contains several substances;
     each item maps to a specific entry on the list. -->

FAQ

Does my product need this warning?
It depends on whether the product contains a listed chemical and whether exposure reaches the threshold. When unsure, consult a compliance adviser rather than assuming no.
Can the pop-up replace the product page warning?
No. The fixed product page warning is the baseline; the pop-up is an additional entry notice.
Does the warning need translating?
The US market generally expects the original English wording. Other language versions may keep the English warning.
Must the specific chemical be named?
Yes. The warning must use the official name from the list; "contains chemicals" does not meet the requirement.
Version notes2026-11-20: first release, compiled from official Google documentation and public technical sources; updated as engine rules change. Engine behaviour details follow the latest official Google documentation.

Note: this page is a summary of publicly documented search-engine rules and is for self-check reference only. Engine behaviour is subject to the latest official Google documentation; verify against your own Search Console data.