TS27JavaScript and rendering

SPA routes. Shareable pages.

Guide · SPA routes and states

Test direct opening, refresh and history on SPA routes. Check server response, content and canonical for each state.

Protocol wording · v0.3.0-draft.9

SPA states and routes produce shareable URLs and consistent server responses.

The control
TS27 · SPA routes and states
Prepare
Routes and expected navigation states
In the app
Available workflows
Open TSEP Control

Understand

SPA routes and states
The key distinctions.

A route can work from the home page but fail when a visitor pastes its URL into a new tab. TS27 examines navigation states separately: a successful in-app click does not prove the server response for the same address.

Direct opening
Access to the route without first visiting another application page.
Navigation state
A context reached after a click, refresh or history navigation, with its own signals.

Check

Open the route.
Replay history.

SPA routes and states : method and evidence

Test an existing and a nonexistent route from an internal link, directly and after reload. Then use browser Back and Forward.

  1. Declare URL, content, HTTP status and expected metadata for every state. The shared shell does not represent every page.

  2. For direct access and reload, retain document response, final URL and DOM. For client transitions, record data requests and title/canonical changes.

  3. Go back then forward. Check content, selection and address together: an old title on a new route remains a discrepancy.

  4. Fix server routing, error handling or metadata, then repeat the matrix. Document limits of client-only error handling.

A valid route and a negative fixture

Fictional test expectations
/products/p-42: direct 200 + product; link + product; reload 200 + product
/products/unknown: direct 404 + error; link + error; reload 404 + error
Back/forward: consistent address, content and title

During client navigation without a new document request, do not invent a document HTTP status: record the transition mode.

Browser rendering does not guarantee indexing. A nonexistent route served with a 200 shell needs examination as a soft-404 risk.

A product route lost on refreshFictional example · illustrative values and results
Before · observation to interpret
Internal click → /products/p-42: product visible
Direct opening → server 404
Refresh → error page
After · fix or decision
Existing route: intended initial 200 document
P-42 product and route canonical retained
Nonexistent route: explicit error handling tested

The fix must cover both existing and missing routes. A blanket 200 rewrite can solve direct opening while creating false successes.

Which evidence should you keep?Show the evidenceHide the evidence

Route plan, initial responses, captures and DOM per state, URLs, metadata, action order, tool and dates.

Continue in TSEP Control

Prepare the evidence described in this guide. The application shows available workflows and required inputs: a control’s presence in the catalogue does not mean its automatic assessment is available.

Open TSEP Control

Act

The right state.
At the right address.

Server not configured for routes

Align server and client routing with intended resources. Also test nonexistent addresses.

Home-page canonical everywhere

Make signals route-specific and check their updates after each state change.

Inconsistent history

Fix address and content management together. Back should not retain another route’s data under the old URL.

Who acts: Frontend and server teams, with technical SEO.

Recheck

A complete journey.
An explicit error.

Repeat both routes through all three entry modes and history. Also retain the negative fixture result.

  1. Repeat the full direct, click, refresh and history sequence.

  2. Add new routes to the regression plan.

SPA routes and states : your questions

Must a SPA switch to SSR?

The control does not impose one architecture. Verify behaviour and dependencies, then choose a solution suited to observed constraints. Reference.

Is returning 200 for every route enough?

No. Nonexistent routes and incorrect content must remain distinct from valid pages. Check intended status and content for each case. Reference.

Your reference points

To go further.

Statuses, sources and method.

Understand the statusesC · NC · NT · NA

Each status depends on the control’s evidence and rules. It applies to the assessed scope without certifying the entire website.

C · Conforming
The applicable rules are evidenced within the declared scope. Read this control’s scope: C certifies neither the whole site nor a search engine outcome.
NC · Nonconforming
Attributable evidence contradicts an applicable expectation. An unknown on another point does not erase that contradiction.
NT · Not tested or inconclusive
Required evidence, context or review is missing or unresolved. The detailed rules specify the conditions for a conclusion.
NA · Not applicable
No relevant application or SPA route.

Sources and references3 references

Detailed method and rules2 rules

Complete protocol wording v0.3.0-draft.9. The practical guide and normative criteria are separate. Your report identifies the engine version used.

TS27 — SPA states and routes produce shareable URLs and consistent server responses.

When it applies
Application routes or SPA states intended for indexing.
Expectation
Direct opening, refresh and history preserve the expected URL, content, status and signals for each selected route.
Evidence to retain
Each indexable view has its own URL, 200 response, content and signals.
How to check
Open routes directly and test refresh, history, canonical and HTTP status.
Non-applicability
No relevant application or SPA route.
Limitations
Choosing SSR, CSR or SSG is not in itself an SEO guarantee.
Outcome clarification
C requires all expectations across the declared scope. NC requires evidenced contradiction; otherwise NT. NA requires evidence of non-applicability.
Reference scope
Technical reference; the TSEP acceptance rule remains an editorial proposal.
Required inputs (protocol identifiers)
http, render, intent
TS27-A01 — Attributed routes and history
When it applies
Prior finite TS27 population under render-transport-v1; see docs/render-transport-evidence.md.
Expectation
Every state retains its route URL and intended200 source. A qualified conflicting URL or status fails.
Evidence to retain
Exact originals, plan and dates/context, fingerprints, diagnostics and reasoned review bound to the entire dossier. Kinds: http, render, intent.
How to check
Check four supplied states in direct, refresh, back, forward order: session, sequence, time, URL, server-response binding and status.
Assumptions
Supplied unauthenticated provenance, inventory, browser state, conditions and judgment; two static HTML readings are not two navigations. TLS trust depends on supplied roots.
Inconclusive outcome
Missing/ambiguous state, action, binding, session or order; uncollected frame/shadow surface: NT.
Non-applicability
No atomic NA. Empty population or claimed absent domain without evidence remains NT in this profile.
Limitations
No real audit inferred from synthetic cases. No indexing, ranking, global conformity, accessibility certification, exhaustive security or universal browser trust. Reviews may be wrong and captures may omit states.
Required inputs (protocol identifiers)
http, render, intent
TS27-A02 — Content and canonical in each SPA state
When it applies
Prior finite TS27 population under render-transport-v1; see docs/render-transport-evidence.md.
Expectation
States retain their intended content and signals. Absence on a complete surface, differing content or conflicting canonical fails.
Evidence to retain
Exact originals, plan and dates/context, fingerprints, diagnostics and reasoned review bound to the entire dossier. Kinds: http, render, intent.
How to check
Within the same qualified states compare literal IDs, essential text and link destinations with the plan, then one explicit head canonical. Require operation review.
Assumptions
Supplied unauthenticated provenance, inventory, browser state, conditions and judgment; two static HTML readings are not two navigations. TLS trust depends on supplied roots.
Inconclusive outcome
Partial state, hidden context, ambiguous ID, differing HTML hypotheses or absent review: NT.
Non-applicability
No atomic NA. Empty population or claimed absent domain without evidence remains NT in this profile.
Limitations
No real audit inferred from synthetic cases. No indexing, ranking, global conformity, accessibility certification, exhaustive security or universal browser trust. Reviews may be wrong and captures may omit states.
Required inputs (protocol identifiers)
http, render, intent

Origin and scope

Sources.
A clear framework.

Distinguish technical references, TSEP criteria and this guide’s version.

  1. Official documentation

    Fix JavaScript search problems

    developers.google.com

    This reference describes the mechanism and its limits. It is separate from TSEP criteria and does not validate your configuration.

    Accessed on

  2. Open protocol

    Criteria for TS27

    TSEP · v0.3.0-draft.9

    The expectations, evidence and limits reproduced in this guide. This proposal by Edikka is versioned and published under CC BY 4.0; it is not a Google certification.

    Documented version 0.3.0-draft.9

  3. Practical reading

    Website acceptance testing before launch

    Edikka · Insights

    To include direct routes and critical journeys in launch acceptance testing.

    Article by TSEP’s initiator · accessed