PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

Possibility to remove inertia from title tag

ookma-kyi

Jul 6th, 2025 05:39 PM

In the default blade.app.php I have the following title tag:

<title inertia>{{ config('app.name', 'Laravel') }}</title>

This HTML schema is invalid because the custom attribute inertia is not recognized by HTML standards. Larry stated that it is required to update the <title> tag dynamically on client-side navigation and suggested using data-inertia instead. When I changed it to:

<title data-inertia>{{ config('app.name', 'Laravel') }}</title>

the page title stopped updating, and all the pages used the app name. I can’t just ignore it because then my app fails the Section 508 accessibility test. The accessibility checker reports that my HTML schema is incorrect which is true. Someone stated that if I was using the latest version of inertia that I could remove inertia from the title tag as long as the body of the blade template used inertia . I am using the latest version and the issue persists. I have tried some of the solutions here to no avail. Could anyone propose some possible solutions?