The document fundamentals4 problems
Web essentials
The document-head fundamentals every page needs — viewport, charset, language, favicon. AI scaffolds routinely skip them because the generated component owns the body and nobody edits the base HTML document.
Caught by the web-essentials detector — 4 document-head checks.
- Missing viewport meta tagerrorWithout a viewport meta tag, mobile browsers render your page at desktop width. Add one line to make the layout responsive again.
- Missing charset declarationwarningA missing <meta charset> lets browsers guess your encoding, mangling emoji and accented text. Declare UTF-8 as the first tag in <head>.
- Missing lang attribute on <html>warningA missing lang attribute stops screen readers picking the right voice and search engines detecting language. Add lang to your <html> element.
- Missing faviconwarningNo favicon means a blank browser tab and a 404 on every load. Add a <link rel="icon"> so your site is recognisable in tabs and bookmarks.