Comments (7)
I could do this but I'm not sure of the added value. I suspect most sites that are reading this kind of meta from the HTML itself aren't running the page's JS—think e.g., sharing a link on Twitter.
Is there another reason why this might be useful?
from pwacompat.
The main reason is to avoid this Lighthouse's warning:
https://developers.google.com/web/tools/lighthouse/audits/description
from pwacompat.
I really believe that most crawlers/etc are not going to run page JavaScript just to read your site's meta tags.
So while it might make Lighthouse happy, I suspect this change won't actually improve your SEO.
from pwacompat.
I understand your point, but I'm not sure it would be a bad thing. You could just check if there is a meta description already and add one based on manifest if not.
Just as theme_color
, I don't like to have to duplicate it on my HTML head.
from pwacompat.
Unlike <title>
(under some circumstances) a <meta>
description isn't required in HTML. If you don't need it, should you add it just to appease the Lighthouse tool?
I really believe that most crawlers/etc are not going to run page JavaScript just to read your site's meta tags.
So while it might make Lighthouse happy, I suspect this change won't actually improve your SEO.
I haven't googled it but I'm quite sure Google can index script-generated content, however if Google saw the same <meta>
description across several pages then the site-owner may start worrying about "SEO penalties" due to duplicate content.
Personally I don't think this is a good default for PWACompat.
from pwacompat.
Sorry @hnordt but I also don't think this is worth including.
PWACompat is not intended to help with search indexability. I've had #22 filed and I'll mention this as part of resolving that issue.
from pwacompat.
Thank you for having a look at it @samthor. I agree with you.
from pwacompat.
Related Issues (20)
- Invalid character in IE11 HOT 1
- a2hs for ios is support by pwacompat ? HOT 1
- Serviceworker should be unregistered from android webview chrome version 37.0.3770.67 ~ 37.0.3770.101 HOT 1
- Prioritize maskable icons for apple-touch-icon HOT 3
- Initial Height on iOS w/ Notch + viewport-fit=cover
- Is PWACompat recommended for production projects? HOT 2
- apple-touch-icon not created on iPad iOS 13 HOT 1
- Feature request: prevent meta tags from being added if they already exist HOT 2
- <link rel="apple-touch-icon"> is not created and thus also no icon on boot splash HOT 2
- Splash screen not shown when added on iPad with landscape orientation HOT 11
- Maskable Icons HOT 1
- Use the CDN domain cdn.jsdelivr.net instead of unpkg.com ? HOT 1
- v2.0.16 does not create <link rel="apple-touch-icon"> HOT 1
- Is pwacompat dynamic splash images feature works correctly? HOT 3
- short_name/name is showing in splash screen HOT 2
- C
- CSS modification HOT 1
- README - Edge and links
- Add “from (someone)” as WhatsApp?
- if 1 item only, Not display that item in "updateF7SmartSelect()"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwacompat.