SEO
seo/meta-description
Each indexable page has its own meta description that summarises that page.
umiarkowanastatycznefe-seo-metadata
Dlaczego
Search engines often use the description as the snippet under the title. Without one they pick text from the page, often a menu or a cookie notice, and the result attracts fewer clicks. Shared descriptions across pages are nearly as bad as none.
Poprawka
Write one or two sentences per page that say what is on it, in the page's language. Google states no length limit; long text is cut by width, so put the important part first. In frameworks use the metadata API (Next.js metadata.description, Nuxt useSeoMeta({ description }), Astro and SvelteKit layout props, Angular Meta).
Przykłady
<!-- good -->
<meta name="description" content="Plans for teams of every size, with a free tier and monthly or yearly billing.">Źródła
Fakty
- Identyfikator
seo/meta-description- Waga
- umiarkowana
- Sprawdzanie
- statyczne sprawdzane w kodzie źródłowym przez
audit - Dotyczy plików
html- Ten sam problem w
- Lighthouse
meta-description - Uczy jej skill
fe-seo-metadataSEO and metadata- Od wersji
- 0.1.0
Przeczytaj w terminalu
npx github:dawidolko/frontend-skills explain seo/meta-description