Possibility to remove inertia from title tag
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?