# Intentional changes: Performance and SEO role

For the QA pass that updates the parity baseline's approved differences. All approved in
`docs/MODERNISATION_BRIEF.md`. Texts in full: `docs/review/seo-texts.md`.

## Titles and descriptions (idea 7)

| Page | Item | Old | New |
|---|---|---|---|
| home | `<meta name="description">`, `og:description`, JSON-LD WebPage `description` | Boost your car dealership's efficiency and profitability with iDealers Software's cutting-edge DMS solutions. Contact us at 844-444-9363 and drive success today. | Run your whole dealership from one cloud platform: inventory, leads, CRM and website. Call 844-444-9363 for a demo. |
| home | `og:title` | Home - iDealers A Modern Dealership Software | iDealers - A Modern Dealership Software |
| idms-idealers-management-system | `<title>`, `og:title`, JSON-LD WebPage `name` | IDMS - iDealers Management System - iDealers A Modern Dealership Software | IDMS - iDealers Management System \| iDealers |
| pricing | description, `og:description`, JSON-LD | Explore iDealers Software's transparent pricing options for our innovative dealership management solutions. Explore pricing details without breaking your budget. | Explore iDealers Software's transparent pricing for our dealership management solutions. Explore pricing details without breaking your budget. |
| marketing-tools | description, `og:description`, JSON-LD | Elevate your marketing strategy with iDealers Software's comprehensive suite of tools. One-Stop solutions for all types of marketing from social media to bulk sms. | Elevate your marketing strategy with iDealers Software's suite of tools. One-Stop solutions for all types of marketing from social media to bulk sms. |
| design-studio-tool | description, `og:description`, JSON-LD | (same as marketing-tools old) | (same as marketing-tools new) |

Rule change in code (`app/Support/Seo/SeoPage.php`): `og:title` now always follows the page title
unless a content file sets `meta.og_title`. Only the home page was affected (it was the only page whose
original og:title differed from its title).

## Structured data (idea 7)

| Page | Change |
|---|---|
| pricing | New `SoftwareApplication` node (`#software`, name "iDealers") with `offers`: one `Offer` per plan (name, price "99.00"/"199.00"/"399.00", priceCurrency USD) from `plans.plans` |
| pricing, design-studio-tool | New `FAQPage` node (`#faq`) when `faq.items` has complete entries; pricing has one today, design-studio-tool none |

## Images (idea 2)

| Page | Change |
|---|---|
| all pages using `<x-media.img>` | `<img>` becomes `<picture>` with AVIF/WebP `<source srcset>`; `src`, `alt`, `class` stay on the inner `<img>` and the `src` is unchanged (the original file). Parity tools comparing `img[src]` still match; tools counting direct children may see the extra `<picture>`/`<source>` elements |
| home (and any page using `<x-seo.preload :image>`) | The image preload now points at the full-size AVIF variant (`/media/_v/...-webp.avif`, `type="image/avif"`) when one exists |

## Tests updated deliberately

- `tests/Feature/Seo/Concerns/UsesSeoFixtures.php`: new `APPROVED_SEO_CHANGES` list and `expected()`
  (original + approved changes).
- `tests/Feature/Seo/SeoHeadTest.php`, `UrlCanonicalisationTest.php`: compare against `expected()`;
  SoftwareApplication expected on Pricing too; the preload test no longer names `poppins-300.woff2`
  (removed by the Site role) and checks that a missing font is not preloaded.
- `app/Support/Seo/data/original-pages.php` is unchanged on purpose: it records the historical
  WordPress values and stays the fallback.
