Fix Layout Shift from Images

How to optimize hermanwells.com

Generic SiteScore: 57/100Analyzed March 2026Re-analyze this site

Fix Layout Shift from Images

High Impact+15 points estimated

Why It Matters

Unsized star rating images cause 0.162 CLS score, making content jump during page load.

How to Fix

Add explicit width='19' and height='17' attributes to star rating images in CSS or HTML. Configure NitroPack lazy loading to reserve proper image dimensions. Set aspect-ratio CSS property for all dynamically loaded images to prevent layout shifts.

0Needs Improvement

What This Score Means

A score of 57 falls in the "Needs Improvement" range (50-89). While it is better than poor (0-49), you should aim for 90+ to provide an optimal user experience and maximize SEO benefits.

This site is slower than approximately 35% of similar sites. The main issues affecting performance are image optimization, JavaScript execution time, and layout stability.

Addressing these issues could improve your conversion rate by 15-20% and boost your search engine rankings.

Core Web Vitals Analysis

LCP

Largest Contentful Paint

1.9s
Good

Good: < 2.5s

Measures how long it takes for the main content to appear on screen

INP

Interaction to Next Paint

638ms
Poor

Good: < 200ms

Measures how quickly the page responds to user interactions

CLS

Cumulative Layout Shift

0.16
Needs Improvement

Good: < 0.1

Measures visual stability - how much content shifts during page load

AI Performance Analysis

This law firm website has poor performance with a score of 57/100, primarily due to excessive JavaScript execution taking over 9 seconds and blocking user interactions for nearly 6 seconds. The biggest culprit is Google's reCAPTCHA script, which alone consumes over 4 seconds of processing time and contains significant unused code (214KB wasted). The site also suffers from layout shifts caused by improperly sized images and could benefit from better caching policies that would save 237KB on repeat visits. Optimizing or deferring the reCAPTCHA implementation, removing unused JavaScript, and fixing image dimensions could dramatically improve performance and user experience.

Other Optimization Recommendations

Optimize JavaScript Execution Performance

High Impact+25 points estimated

Why It Matters:

JavaScript execution takes 9.2 seconds, causing 5.8 seconds of total blocking time that prevents user interactions.

How to Fix:

Remove or optimize Google reCAPTCHA which consumes 4.3 seconds of execution time. Consider switching to hCaptcha or implementing reCAPTCHA v3 with async loading. Defer non-critical third-party scripts like Facebook Pixel and ClickCease until after page interactive using async/defer attributes.

Reduce Unused JavaScript Code

Medium Impact+10 points estimated

Why It Matters:

1,708 KiB of unused JavaScript wastes bandwidth and slows initial page rendering.

How to Fix:

Remove duplicate reCAPTCHA script loads that appear three times in the audit. Use tree-shaking or code splitting to eliminate unused portions of Facebook Pixel and tracking scripts. Consider replacing heavy analytics scripts with lighter alternatives like Plausible or Simple Analytics.

Keep Your Site Fast After Optimization

Once your site is optimized, maintain that speed. Use DeployHQ for zero-downtime, automated deployments—so performance fixes and updates go live safely every time, without breaking your site.

Explore DeployHQ →Trusted by engineering teams shipping high-performance sites

Want to Analyze YOUR Website?

Get AI-powered performance insights with actionable fixes in 30 seconds

More Generic Speed Tests

Generic Performance Resources

Frequently Asked Questions