That's a fascinating issue! Since the tag appears correctly in the browser's source code, it's likely a problem with how PageSpeed Insights is analyzing the page. Here are some potential solutions:
Ensure Correct HTML Structure Verify that the tag is correctly placed within the section of your HTML document.
Check for Dynamic Rendering Blazor Server uses dynamic rendering, which might cause issues with PageSpeed Insights. Try using the @page directive with the title attribute to set the title.
Use the Meta Tag Add a tag with the name attribute set to "title" and the content attribute set to your desired title. This might help PageSpeed Insights detect the title.
Disable Dynamic Rendering for PageSpeed Insights You can add a meta tag to disable dynamic rendering specifically for PageSpeed Insights:
However, this might affect your page's indexing.
Test with a Different Tool Try analyzing your page with a different SEO tool, like Ahrefs or SEMrush, to see if the issue persists.
Verify PageSpeed Insights Configuration Ensure that PageSpeed Insights is configured correctly and that the analysis is being run on the correct page.
Report the Issue If none of the above solutions work, consider reporting the issue to the PageSpeed Insights team or seeking help from the Blazor community.