Skip to content
Audit Complete

Results for https://barcelona.cat

Visit site
ES · EUR (€) · Estimated Applicable regulations: RGPD · ePrivacy Directive · EAA Dev cost: €55/hr How jurisdiction is detected
Spain Spain · Madrid Completed: Apr 22, 2026 21:38 UTC
Download JSON Download Markdown Report

Mobile 375 × 812

Screenshot of the audited page (Mobile 375×812)

Desktop 1440 × 900

Screenshot of the audited page (Desktop 1440×900)
C70

Site Health

Score: 70 / 100

Based on 8 categories, 0 sections

Room to improve — your 31.1s load time is above Google's 2.5s 'Good' threshold.

Several missing protections leave your users and data exposed.

Several issues make your site difficult for assistive technology users.

Well-optimized for search — your content is discoverable.

Good server performance with room for optimization.

Mostly compliant — a few items need attention.

Rich content metadata — your pages look great everywhere.

Heavier than average — reducing page weight saves energy and bandwidth.

How is this calculated?

The overall score is a weighted average of individual category scores. Categories with more impact on user experience and security carry more weight.

Performance 25%Security 25%Accessibility 15%SEO 10%Infrastructure 10%Compliance 8%Content 5%Sustainability 2%

Weights reflect general web best practices. Individual needs may differ.

How the composite score is calculated

How you compare

Drupal · 358 peers
You 70
·
Avg 73
At average
0 50 100
Better than 6% of Drupal sites See full Drupal benchmark →
WordPress · 699 peers
You 70
·
Avg 74
At average
0 50 100
Better than 4% of WordPress sites See full WordPress benchmark →

Top Priorities (5)

1

Content-Security-Policy header is missing

Security gaps expose your site and users to attacks, eroding trust.

Security › Security Headers
2

HSTS header is missing

Security gaps expose your site and users to attacks, eroding trust.

Security › Security Headers
3

No Content-Security-Policy header found

Security gaps expose your site and users to attacks, eroding trust.

Security › Content Security Policy
4

Page weighs 21.7 MB (7.9 MB transferred)

Performance issues directly impact user engagement and conversion rates.

Performance › Page Weight Budget
5

1 button(s) with no accessible text

Accessibility issues exclude users with disabilities — up to 15% of your potential audience.

Accessibility › Link & Button Quality
View fix priority matrix

Fix Priority Matrix

5 findings

Quick Wins

3

High impact, low effort — start here.

Strategic

2

High impact, requires investment.

Easy Improvements

0

Small gains, minimal effort.

Nothing in this quadrant — good news.

Deprioritize

0

Low impact, high effort — do last.

Nothing in this quadrant — good news.

← Low effort High effort →
BeaverCheck badge
Embed this badge
[![BeaverCheck](https://beavercheck.com/badge?url=https%3A%2F%2Fbarcelona.cat)](https://beavercheck.com/results/396e37e6-e465-47c4-a6e1-185d65bf4c4c)
<a href="https://beavercheck.com/results/396e37e6-e465-47c4-a6e1-185d65bf4c4c"><img src="https://beavercheck.com/badge?url=https%3A%2F%2Fbarcelona.cat" alt="BeaverCheck Score"></a>
https://beavercheck.com/badge?url=https%3A%2F%2Fbarcelona.cat

This badge auto-updates with your latest scan result.

What fixing these means

Your site performs reasonably well, but a few targeted fixes could meaningfully improve results. Your LCP of 31.1s exceeds Google's 2.5s 'Good' threshold and the 1 performance issue below directly contributes to it. Addressing the critical issues below would have the most immediate impact on your user trust.

3 security gaps detected — browsers may warn visitors about your site.
Your LCP is 31.1s — fixing the 1 performance critical could bring it under Google's 2.5s 'Good' threshold.
1 accessibility issue excludes users who rely on assistive technology.

Conversion Barriers

2 critical 6 warning

8 barrier(s) likely increasing bounce by ~30%.

Speed (2)

Page takes 31.1s to load

+12% bounce

Users abandon at ~3s — you're 28.6s over the 2.5s threshold

Fix: Optimize render-blocking resources, preload the hero image, and compress images

Page feels frozen for 1.5s

+5% bounce

Clicks on the primary CTA are ignored while JavaScript runs

Fix: Break up long tasks; defer non-critical JavaScript to post-hydration

Trust (2)

No HSTS header

+1% bounce

Returning visitors are briefly exposed to downgrade attacks on first request

Fix: Set Strict-Transport-Security: max-age=31536000; includeSubDomains

No Content-Security-Policy header

+1% bounce

Higher XSS blast radius — one compromised script can exfiltrate the checkout form

Fix: Ship a reporting-only CSP first, then enforce once violations are clean

Usability (1)

Layout shifts during page load

+3% bounce

Content movement causes mis-clicks on CTAs and form fields

Fix: Add width/height to images; reserve space for late-loading embeds

Content (2)

No structured data

+2% bounce

No rich-result eligibility in Google — lower SERP CTR vs competitors with stars and prices

Fix: Add JSON-LD for your page type (Product, Article, FAQPage, LocalBusiness, …)

Content is hard to read

+2% bounce

Graduate-level reading difficulty — limits the addressable audience for product or blog pages

Fix: Shorten sentences; replace jargon with plain language; target Flesch ease ≥60

Navigation (1)

No skip-to-content link

+1% bounce

Keyboard and screen-reader users must tab through the entire header on every page

Fix: Add a visible-on-focus <a href="#main">Skip to content</a> as the first focusable element

Preliminary CRO audit — each barrier links to the tab with detailed analysis.

Return on Investment

€275 investment → €1.84/month returns + EUR 120,500,000 risk avoided

Payback period: > 2 years First-year ROI: -92%

Investment

€275

5h · 5 findings

Monthly returns

€1.84 /mo

~€22 / year

  • Bandwidth savings €1.84

Regulatory risk avoided

EUR 120,500,000

if kept compliant

  • ePrivacy Directive EUR 100,000,000
  • RGPD EUR 20,000,000
  • EAA EUR 500,000

€83 — in quick wins — start here for the fastest payback

Figures combine localized regulatory fine ceilings, search/conversion value priced against local CPC, and bandwidth waste estimates. Results depend on implementation quality and audience composition. Not legal or financial advice.

Full methodology & sources

Estimated Remediation Cost

€275

5.0 developer hours at €55/hr

Based on Spain rates (€55/hr)

Quick wins
€83 3 fixes in ~90 minutes

Start here for the best return on investment

Cost by category

Cost by effort level

Adjust assumptions
/hr

Rates reflect fully-loaded developer cost including overhead

How developer rates are sourced

What Inaction Is Costing You

€10,041,669 / month at risk

~€120,500,022 / year if left unfixed

Compliance Risk

€120,500,000

ePrivacy DirectiveRGPDEAA
  • No privacy policy link detected
    RGPD: EUR 10,000 – EUR 20,000,000
  • Trackers detected but no cookie policy found
    RGPD: EUR 5,000 – EUR 10,000,000
  • Trackers detected but no cookie policy found
    RGPD: EUR 10,000 – EUR 20,000,000

+5 more

Bandwidth Waste

€1.84 /mo

24788.2 MB/mo × 0.074 EUR/GB

  • Optimize transfer: save ~2.5 MB per page load
    Saves €1.84/mo

Compliance figures represent the statutory maximum fine for the most severe triggered category, capped per regulation — not the sum of per-finding penalties. Based on published regulatory fine ranges. This is not legal advice.

Compliance methodology · SEO assumptions · Bandwidth model

Your performance is already good — improvements may show diminishing returns

Unique monthly visitors from your analytics

Purchases, signups, or key actions

Optional — for revenue estimation

additional conversions/month

more engaged visitors from reduced bounce

potential monthly revenue
Current bounce (est.)
After fixes (est.)
Estimated bounce reduction

Fix 5 critical issues to capture this value

How this is calculated

Based on Google/Deloitte research ("Milliseconds Make Millions") showing a ~7% bounce rate increase per additional second of LCP above the 2.5s "Good" threshold.

Your site's LCP: → estimated after fixes.

These are estimates based on industry research — actual results vary

Bounce-rate model & assumptions

Your data stays in your browser — nothing is sent to our servers

Was this report useful?

Thanks for your feedback!

We'll use a cached audit if available, or offer to scan.

Checking for existing audit...

Lighthouse Scores

Industry-standard audits powered by Google Lighthouse.

20
Performance Overall performance score (0–100) based on Core Web Vitals and other metrics. 90+ is good.
79
Accessibility Measures how accessible the page is for users with disabilities. Checks color contrast, ARIA labels, and semantic HTML.
81
Best Practices Checks for modern web development best practices including HTTPS, no console errors, and secure JavaScript.
92
SEO Measures basic SEO optimizations: meta tags, crawlability, link text, and mobile friendliness.

Core Web Vitals

Key metrics that affect user experience.

First Contentful Paint First Contentful Paint — how long until the browser renders the first piece of content. Under 1.8s is good.

12.07 s

Largest Contentful Paint Largest Contentful Paint — how long until the largest visible element loads. Under 2.5s is good.

31.12 s

Total Blocking Time Total Blocking Time — total time the main thread was blocked, preventing user input. Under 200ms is good.

1.48 s

Cumulative Layout Shift Cumulative Layout Shift — measures visual stability. How much the page layout shifts during loading. Under 0.1 is good.

0.194

Speed Index Speed Index — how quickly content is visually displayed during load. Under 3.4s is good.

12.07 s

Time to Interactive Time to Interactive — how long until the page is fully interactive and responds to user input. Under 3.8s is good.

40.09 s

Detailed Report

Audit breakdown by category with detailed findings.

20

Performance

Insights

Remove large, duplicate JavaScript modules from bundles to reduce unnecessary bytes consumed by network activity.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Polyfills and transforms enable older browsers to use new JavaScript features. However, many aren't necessary for modern browsers. Consider modifying your JavaScript build process to not transpile Baseline features, unless you know you must support older browsers. Learn why most sites can deploy ES6+ code without transpiling

Why this matters

Shipping ES5 transpiled code to modern browsers wastes bytes — every user with an evergreen browser pays for compatibility you don't need.

Learn more

Most users today run browsers that natively support ES6+, async/await, optional chaining, and the rest of modern JavaScript. Transpiling to ES5 'just in case' adds 20-40% to your bundle for no benefit. Configure your build to target a modern browserslist, or ship a differential bundle pair (modern + legacy) with the module/nomodule pattern.

Source: Google web.dev / Lighthouse

3rd party code can significantly impact load performance. Reduce and defer loading of 3rd party code to prioritize your page's content.

Why this matters

Performance issues directly impact user engagement and conversion rates.

A long cache lifetime can speed up repeat visits to your page. Learn more about caching.

Why this matters

Performance issues directly impact user engagement and conversion rates.

RequestCache TTLTransfer Size
mobile.com-shi-va.barcelona.cat/assets/index-CiPq0rWH.js0.0 ms698.1 KiB
com-shi-va.barcelona.cat/assets/index-97beb0ec.js0.0 ms533.3 KiB
www.barcelona.cat/estatics/geobcn/1.2/api-full-ca.js0.0 ms241.2 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/lib/openlayers/ol-6.15.1.js0.0 ms238.0 KiB
mobile.com-shi-va.barcelona.cat/assets/index-DFDXDFpa.css0.0 ms215.5 KiB
/wp-content/uploads/2026/04/09140356/InformeLlibreries-Fo...300.0 s177.3 KiB
/maps/api/js?key=AIzaSyA1hYiZ1NN9YNkxQPWfVHYhI7hmS1JLlLI&...1800.0 s182.0 KiB
releases.jquery.com/git/ui/jquery-ui-git.js300.0 s123.8 KiB
www.barcelona.cat/estatics-planol/v1.2/library/jquery-ui-1.10.4.js0.0 ms106.6 KiB
media-edg.barcelona.cat/wp-content/uploads/2026/04/22142006/IMG_1793-570x321.jpg300.0 s96.2 KiB
estatics-nasia.dtibcn.cat/nasia-pro/media/film_fest.570x321.95a61c4a.jpg300.0 s69.0 KiB
ajuntament.barcelona.cat/widgets/temps/v3/js/jquery-ui.min.js0.0 ms62.6 KiB
com-shi-va.barcelona.cat/assets/index-62bfe776.css0.0 ms60.7 KiB
img.youtube.com/vi/Q0mEbVO3pYc/maxresdefault.jpg7200.0 s80.9 KiB
www.barcelona.cat/assetsdi/icoajuntament-v2/fonts/icoajuntament-v2.ttf?4n8bjk28800.0 s90.8 KiB
estatics-nasia.dtibcn.cat/nasia-pro/media/Mishima.570x321.73f42630.jpg300.0 s55.9 KiB
/wp-content/uploads/2024/08/14102852/20191029_VisitaSaier...300.0 s53.6 KiB
/wp-content/uploads/2026/04/07142055/250423_AF_AmbientDia...300.0 s45.6 KiB
www.barcelona.cat/estatics-planol/v1.2/library/jquery.min.js0.0 ms35.0 KiB
ajuntament.barcelona.cat/widgets/temps/v3/js/jquery-1.11.2.min.js0.0 ms32.9 KiB
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/js/lib/jquery.min.js0.0 ms32.9 KiB
www.barcelona.cat/assetsdi/icoajuntament/fonts/icoajuntament.ttf?8aaig728800.0 s53.7 KiB
www.barcelona.cat/assets/core/javascripts/core.js900.0 s22.7 KiB
www.barcelona.cat/estatics-planol/v1.2/library/handlebars.min.js0.0 ms20.0 KiB
www.barcelona.cat/estatics-planol/v1.2/widget/js/min.js0.0 ms14.7 KiB
www.barcelona.cat/assets/core/stylesheets/core.css900.0 s13.6 KiB
www.barcelona.cat/estatics-planol/v1.2/widget/css/styles.css0.0 ms10.7 KiB
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/lib/slick/slick.min.js0.0 ms10.3 KiB
cdn.matomo.cloud/dadesbcn.matomo.cloud/container_beOBY9ep.js691200.0 s74.8 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/style/jsapi.css0.0 ms7.0 KiB
cdn.matomo.cloud/dadesbcn.matomo.cloud/container_ItpXlBOC.js691200.0 s68.8 KiB
/estatics/geobcn/1.2/js/lib/jquery/ui-1.10.4/themes/barce...0.0 ms6.4 KiB
mobile.com-shi-va.barcelona.cat/assets/DataLayer-Bthj09ff.js0.0 ms6.2 KiB
www.barcelona.cat/assetsdi/img/2025/logo-negre.svg180.0 s4.4 KiB
mobile.com-shi-va.barcelona.cat/assets/markerclusterer-BF8vaQHs.js0.0 ms4.0 KiB
www.barcelona.cat/assets/images/brand/banner/2025/logo-ajbcn.svg900.0 s4.4 KiB
ajuntament.barcelona.cat/widgets/bcn-avisos/js/bcn-avisos.js180.0 s3.6 KiB
ajuntament.barcelona.cat/widgets/bcn-avisos/js/v1/bcn-avisos.js180.0 s3.4 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/sprites-general.png0.0 ms3.3 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-ajuntament.svg900.0 s3.4 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/marker.png0.0 ms3.0 KiB
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/css/qualitat-aire.css0.0 ms2.9 KiB
www.barcelona.cat/estatics-planol/v1.2/fitxes/ca/templates.js0.0 ms2.9 KiB
www.barcelona.cat/assetsdi/icoajuntament-v2/bcn-icon.css28800.0 s4.6 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/marker_fort.png0.0 ms2.3 KiB
ajuntament.barcelona.cat/widgets/temps/v3/img/1.png0.0 ms2.1 KiB
www.barcelona.cat/assetsdi/icoajuntament/bcn-icon.css28800.0 s3.4 KiB
ajuntament.barcelona.cat/widgets/bcn-avisos/css/v1/bcn-avisos.css180.0 s2.1 KiB
ajuntament.barcelona.cat/widgets/temps/v3/css/styles.css0.0 ms2.0 KiB
ajuntament.barcelona.cat/widgets/bcn-avisos/css/bcn-avisos.css180.0 s1.9 KiB
ajuntament.barcelona.cat/widgets/temps/v3/js/detectmobilebrowser.js0.0 ms1.7 KiB
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/js/qualitat-aire.js0.0 ms1.6 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/lib/openlayers/css/ol-6.15.1.css0.0 ms1.6 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/checks-pc.png0.0 ms1.6 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-tramits.svg900.0 s1.7 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/close-cloud.gif0.0 ms1.5 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-premsa.svg900.0 s1.5 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-difusio.svg900.0 s1.5 KiB
com-shi-va.barcelona.cat/images/icons/preferences-o.svg0.0 ms1.3 KiB
com-shi-va.barcelona.cat/images/icons/layers.svg0.0 ms1.3 KiB
com-shi-va.barcelona.cat/images/icons/change-direction.svg0.0 ms1.2 KiB
mobile.com-shi-va.barcelona.cat/images/icons/marker-small.svg0.0 ms1.2 KiB
mobile.com-shi-va.barcelona.cat/images/icons/close.svg0.0 ms1.2 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-agenda.svg900.0 s1.3 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-iris.svg900.0 s1.3 KiB
com-shi-va.barcelona.cat/images/icons/zoom-in.svg0.0 ms1.1 KiB
com-shi-va.barcelona.cat/images/icons/kebab.svg0.0 ms1.1 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-comshiva.svg900.0 s1.3 KiB
com-shi-va.barcelona.cat/images/icons/preferences.svg0.0 ms1.1 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-planol.svg900.0 s1.2 KiB
com-shi-va.barcelona.cat/images/icons/best-transport.svg0.0 ms1.1 KiB
com-shi-va.barcelona.cat/images/icons/walking.svg0.0 ms1.1 KiB
com-shi-va.barcelona.cat/images/icons/warning.svg0.0 ms1.0 KiB
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/css/lameva.css0.0 ms1.0 KiB
com-shi-va.barcelona.cat/images/icons/marker.svg0.0 ms1.0 KiB
ajuntament.barcelona.cat/widgets/temps/v3/js/literals.js0.0 ms1.0 KiB
com-shi-va.barcelona.cat/images/icons/zoom-out.svg0.0 ms1.0 KiB
com-shi-va.barcelona.cat/images/icons/gps.svg0.0 ms1019 B
com-shi-va.barcelona.cat/images/icons/mapa.svg0.0 ms1016 B
com-shi-va.barcelona.cat/images/icons/paperera.svg0.0 ms1010 B
mobile.com-shi-va.barcelona.cat/assets/MapComponent-JjH5Vt-m.js0.0 ms952 B
com-shi-va.barcelona.cat/images/icons/public-transport.svg0.0 ms944 B
com-shi-va.barcelona.cat/images/arrow-help-2.svg0.0 ms926 B
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/lib/slick/slick.css0.0 ms915 B
com-shi-va.barcelona.cat/images/icons/include.svg0.0 ms903 B
com-shi-va.barcelona.cat/images/arrow-help-4.svg0.0 ms886 B
com-shi-va.barcelona.cat/images/arrow-help-3.svg0.0 ms876 B
com-shi-va.barcelona.cat/images/arrow-help-1.svg0.0 ms874 B
com-shi-va.barcelona.cat/images/icons/bicycle.svg0.0 ms867 B
com-shi-va.barcelona.cat/images/icons/search.svg0.0 ms862 B
com-shi-va.barcelona.cat/images/icons/car.svg0.0 ms861 B
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/dropdown.png0.0 ms486 B
/plugins/HeatmapSessionRecording/configs.php?idsite=46&tr...0.0 ms270 B
/plugins/HeatmapSessionRecording/configs.php?idsite=46&tr...0.0 ms269 B
/plugins/HeatmapSessionRecording/configs.php?idsite=19&tr...0.0 ms269 B
/maps/api/js?key=AIzaSyA1hYiZ1NN9YNkxQPWfVHYhI7hmS1JLlLI&...1800.0 s20 B
www.barcelona.cat/assets/core/stylesheets/core.css900.0 s0 B
www.barcelona.cat/assets/core/javascripts/core.js900.0 s0 B
www.barcelona.cat/assets/core/javascripts/core.js900.0 s0 B
www.barcelona.cat/assets/core/javascripts/core.js900.0 s0 B
www.barcelona.cat/assets/core/javascripts/core.js900.0 s0 B
www.barcelona.cat/assetsdi/icoajuntament-v2/bcn-icon.css28800.0 s0 B
www.barcelona.cat/assetsdi/icoajuntament/bcn-icon.css28800.0 s0 B
www.barcelona.cat/assetsdi/icoajuntament/bcn-icon.css28800.0 s0 B
www.barcelona.cat/assetsdi/icoajuntament/bcn-icon.css28800.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-ajuntament.svg900.0 s0 B
ajuntament.barcelona.cat/widgets/bcn-avisos/js/v1/bcn-avisos.js180.0 s0 B
ajuntament.barcelona.cat/widgets/bcn-avisos/css/v1/bcn-avisos.css180.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/logo-ajbcn.svg900.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-premsa.svg900.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-tramits.svg900.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-iris.svg900.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-agenda.svg900.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-comshiva.svg900.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-planol.svg900.0 s0 B
www.barcelona.cat/assets/images/brand/banner/2025/ico-difusio.svg900.0 s0 B

Layout shifts occur when elements move absent any user interaction. Investigate the causes of layout shifts, such as elements being added, removed, or their fonts changing as the page loads.

Why this matters

Performance issues directly impact user engagement and conversion rates.

headings: [map[key:node label:Element subItemsHeading:map[key:extra] valueType:node] map[granularity:0.001 key:score label:Layout shift score subItemsHeading:map[key:cause valueType:text] valueType:numeric]]
items: [map[node:map[type:text value:Total] score:0.193687] map[node:map[boundingRect:map[bottom:728 height:104 left:0 right:412 top:623 width:412] lhId:page-1-DIV nodeLabel:div#page-barcelonacat-wrapper > div#promotional-home > section.region > div#block-bcn-block-42 path:1,HTML,1,BODY,3,DIV,0,DIV,7,DIV,0,SECTION,2,DIV selector:div#page-barcelonacat-wrapper > div#promotional-home > section.region > div#block-bcn-block-42 snippet:<div id="block-bcn-block-42" style="background-color: transparent"> type:node] score:0.193687 subItems:map[items:[map[cause:Unsized image element extra:map[boundingRect:map[bottom:1686 height:215 left:15 right:397 top:1471 width:382] lhId:page-23-IMG nodeLabel:li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid path:1,HTML,1,BODY,3,DIV,0,DIV,13,MAIN,0,SECTION,0,DIV,0,DIV,2,DIV,2,DIV,0,DIV,0,DIV,0,DIV,0,UL,0,LI,0,DIV,0,DIV,0,IMG selector:li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid snippet:<img src="https://media-edg.barcelona.cat/wp-content/uploads/2026/04/07142055/250423…" alt="" class="img-fluid"> type:node]] map[cause:Web font extra:map[type:url value:https://www.barcelona.cat/libraries/accessible360--accessible-slick/slick/fonts/slick.woff]] map[cause:Web font extra:map[type:url value:https://fonts.gstatic.com/s/sourcesanspro/v23/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdu3cOWxw.woff2]] map[cause:Web font extra:map[type:url value:https://fonts.gstatic.com/s/sourcesanspro/v23/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdu3cOWxw.woff2]] map[cause:Web font extra:map[type:url value:https://fonts.gstatic.com/s/sourcesanspro/v23/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7lujVj9w.woff2]] map[cause:Web font extra:map[type:url value:https://fonts.gstatic.com/s/sourcesanspro/v23/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdu3cOWxw.woff2]] map[cause:Web font extra:map[type:url value:https://fonts.gstatic.com/s/sourcesanspro/v23/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdu3cOWxw.woff2]]] type:subitems]]]

Your first network request is the most important. Reduce its latency by avoiding redirects, ensuring a fast server response, and enabling text compression.

Why this matters

Performance issues directly impact user engagement and conversion rates.

A forced reflow occurs when JavaScript queries geometric properties (such as offsetWidth) after styles have been invalidated by a change to the DOM state. This can result in poor performance. Learn more about forced reflows and possible mitigations.

Why this matters

Performance issues directly impact user engagement and conversion rates.

headings: [map[key:source label:Top function call valueType:source-location] map[granularity:1 key:reflowTime label:Total reflow time valueType:ms]]
items: [map[reflowTime:53.591 source:map[column:156 line:10 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_F8_Nr0xrAI1C4QtaUsl4g0GAW841yxdUXMMi8F5R5y0.js?scope=footer&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]]]
headings: [map[key:source label:Source valueType:source-location] map[granularity:1 key:reflowTime label:Total reflow time valueType:ms]]
items: [map[reflowTime:15.783 source:map[column:50335 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.301 source:map[column:50393 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.218 source:map[column:50457 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:20.345 source:map[column:49615 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.407 source:map[column:51395 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.471 source:map[column:49637 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:16.066 source:map[column:3696 line:1 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_08daIdwTiu_Omt2gr_WLe0vHtL0_6kHpTc-q07TGwFY.js?scope=footer&delta=10&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]]]

Optimize LCP by making the LCP image discoverable from the HTML immediately, and avoiding lazy-loading

Why this matters

Performance issues directly impact user engagement and conversion rates.

lhId: page-0-IMG
nodeLabel: div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
path: 1,HTML,1,BODY,3,DIV,0,DIV,7,DIV,0,SECTION,0,DIV,0,DIV,0,DIV,1,DIV,0,DIV,0,DIV,0,DIV,1,DIV,0,DIV,0,DIV,0,DIV,0,DIV,0,DIV,0,IMG
selector: div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
snippet: <img class="bg-promo-capcalera" src="/sites/default/files/styles/cap_mobile/public/capcalera_1900_roses.jpg?ito…" data-img-full="/sites/default/files/capcalera_1900_roses.jpg" data-img-1280="/sites/default/files/styles/cap_1280/public/capcalera_1900_roses.jpg?itok=…" data-img-mobile="/sites/default/files/styles/cap_mobile/public/capcalera_1900_roses.jpg?ito…" alt="">

Avoid chaining critical requests by reducing the length of chains, reducing the download size of resources, or deferring the download of unnecessary resources to improve page load.

Why this matters

Performance issues directly impact user engagement and conversion rates.

description: [preconnect](https://developer.chrome.com/docs/lighthouse/performance/uses-rel-preconnect/) hints help the browser establish a connection earlier in the page load, saving time when the first request for that origin is made. The following are the origins that the page preconnected to.
title: Preconnected origins
value: no origins were preconnected
description: Add [preconnect](https://developer.chrome.com/docs/lighthouse/performance/uses-rel-preconnect/) hints to your most important origins, but try to use no more than 4.
title: Preconnect candidates

Reducing the download time of images can improve the perceived load time of the page and LCP. Learn more about optimizing image size

Why this matters

Performance issues directly impact user engagement and conversion rates.

URLResource SizeEst Savings
div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
/sites/default/files/styles/cap_mobile/public/capcalera_1...208.6 KiB191.8 KiB
Fem la Barcelona de la teva vida div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
/sites/default/files/styles/cap_mobile/public/platja_1024...204.4 KiB187.6 KiB
div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
/sites/default/files/styles/cap_mobile/public/240717_E_Fo...120.5 KiB103.7 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/ICUB_WebBarcelona_252x252px_0.png107.4 KiB103.3 KiB
div.box-destacat > div.content-box > div.box-img > img div.box-destacat > div.content-box > div.box-img > img
/sites/default/files/styles/destacat_petit/public/forndep...96.7 KiB92.4 KiB
div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid
img.youtube.com/vi/Q0mEbVO3pYc/maxresdefault.jpg80.4 KiB79.0 KiB
Una ciclista circula per un carril bici div.box-destacat > div.content-box > div.box-img > img
/sites/default/files/styles/destacat_petit/public/bicicle...81.6 KiB77.2 KiB
div.box-destacat > div.content-box > div.box-img > img div.box-destacat > div.content-box > div.box-img > img
/sites/default/files/styles/destacat_petit/public/museu-2...73.1 KiB68.8 KiB
div.box-destacat > div.content-box > div.box-img > img div.box-destacat > div.content-box > div.box-img > img
/sites/default/files/styles/destacat_petit/public/llibrer...69.8 KiB65.5 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/La%20Meva%20i%20Meet_252x252_P26_cat.jpg54.7 KiB50.5 KiB
Treballadora del SAIER atenent una usuària en una de les taules. Autor: Edu Bay… li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid
/wp-content/uploads/2024/08/14102852/20191029_VisitaSaier...53.1 KiB50.4 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/252x252_1_1.png39.6 KiB35.5 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/Grec26-Guia_BCN-252x252-CAT_0.jpg38.8 KiB34.6 KiB
li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid
/wp-content/uploads/2026/04/07142055/250423_AF_AmbientDia...45.2 KiB31.8 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
/sites/default/files/Banners Municipals_v2_252x252_2_barc...35.5 KiB31.3 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/Baner%20252%20x%202522.jpg27.5 KiB23.3 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/Banners%20Web_252x252.png22.9 KiB18.7 KiB
div.content-promo > div.contingut-promo > div.img-promo-capcalera > img div.content-promo > div.contingut-promo > div.img-promo-capcalera > img
www.barcelona.cat/sites/default/files/160x160_1.png12.1 KiB9.1 KiB

These insights are also available in the Chrome DevTools Performance Panel - record a trace to view more detailed information.

Time to Interactive is the amount of time it takes for the page to become fully interactive. Learn more about the Time to Interactive metric.

Why this matters

Performance issues directly impact user engagement and conversion rates.

TTI

Redirects introduce additional delays before the page can be loaded. Learn how to avoid page redirects.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Estimated savings: 1.7 s

These are the largest layout shifts observed on the page. Each table item represents a single layout shift, and shows the element that shifted the most. Below each item are possible root causes that led to the layout shift. Some of these layout shifts may not be included in the CLS metric value due to windowing. Learn how to improve CLS

Why this matters

Performance issues directly impact user engagement and conversion rates.

ElementLayout shift score
div#page-barcelonacat-wrapper > div#promotional-home > section.region > div#block-bcn-block-42 div#page-barcelonacat-wrapper > div#promotional-home > section.region > div#block-bcn-block-42
0.194

The maximum potential First Input Delay that your users could experience is the duration of the longest task. Learn more about the Maximum Potential First Input Delay metric.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Diagnostics

Minifying JavaScript files can reduce payload sizes and script parse time. Learn how to minify JavaScript.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Reduce unused rules from stylesheets and defer CSS not used for above-the-fold content to decrease bytes consumed by network activity. Learn how to reduce unused CSS.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Reduce unused JavaScript and defer loading scripts until they are required to decrease bytes consumed by network activity. Learn how to reduce unused JavaScript.

Why this matters

Multi-megabyte JavaScript bundles delay every interactive feature on the page.

Learn more

This is the Lighthouse audit fired when too much JS is shipped relative to what executes. The fix isn't a config flag — it requires bundle analysis (webpack-bundle-analyzer, rollup-plugin-visualizer), splitting routes into chunks, lazy-loading off-screen components, and removing unused dependencies. Fundamentally different from minification: minifying reduces byte count, this reduces what's downloaded at all.

Source: Google web.dev / Lighthouse

Consider reducing the time spent parsing, compiling, and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to reduce Javascript execution time.

Why this matters

Performance issues directly impact user engagement and conversion rates.

URLTotal CPU TimeScript EvaluationScript Parse
Unattributable2.1 s43 ms0.0 ms
mobile.com-shi-va.barcelona.cat/assets/index-CiPq0rWH.js1.7 s1.5 s8.2 ms
www.barcelona.cat/ca967 ms12 ms0.5 ms
com-shi-va.barcelona.cat/assets/index-97beb0ec.js624 ms522 ms8.5 ms
/sites/default/files/js/js_F8_Nr0xrAI1C4QtaUsl4g0GAW841yx...461 ms197 ms4.6 ms
www.barcelona.cat/estatics/geobcn/1.2/api-full-ca.js275 ms182 ms84 ms
cdn.matomo.cloud/dadesbcn.matomo.cloud/container_ItpXlBOC.js251 ms114 ms86 ms
www.barcelona.cat/estatics/geobcn/1.2/js/lib/openlayers/ol-6.15.1.js215 ms119 ms96 ms
/maps/api/js?key=AIzaSyA1hYiZ1NN9YNkxQPWfVHYhI7hmS1JLlLI&...207 ms131 ms68 ms
www.barcelona.cat/assets/core/javascripts/core.js171 ms124 ms39 ms
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/js/lib/jquery.min.js151 ms89 ms9.9 ms
/widgets/current/19e3126d-e1c9-4f40-9e90-8d7c407ac1cb/coo...151 ms109 ms8.9 ms
www.barcelona.cat/estatics-planol/v1.2/library/jquery-ui-1.10.4.js126 ms28 ms53 ms
cdn.matomo.cloud/dadesbcn.matomo.cloud/container_beOBY9ep.js125 ms82 ms41 ms
/js/script.file-downloads.hash.outbound-links.pageview-pr...119 ms83 ms4.2 ms
mobile.com-shi-va.barcelona.cat/assets/index-DFDXDFpa.css88 ms0.0 ms0.0 ms
mobile.com-shi-va.barcelona.cat/ca/api/widget/route83 ms0.5 ms1.1 ms
/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k...80 ms56 ms7.1 ms
ajuntament.barcelona.cat/widgets/temps/v3/js/jquery-1.11.2.min.js79 ms56 ms8.8 ms
releases.jquery.com/git/ui/jquery-ui-git.js79 ms31 ms47 ms
ajuntament.barcelona.cat/widgets/temps/v3/js/jquery-ui.min.js62 ms34 ms18 ms
geoportal.barcelona.cat/PlanolBCN/widget/Widget.aspx?lang=CA57 ms5.6 ms1.3 ms

Consider reducing the time spent parsing, compiling and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to minimize main-thread work

Why this matters

Performance issues directly impact user engagement and conversion rates.

CategoryTime Spent
Script Evaluation3.7 s
Other2.5 s
Style & Layout1.1 s
Script Parsing & Compilation675 ms
Parse HTML & CSS368 ms
Garbage Collection228 ms
Rendering111 ms

Many navigations are performed by going back to a previous page, or forwards again. The back/forward cache (bfcache) can speed up these return navigations. Learn more about the bfcache

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failure reasonFailure type
The page has an unload handler in a sub frame.Actionable

Minifying CSS files can reduce network payload sizes. Learn how to minify CSS.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Estimated savings: 0.0 ms 3.6 KiB
URLTransfer SizeEst Savings
www.barcelona.cat/estatics-planol/v1.2/widget/css/styles.css10.7 KiB3.6 KiB

Set an explicit width and height on image elements to reduce layout shifts and improve CLS. Learn how to set image dimensions

Why this matters

Performance issues directly impact user engagement and conversion rates.

URL
div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid
img.youtube.com/vi/Q0mEbVO3pYc/maxresdefault.jpg
li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid
/wp-content/uploads/2026/04/07142055/250423_AF_AmbientDia...
Treballadora del SAIER atenent una usuària en una de les taules. Autor: Edu Bay… li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid
/wp-content/uploads/2024/08/14102852/20191029_VisitaSaier...
Logotip de l'Ajuntament de Barcelona div#lw-banner > div.lw-banner-wrapper > div.lw-banner-brand > img
/media/widgets/brands/19e3126d-e1c9-4f40-9e90-8d7c407ac1c...
Logo Ajuntament de Barcelona div.bcnbrand-navs-container > div.bcnbrand-logo-main > a.plausible-event-name=barra-logo > img
www.barcelona.cat/assets/images/brand/banner/2025/logo-ajbcn.svg
Barcelona City Council logo div#block-barcelonacat-theme-marcadellloc > div.container > div.barcelona-branding-logo > img
www.barcelona.cat/assets/images/brand/banner/2025/logo-ajbcn.svg
Barcelona City Council logo div.container > nav#menu-footer > a > img
www.barcelona.cat/assetsdi/img/2025/logo-negre.svg

More information about the performance of your application. These numbers don't directly affect the Performance score.

Optimize DOM size
LCP breakdown
Modern HTTP
Optimize viewport for mobile
Avoid long main-thread tasks 20 long tasks found
Avoid non-composited animations 18 animated elements found
Network Requests
Network Round Trip Times 30 ms
Server Backend Latencies 60 ms
Tasks
Diagnostics
Metrics
Screenshot Thumbnails
Final Screenshot
Script Treemap Data
Resources Summary
Initial server response time was short Root document took 0 ms
INP breakdown
User Timing marks and measures
79

Accessibility

These checks highlight opportunities to improve the accessibility of your web app. Automatic detection can only detect a subset of issues and does not guarantee the accessibility of your web app, so manual testing is also encouraged.

ARIA

When a `progressbar` element doesn't have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. Learn how to label `progressbar` elements.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
66.66666666666666% completed div.views-row > div#carousel-capcalera > div.footer-carousel-capcalera > div#progressbar-carousel-capcalera

These are opportunities to improve the usage of ARIA in your application which may enhance the experience for users of assistive technology, like a screen reader.

Names and labels

When a button doesn't have an accessible name, screen readers announce it as "button", making it unusable for users who rely on screen readers. Learn how to make buttons more accessible.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
div.bcnbrand-navs-wrapper > nav.bcnbrand-navbar-search > div#bcnbrand-search-dropdown > button#bcnbrand-search-toggle div.bcnbrand-navs-wrapper > nav.bcnbrand-navbar-search > div#bcnbrand-search-dropdown > button#bcnbrand-search-toggle
div.bcnbrand-navs-wrapper > nav.bcnbrand-navbar-shortcuts > div#bcnbrand-shortcuts-dropdown > button#bcnbrand-shortcuts-toggle div.bcnbrand-navs-wrapper > nav.bcnbrand-navbar-shortcuts > div#bcnbrand-shortcuts-dropdown > button#bcnbrand-shortcuts-toggle

Informative elements should aim for short, descriptive alternate text. Decorative elements can be ignored with an empty alt attribute. Learn more about the `alt` attribute.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid

Screen reader users rely on frame titles to describe the contents of frames. Learn more about frame titles.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
section.region > div#block-barcelonacat-theme-iframetemps > p > iframe#i-temps section.region > div#block-barcelonacat-theme-iframetemps > p > iframe#i-temps
section.region > div#block-bcn-block-42 > p > iframe#qualitat-aire-i section.region > div#block-bcn-block-42 > p > iframe#qualitat-aire-i

These are opportunities to improve the semantics of the controls in your application. This may enhance the experience for users of assistive technology, like a screen reader.

Navigation

A value greater than 0 implies an explicit navigation ordering. Although technically valid, this often creates frustrating experiences for users who rely on assistive technologies. Learn more about the `tabindex` attribute.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
Vés al contingut body.page-node-58 > a.visually-hidden

These are opportunities to improve keyboard navigation in your application.

Best practices

Touch targets with sufficient size and spacing help users who may have difficulty targeting small controls to activate the targets. Learn more about touch targets.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
div.js-view-dom-id-021a2cf942d6f128d53e78256371fe7e725814233850c1952b4d28ac2735d9bf > form#cercadormobile > div.cercadormobile-input > button div.js-view-dom-id-021a2cf942d6f128d53e78256371fe7e725814233850c1952b4d28ac2735d9bf > form#cercadormobile > div.cercadormobile-input > button

These items highlight common accessibility best practices.

Interactive controls are keyboard focusable
Interactive elements indicate their purpose and state
The page has a logical tab order
Visual order on the page follows DOM order
User focus is not accidentally trapped in a region
The user's focus is directed to new content added to the page
HTML5 landmark elements are used to improve navigation
Offscreen content is hidden from assistive technology
Custom controls have associated labels
Custom controls have ARIA roles
`[aria-*]` attributes match their roles
`[aria-hidden="true"]` is not present on the document `<body>`
`[role]`s have all required `[aria-*]` attributes
`[role]` values are valid
`[aria-*]` attributes have valid values
`[aria-*]` attributes are valid and not misspelled
Form elements have associated labels
`[user-scalable="no"]` is not used in the `<meta name="viewport">` element and the `[maximum-scale]` attribute is not less than 5.
`button`, `link`, and `menuitem` elements have accessible names
ARIA attributes are used as specified for the element's role
Elements with `role="dialog"` or `role="alertdialog"` have accessible names.
`[aria-hidden="true"]` elements do not contain focusable descendents
Elements use only permitted ARIA attributes
Background and foreground colors have a sufficient contrast ratio
Document has a `<title>` element
`<html>` element has a `[lang]` attribute
`<html>` element has a valid value for its `[lang]` attribute
Links are distinguishable without relying on color.
Links have a discernible name
Lists contain only `<li>` elements and script supporting elements (`<script>` and `<template>`).
List items (`<li>`) are contained within `<ul>`, `<ol>` or `<menu>` parent elements
Heading elements appear in a sequentially-descending order
Document has a main landmark.
Deprecated ARIA roles were not used
Identical links have the same purpose.
Elements with visible text labels have matching accessible names.
`[accesskey]` values are unique
ARIA input fields have accessible names
ARIA `meter` elements have accessible names
Elements with an ARIA `[role]` that require children to contain a specific `[role]` have all required children.
`[role]`s are contained by their required parent element
Elements with the `role=text` attribute do not have focusable descendents.
ARIA toggle fields have accessible names
ARIA `tooltip` elements have accessible names
ARIA `treeitem` elements have accessible names
The page contains a heading, skip link, or landmark region
`<dl>`'s contain only properly-ordered `<dt>` and `<dd>` groups, `<script>`, `<template>` or `<div>` elements.
Definition list items are wrapped in `<dl>` elements
ARIA IDs are unique
No form fields have multiple labels
`<html>` element has an `[xml:lang]` attribute with the same base language as the `[lang]` attribute.
Input buttons have discernible text.
`<input type="image">` elements have `[alt]` text
The document does not use `<meta http-equiv="refresh">`
`<object>` elements have alternate text
Select elements have associated label elements.
Skip links are focusable.
Cells in a `<table>` element that use the `[headers]` attribute refer to table cells within the same table.
`<th>` elements and elements with `[role="columnheader"/"rowheader"]` have data cells they describe.
`[lang]` attributes have a valid value
`<video>` elements contain a `<track>` element with `[kind="captions"]`
Tables have different content in the summary attribute and `<caption>`.
All heading elements contain content.
Uses ARIA roles only on compatible elements
Image elements do not have `[alt]` attributes that are redundant text.
Tables use `<caption>` instead of cells with the `[colspan]` attribute to indicate a caption.
`<td>` elements in a large `<table>` have one or more table headers.
81

Best Practices

General

Deprecated APIs will eventually be removed from the browser. Learn more about deprecated APIs.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Deprecation / WarningSource
Unload event listeners are deprecated and will be removed.
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.

Source maps translate minified code to the original source code. This helps developers debug in production. In addition, Lighthouse is able to provide further insights. Consider deploying source maps to take advantage of these benefits. Learn more about source maps.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Uses HTTPS
Avoids third-party cookies
Allows users to paste into input fields
Avoids requesting the geolocation permission on page load
Avoids requesting the notification permission on page load
Displays images with correct aspect ratio
Serves images with appropriate resolution
Page has the HTML doctype
Properly defines charset
No browser errors logged to the console
No issues in the `Issues` panel in Chrome Devtools
Ensure CSP is effective against XSS attacks
Use a strong HSTS policy
Ensure proper origin isolation with COOP
Mitigate DOM-based XSS with Trusted Types
Detected JavaScript libraries
Redirects HTTP traffic to HTTPS
Mitigate clickjacking with XFO or CSP
92

SEO

These checks ensure that your page is following basic search engine optimization advice. There are many additional factors Lighthouse does not score here that may affect your search ranking, including performance on Core Web Vitals. Learn more about Google Search Essentials.

Content Best Practices

Informative elements should aim for short, descriptive alternate text. Decorative elements can be ignored with an empty alt attribute. Learn more about the `alt` attribute.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid

Format your HTML in a way that enables crawlers to better understand your app’s content.

Structured data is valid
Page isn’t blocked from indexing
Document has a `<title>` element
Document has a meta description
Page has successful HTTP status code
Links have descriptive text
Links are crawlable
robots.txt is valid
Document has a valid `hreflang`
Document has a valid `rel=canonical`

Lighthouse Scores

Industry-standard audits powered by Google Lighthouse. — Desktop

75
Performance Overall performance score (0–100) based on Core Web Vitals and other metrics. 90+ is good.
86
Accessibility Measures how accessible the page is for users with disabilities. Checks color contrast, ARIA labels, and semantic HTML.
77
Best Practices Checks for modern web development best practices including HTTPS, no console errors, and secure JavaScript.
92
SEO Measures basic SEO optimizations: meta tags, crawlability, link text, and mobile friendliness.

Core Web Vitals

Key metrics that affect user experience. — Desktop

First Contentful Paint First Contentful Paint — how long until the browser renders the first piece of content. Under 1.8s is good.

929 ms

Largest Contentful Paint Largest Contentful Paint — how long until the largest visible element loads. Under 2.5s is good.

3.12 s

Total Blocking Time Total Blocking Time — total time the main thread was blocked, preventing user input. Under 200ms is good.

164 ms

Cumulative Layout Shift Cumulative Layout Shift — measures visual stability. How much the page layout shifts during loading. Under 0.1 is good.

0.000

Speed Index Speed Index — how quickly content is visually displayed during load. Under 3.4s is good.

1.89 s

Time to Interactive Time to Interactive — how long until the page is fully interactive and responds to user input. Under 3.8s is good.

5.90 s

Detailed Report

Audit breakdown by category with detailed findings.

75

Performance

Insights

Remove large, duplicate JavaScript modules from bundles to reduce unnecessary bytes consumed by network activity.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Polyfills and transforms enable older browsers to use new JavaScript features. However, many aren't necessary for modern browsers. Consider modifying your JavaScript build process to not transpile Baseline features, unless you know you must support older browsers. Learn why most sites can deploy ES6+ code without transpiling

Why this matters

Shipping ES5 transpiled code to modern browsers wastes bytes — every user with an evergreen browser pays for compatibility you don't need.

Learn more

Most users today run browsers that natively support ES6+, async/await, optional chaining, and the rest of modern JavaScript. Transpiling to ES5 'just in case' adds 20-40% to your bundle for no benefit. Configure your build to target a modern browserslist, or ship a differential bundle pair (modern + legacy) with the module/nomodule pattern.

Source: Google web.dev / Lighthouse

3rd party code can significantly impact load performance. Reduce and defer loading of 3rd party code to prioritize your page's content.

Why this matters

Performance issues directly impact user engagement and conversion rates.

A long cache lifetime can speed up repeat visits to your page. Learn more about caching.

Why this matters

Performance issues directly impact user engagement and conversion rates.

RequestCache TTLTransfer Size
com-shi-va.barcelona.cat/assets/index-97beb0ec.js0.0 ms533.3 KiB
www.barcelona.cat/estatics/geobcn/1.2/api-full-ca.js0.0 ms241.2 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/lib/openlayers/ol-6.15.1.js0.0 ms238.0 KiB
com-shi-va.barcelona.cat/images/widget-metro.jpg0.0 ms229.8 KiB
/wp-content/uploads/2026/04/09140356/InformeLlibreries-Fo...300.0 s177.3 KiB
/maps/api/js?key=AIzaSyA1hYiZ1NN9YNkxQPWfVHYhI7hmS1JLlLI&...1800.0 s182.0 KiB
releases.jquery.com/git/ui/jquery-ui-git.js300.0 s123.8 KiB
www.barcelona.cat/estatics-planol/v1.2/library/jquery-ui-1.10.4.js0.0 ms106.6 KiB
media-edg.barcelona.cat/wp-content/uploads/2026/04/22142006/IMG_1793-570x321.jpg300.0 s96.2 KiB
estatics-nasia.dtibcn.cat/nasia-pro/media/film_fest.570x321.95a61c4a.jpg300.0 s69.0 KiB
ajuntament.barcelona.cat/widgets/temps/v3/js/jquery-ui.min.js0.0 ms62.6 KiB
com-shi-va.barcelona.cat/assets/index-62bfe776.css0.0 ms60.7 KiB
img.youtube.com/vi/Q0mEbVO3pYc/maxresdefault.jpg7200.0 s80.9 KiB
www.barcelona.cat/assetsdi/icoajuntament-v2/fonts/icoajuntament-v2.ttf?4n8bjk28800.0 s91.2 KiB
estatics-nasia.dtibcn.cat/nasia-pro/media/Mishima.570x321.73f42630.jpg300.0 s55.9 KiB
/wp-content/uploads/2024/08/14102852/20191029_VisitaSaier...300.0 s53.6 KiB
/wp-content/uploads/2026/04/07142055/250423_AF_AmbientDia...300.0 s45.6 KiB
www.barcelona.cat/estatics-planol/v1.2/library/jquery.min.js0.0 ms35.0 KiB
ajuntament.barcelona.cat/widgets/temps/v3/js/jquery-1.11.2.min.js0.0 ms32.9 KiB
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/js/lib/jquery.min.js0.0 ms32.9 KiB
www.barcelona.cat/assetsdi/icoajuntament/fonts/icoajuntament.ttf?8aaig728800.0 s53.8 KiB
www.barcelona.cat/assets/core/javascripts/core.js900.0 s22.7 KiB
www.barcelona.cat/estatics-planol/v1.2/library/handlebars.min.js0.0 ms20.0 KiB
www.barcelona.cat/estatics-planol/v1.2/widget/js/min.js0.0 ms14.7 KiB
www.barcelona.cat/assets/core/stylesheets/core.css900.0 s13.6 KiB
www.barcelona.cat/estatics-planol/v1.2/widget/css/styles.css0.0 ms10.7 KiB
cdn.matomo.cloud/dadesbcn.matomo.cloud/container_beOBY9ep.js691200.0 s74.8 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/style/jsapi.css0.0 ms7.0 KiB
/estatics/geobcn/1.2/js/lib/jquery/ui-1.10.4/themes/barce...0.0 ms6.4 KiB
www.barcelona.cat/assetsdi/img/2025/logo-negre.svg180.0 s4.4 KiB
com-shi-va.barcelona.cat/assets/markerclusterer-d8cec618.js0.0 ms4.0 KiB
www.barcelona.cat/assets/images/brand/banner/2025/logo-ajbcn.svg900.0 s4.4 KiB
ajuntament.barcelona.cat/widgets/bcn-avisos/js/bcn-avisos.js180.0 s3.6 KiB
ajuntament.barcelona.cat/widgets/bcn-avisos/js/v1/bcn-avisos.js180.0 s3.4 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/sprites-general.png0.0 ms3.3 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-ajuntament.svg900.0 s3.4 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/marker.png0.0 ms3.0 KiB
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/css/qualitat-aire.css0.0 ms2.9 KiB
www.barcelona.cat/estatics-planol/v1.2/fitxes/ca/templates.js0.0 ms2.9 KiB
www.barcelona.cat/assetsdi/icoajuntament-v2/bcn-icon.css28800.0 s4.6 KiB
www.barcelona.cat/estatics-planol/v1.2/widget/img/spriteWidget.png0.0 ms2.7 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/marker_fort.png0.0 ms2.3 KiB
com-shi-va.barcelona.cat/assets/DataLayer-3d311d43.js0.0 ms2.1 KiB
ajuntament.barcelona.cat/widgets/temps/v3/img/1.png0.0 ms2.1 KiB
www.barcelona.cat/assetsdi/icoajuntament/bcn-icon.css28800.0 s3.4 KiB
ajuntament.barcelona.cat/widgets/bcn-avisos/css/v1/bcn-avisos.css180.0 s2.1 KiB
ajuntament.barcelona.cat/widgets/temps/v3/css/styles.css0.0 ms2.0 KiB
ajuntament.barcelona.cat/widgets/bcn-avisos/css/bcn-avisos.css180.0 s1.9 KiB
ajuntament.barcelona.cat/widgets/temps/v3/js/detectmobilebrowser.js0.0 ms1.7 KiB
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/js/qualitat-aire.js0.0 ms1.6 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/lib/openlayers/css/ol-6.15.1.css0.0 ms1.6 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/checks-pc.png0.0 ms1.6 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-tramits.svg900.0 s1.7 KiB
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/close-cloud.gif0.0 ms1.5 KiB
com-shi-va.barcelona.cat/images/points.png0.0 ms1.5 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-premsa.svg900.0 s1.5 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-difusio.svg900.0 s1.5 KiB
com-shi-va.barcelona.cat/images/icons/preferences-o.svg0.0 ms1.3 KiB
com-shi-va.barcelona.cat/images/icons/layers.svg0.0 ms1.3 KiB
com-shi-va.barcelona.cat/images/icons/change-direction.svg0.0 ms1.3 KiB
/estatics-planol/v1.2/img/iconesFuncionalitats/Enabled/ic...0.0 ms1.2 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-agenda.svg900.0 s1.4 KiB
com-shi-va.barcelona.cat/images/icons/apropmeu.svg0.0 ms1.2 KiB
com-shi-va.barcelona.cat/images/icons/zoom-in.svg0.0 ms1.2 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-iris.svg900.0 s1.3 KiB
com-shi-va.barcelona.cat/images/icons/recents.svg0.0 ms1.1 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-comshiva.svg900.0 s1.3 KiB
com-shi-va.barcelona.cat/images/icons/kebab.svg0.0 ms1.1 KiB
com-shi-va.barcelona.cat/images/icons/preferences.svg0.0 ms1.1 KiB
com-shi-va.barcelona.cat/images/icons/best-transport.svg0.0 ms1.1 KiB
www.barcelona.cat/assets/images/brand/banner/2025/ico-planol.svg900.0 s1.2 KiB
com-shi-va.barcelona.cat/images/icons/walking.svg0.0 ms1.1 KiB
com-shi-va.barcelona.cat/images/icons/warning.svg0.0 ms1.1 KiB
ajuntament.barcelona.cat/widgets/qualitat-aire/v2/css/lameva.css0.0 ms1.0 KiB
com-shi-va.barcelona.cat/images/icons/marker.svg0.0 ms1.0 KiB
ajuntament.barcelona.cat/widgets/temps/v3/js/literals.js0.0 ms1.0 KiB
com-shi-va.barcelona.cat/images/icons/zoom-out.svg0.0 ms1.0 KiB
com-shi-va.barcelona.cat/images/icons/mapa.svg0.0 ms1.0 KiB
com-shi-va.barcelona.cat/images/icons/gps.svg0.0 ms1.0 KiB
com-shi-va.barcelona.cat/images/icons/paperera.svg0.0 ms1019 B
com-shi-va.barcelona.cat/assets/MapComponent-91936e9d.js0.0 ms964 B
com-shi-va.barcelona.cat/images/icons/public-transport.svg0.0 ms954 B
com-shi-va.barcelona.cat/images/arrow-help-2.svg0.0 ms926 B
com-shi-va.barcelona.cat/images/icons/include.svg0.0 ms911 B
com-shi-va.barcelona.cat/images/arrow-help-4.svg0.0 ms897 B
com-shi-va.barcelona.cat/images/arrow-help-1.svg0.0 ms885 B
com-shi-va.barcelona.cat/images/icons/comshiva.svg0.0 ms883 B
com-shi-va.barcelona.cat/images/arrow-help-3.svg0.0 ms877 B
com-shi-va.barcelona.cat/images/icons/bicycle.svg0.0 ms874 B
com-shi-va.barcelona.cat/images/icons/search.svg0.0 ms872 B
com-shi-va.barcelona.cat/images/icons/car.svg0.0 ms871 B
com-shi-va.barcelona.cat/images/icons/transit.svg0.0 ms825 B
com-shi-va.barcelona.cat/images/icons/liniesiparades.svg0.0 ms801 B
/widgets/qualitat-aire/v2/img/ico-fletxa-esquerra2-l-ligh...0.0 ms590 B
/widgets/qualitat-aire/v2/img/ico-fletxa-dreta2-l-light.svg0.0 ms587 B
/estatics-planol/v1.2/img/iconesFuncionalitats/Enabled/ic...0.0 ms552 B
/estatics-planol/v1.2/img/iconesFuncionalitats/Enabled/ic...0.0 ms533 B
www.barcelona.cat/estatics/geobcn/1.2/js/api/1.2/img/mapa/dropdown.png0.0 ms487 B
/plugins/HeatmapSessionRecording/configs.php?idsite=19&tr...0.0 ms270 B
www.barcelona.cat/assets/core/stylesheets/core.css900.0 s0 B
www.barcelona.cat/assetsdi/icoajuntament/fonts/icoajuntament.ttf?8aaig728800.0 s0 B
www.barcelona.cat/assets/core/javascripts/core.js900.0 s0 B
www.barcelona.cat/assets/core/javascripts/core.js900.0 s0 B
www.barcelona.cat/assets/core/javascripts/core.js900.0 s0 B
www.barcelona.cat/assets/core/javascripts/core.js900.0 s0 B
www.barcelona.cat/assetsdi/icoajuntament/bcn-icon.css28800.0 s0 B
www.barcelona.cat/assetsdi/icoajuntament/bcn-icon.css28800.0 s0 B
ajuntament.barcelona.cat/widgets/bcn-avisos/js/v1/bcn-avisos.js180.0 s0 B
ajuntament.barcelona.cat/widgets/bcn-avisos/css/v1/bcn-avisos.css180.0 s0 B

Your first network request is the most important. Reduce its latency by avoiding redirects, ensuring a fast server response, and enabling text compression.

Why this matters

Performance issues directly impact user engagement and conversion rates.

A forced reflow occurs when JavaScript queries geometric properties (such as offsetWidth) after styles have been invalidated by a change to the DOM state. This can result in poor performance. Learn more about forced reflows and possible mitigations.

Why this matters

Performance issues directly impact user engagement and conversion rates.

headings: [map[key:source label:Top function call valueType:source-location] map[granularity:1 key:reflowTime label:Total reflow time valueType:ms]]
items: [map[reflowTime:52.994 source:map[column:156 line:10 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_F8_Nr0xrAI1C4QtaUsl4g0GAW841yxdUXMMi8F5R5y0.js?scope=footer&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]]]
headings: [map[key:source label:Source valueType:source-location] map[granularity:1 key:reflowTime label:Total reflow time valueType:ms]]
items: [map[reflowTime:63.888 source:map[type:text value:[unattributed]]] map[reflowTime:18.248 source:map[column:85575 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.988 source:map[column:50335 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.271 source:map[column:50393 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.196 source:map[column:50457 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:26.743 source:map[column:49615 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.394 source:map[column:51395 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.508 source:map[column:49637 line:2 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_TV-6NmEFCXNyVeFryE-1GtAhDgo_5k4X7RWaB1cVpjI.js?scope=header&delta=0&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:5.646 source:map[column:7201 line:1 type:source-location url:https://www.barcelona.cat/sites/default/files/js/js_08daIdwTiu_Omt2gr_WLe0vHtL0_6kHpTc-q07TGwFY.js?scope=footer&delta=10&language=ca&theme=barcelonacat_theme&include=eJx1j1EKAjEMRC9k6ZHKbDaukW6ypKno7S0osh_1Jwkzj2GCe9fAzhoFFB1VApHVQki4XXCyH9Ks5c_6ayQccja3LshjjKwFTlxNQYgSN945L2bRwnEUWnUOPJPo1dLKLYa-YkYR3HrjmggHobJPqW9ETJts1RbU1OJVRbcZMd7pM_1w28ffoyW7mI900jI4R_5dhZ_BrqhvmxmQ3w urlProvider:network]] map[reflowTime:0.392 source:map[column:793 line:0 type:source-location url:https://plausible.io/js/script.file-downloads.hash.outbound-links.pageview-props.tagged-events.js urlProvider:network]] map[reflowTime:0.265 source:map[column:28765 line:7 type:source-location url:https://www.barcelona.cat/estatics-planol/v1.2/library/jquery.min.js urlProvider:network]] map[reflowTime:0.756 source:map[column:52881 line:39 type:source-location url:https://com-shi-va.barcelona.cat/assets/index-97beb0ec.js urlProvider:network]]]

Reducing the download time of images can improve the perceived load time of the page and LCP. Learn more about optimizing image size

Why this matters

Performance issues directly impact user engagement and conversion rates.

URLResource SizeEst Savings
Fem la Barcelona de la teva vida div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
www.barcelona.cat/sites/default/files/platja_1920x540.jpg1.0 MiB926.1 KiB
div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
www.barcelona.cat/sites/default/files/capcalera_1900_roses.jpg237.9 KiB116.2 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/ICUB_WebBarcelona_252x252px_0.png107.4 KiB103.3 KiB
div.box-destacat > div.content-box > div.box-img > img div.box-destacat > div.content-box > div.box-img > img
/sites/default/files/styles/destacat_petit/public/edifici...102.8 KiB93.7 KiB
div.box-destacat > div.content-box > div.box-img > img div.box-destacat > div.content-box > div.box-img > img
/sites/default/files/styles/destacat_petit/public/forndep...96.7 KiB87.7 KiB
div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
/sites/default/files/240717_E_FotografiesRecurs_Pantalles...196.2 KiB77.6 KiB
div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid
img.youtube.com/vi/Q0mEbVO3pYc/maxresdefault.jpg80.4 KiB77.3 KiB
Una ciclista circula per un carril bici div.box-destacat > div.content-box > div.box-img > img
/sites/default/files/styles/destacat_petit/public/bicicle...81.6 KiB72.5 KiB
div.box-destacat > div.content-box > div.box-img > img div.box-destacat > div.content-box > div.box-img > img
/sites/default/files/styles/destacat_petit/public/museu-2...73.1 KiB64.1 KiB
div.box-destacat > div.content-box > div.box-img > img div.box-destacat > div.content-box > div.box-img > img
/sites/default/files/styles/destacat_petit/public/llibrer...69.8 KiB60.8 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/La%20Meva%20i%20Meet_252x252_P26_cat.jpg54.7 KiB50.5 KiB
Treballadora del SAIER atenent una usuària en una de les taules. Autor: Edu Bay… li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid
/wp-content/uploads/2024/08/14102852/20191029_VisitaSaier...53.1 KiB47.5 KiB
li.col-md-6 > article > div.ajuntament-guia-item-image > img li.col-md-6 > article > div.ajuntament-guia-item-image > img
estatics-nasia.dtibcn.cat/nasia-pro/media/film_fest.570x321.95a61c4a.jpg68.6 KiB43.3 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/252x252_1_1.png39.6 KiB35.5 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/Grec26-Guia_BCN-252x252-CAT_0.jpg38.8 KiB34.6 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
/sites/default/files/Banners Municipals_v2_252x252_2_barc...35.5 KiB31.3 KiB
li.col-md-6 > article > div.ajuntament-guia-item-image > img li.col-md-6 > article > div.ajuntament-guia-item-image > img
estatics-nasia.dtibcn.cat/nasia-pro/media/Mishima.570x321.73f42630.jpg55.5 KiB30.2 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/Baner%20252%20x%202522.jpg27.5 KiB23.3 KiB
li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid
/wp-content/uploads/2026/04/07142055/250423_AF_AmbientDia...45.2 KiB19.5 KiB
div.slick-slide > div > div.item > img div.slick-slide > div > div.item > img
www.barcelona.cat/sites/default/files/Banners%20Web_252x252.png22.9 KiB18.7 KiB
div.content-promo > div.contingut-promo > div.img-promo-capcalera > img div.content-promo > div.contingut-promo > div.img-promo-capcalera > img
www.barcelona.cat/sites/default/files/160x160_1.png12.1 KiB8.0 KiB

Optimize LCP by making the LCP image discoverable from the HTML immediately, and avoiding lazy-loading

Why this matters

Performance issues directly impact user engagement and conversion rates.

lhId: page-1-IMG
nodeLabel: div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
path: 1,HTML,1,BODY,3,DIV,0,DIV,7,DIV,0,SECTION,0,DIV,0,DIV,0,DIV,1,DIV,0,DIV,0,DIV,0,DIV,1,DIV,0,DIV,0,DIV,0,DIV,0,DIV,0,DIV,0,IMG
selector: div > div.item-bg > div.bg-promo-capcalera > img.bg-promo-capcalera
snippet: <img class="bg-promo-capcalera" src="/sites/default/files/capcalera_1900_roses.jpg" data-img-full="/sites/default/files/capcalera_1900_roses.jpg" data-img-1280="/sites/default/files/styles/cap_1280/public/capcalera_1900_roses.jpg?itok=…" data-img-mobile="/sites/default/files/styles/cap_mobile/public/capcalera_1900_roses.jpg?ito…" alt="">

Avoid chaining critical requests by reducing the length of chains, reducing the download size of resources, or deferring the download of unnecessary resources to improve page load.

Why this matters

Performance issues directly impact user engagement and conversion rates.

description: [preconnect](https://developer.chrome.com/docs/lighthouse/performance/uses-rel-preconnect/) hints help the browser establish a connection earlier in the page load, saving time when the first request for that origin is made. The following are the origins that the page preconnected to.
title: Preconnected origins
value: no origins were preconnected
description: Add [preconnect](https://developer.chrome.com/docs/lighthouse/performance/uses-rel-preconnect/) hints to your most important origins, but try to use no more than 4.
title: Preconnect candidates

These insights are also available in the Chrome DevTools Performance Panel - record a trace to view more detailed information.

Redirects introduce additional delays before the page can be loaded. Learn how to avoid page redirects.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Estimated savings: 467 ms

Time to Interactive is the amount of time it takes for the page to become fully interactive. Learn more about the Time to Interactive metric.

Why this matters

Performance issues directly impact user engagement and conversion rates.

TTI

The maximum potential First Input Delay that your users could experience is the duration of the longest task. Learn more about the Maximum Potential First Input Delay metric.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Diagnostics

Minifying JavaScript files can reduce payload sizes and script parse time. Learn how to minify JavaScript.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Reduce unused rules from stylesheets and defer CSS not used for above-the-fold content to decrease bytes consumed by network activity. Learn how to reduce unused CSS.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Reduce unused JavaScript and defer loading scripts until they are required to decrease bytes consumed by network activity. Learn how to reduce unused JavaScript.

Why this matters

Multi-megabyte JavaScript bundles delay every interactive feature on the page.

Learn more

This is the Lighthouse audit fired when too much JS is shipped relative to what executes. The fix isn't a config flag — it requires bundle analysis (webpack-bundle-analyzer, rollup-plugin-visualizer), splitting routes into chunks, lazy-loading off-screen components, and removing unused dependencies. Fundamentally different from minification: minifying reduces byte count, this reduces what's downloaded at all.

Source: Google web.dev / Lighthouse

Consider reducing the time spent parsing, compiling and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to minimize main-thread work

Why this matters

Performance issues directly impact user engagement and conversion rates.

CategoryTime Spent
Script Evaluation972 ms
Other559 ms
Style & Layout358 ms
Script Parsing & Compilation143 ms
Parse HTML & CSS78 ms
Garbage Collection54 ms
Rendering46 ms

Many navigations are performed by going back to a previous page, or forwards again. The back/forward cache (bfcache) can speed up these return navigations. Learn more about the bfcache

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failure reasonFailure type
The page has an unload handler in a sub frame.Actionable

Minifying CSS files can reduce network payload sizes. Learn how to minify CSS.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Estimated savings: 0.0 ms 3.6 KiB
URLTransfer SizeEst Savings
www.barcelona.cat/estatics-planol/v1.2/widget/css/styles.css10.7 KiB3.6 KiB

Set an explicit width and height on image elements to reduce layout shifts and improve CLS. Learn how to set image dimensions

Why this matters

Performance issues directly impact user engagement and conversion rates.

URL
li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid li.w-100 > div.d-flex > div.ajuntament-actualitat-media > img.img-fluid
/wp-content/uploads/2026/04/07142055/250423_AF_AmbientDia...
li.col-md-6 > article > div.ajuntament-guia-item-image > img li.col-md-6 > article > div.ajuntament-guia-item-image > img
estatics-nasia.dtibcn.cat/nasia-pro/media/film_fest.570x321.95a61c4a.jpg
li.col-md-6 > article > div.ajuntament-guia-item-image > img li.col-md-6 > article > div.ajuntament-guia-item-image > img
estatics-nasia.dtibcn.cat/nasia-pro/media/Mishima.570x321.73f42630.jpg
Logotip de l'Ajuntament de Barcelona div#lw-banner > div.lw-banner-wrapper > div.lw-banner-brand > img
/media/widgets/brands/19e3126d-e1c9-4f40-9e90-8d7c407ac1c...
Logo Ajuntament de Barcelona div.bcnbrand-navs-container > div.bcnbrand-logo-main > a.plausible-event-name=barra-logo > img
www.barcelona.cat/assets/images/brand/banner/2025/logo-ajbcn.svg
Barcelona City Council logo div#block-barcelonacat-theme-marcadellloc > div.container > div.barcelona-branding-logo > img
www.barcelona.cat/assets/images/brand/banner/2025/logo-ajbcn.svg
Barcelona City Council logo div.container > nav#menu-footer > a > img
www.barcelona.cat/assetsdi/img/2025/logo-negre.svg

More information about the performance of your application. These numbers don't directly affect the Performance score.

Layout shift culprits
Optimize DOM size
LCP breakdown
Modern HTTP
Optimize viewport for mobile
JavaScript execution time 0.8 s
Avoid long main-thread tasks 5 long tasks found
Avoid non-composited animations 17 animated elements found
Network Requests
Network Round Trip Times 60 ms
Server Backend Latencies 50 ms
Tasks
Diagnostics
Metrics
Screenshot Thumbnails
Final Screenshot
Script Treemap Data
Resources Summary
Initial server response time was short Root document took 10 ms
Avoid large layout shifts 2 layout shifts found
INP breakdown
User Timing marks and measures
86

Accessibility

These checks highlight opportunities to improve the accessibility of your web app. Automatic detection can only detect a subset of issues and does not guarantee the accessibility of your web app, so manual testing is also encouraged.

ARIA

When a `progressbar` element doesn't have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. Learn how to label `progressbar` elements.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
66.66666666666666% completed div.views-row > div#carousel-capcalera > div.footer-carousel-capcalera > div#progressbar-carousel-capcalera

These are opportunities to improve the usage of ARIA in your application which may enhance the experience for users of assistive technology, like a screen reader.

Names and labels

Informative elements should aim for short, descriptive alternate text. Decorative elements can be ignored with an empty alt attribute. Learn more about the `alt` attribute.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid

Screen reader users rely on frame titles to describe the contents of frames. Learn more about frame titles.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
section.region > div#block-barcelonacat-theme-iframetemps > p > iframe#i-temps section.region > div#block-barcelonacat-theme-iframetemps > p > iframe#i-temps
section.region > div#block-bcn-block-42 > p > iframe#qualitat-aire-i section.region > div#block-bcn-block-42 > p > iframe#qualitat-aire-i
div.destacat > div#block-barcelonacat-theme-comshiva > p > iframe div.destacat > div#block-barcelonacat-theme-comshiva > p > iframe
div#node-119 > div > div#planol-screen > iframe#iframe-planol div#node-119 > div > div#planol-screen > iframe#iframe-planol

These are opportunities to improve the semantics of the controls in your application. This may enhance the experience for users of assistive technology, like a screen reader.

Navigation

A value greater than 0 implies an explicit navigation ordering. Although technically valid, this often creates frustrating experiences for users who rely on assistive technologies. Learn more about the `tabindex` attribute.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
Vés al contingut body.page-node-58 > a.visually-hidden

These are opportunities to improve keyboard navigation in your application.

Visible text labels that do not match the accessible name can result in a confusing experience for screen reader users. Learn more about accessible names.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
Català Selecciona un idioma div.bcnbrand-navs-wrapper > nav#bcnbrand-lang-nav > div#bcnbrand-lang-dropdown > button#bcnbrand-lang-toggle
Interactive controls are keyboard focusable
Interactive elements indicate their purpose and state
The page has a logical tab order
Visual order on the page follows DOM order
User focus is not accidentally trapped in a region
The user's focus is directed to new content added to the page
HTML5 landmark elements are used to improve navigation
Offscreen content is hidden from assistive technology
Custom controls have associated labels
Custom controls have ARIA roles
`[aria-*]` attributes match their roles
`[aria-hidden="true"]` is not present on the document `<body>`
`[role]`s have all required `[aria-*]` attributes
`[role]` values are valid
`[aria-*]` attributes have valid values
`[aria-*]` attributes are valid and not misspelled
Buttons have an accessible name
`[user-scalable="no"]` is not used in the `<meta name="viewport">` element and the `[maximum-scale]` attribute is not less than 5.
`button`, `link`, and `menuitem` elements have accessible names
ARIA attributes are used as specified for the element's role
Elements with `role="dialog"` or `role="alertdialog"` have accessible names.
`[aria-hidden="true"]` elements do not contain focusable descendents
Elements use only permitted ARIA attributes
ARIA `tooltip` elements have accessible names
Background and foreground colors have a sufficient contrast ratio
Document has a `<title>` element
`<html>` element has a `[lang]` attribute
`<html>` element has a valid value for its `[lang]` attribute
Links are distinguishable without relying on color.
Links have a discernible name
Lists contain only `<li>` elements and script supporting elements (`<script>` and `<template>`).
List items (`<li>`) are contained within `<ul>`, `<ol>` or `<menu>` parent elements
Touch targets have sufficient size and spacing.
Heading elements appear in a sequentially-descending order
Document has a main landmark.
Deprecated ARIA roles were not used
`[accesskey]` values are unique
ARIA input fields have accessible names
ARIA `meter` elements have accessible names
Elements with an ARIA `[role]` that require children to contain a specific `[role]` have all required children.
`[role]`s are contained by their required parent element
Elements with the `role=text` attribute do not have focusable descendents.
ARIA toggle fields have accessible names
ARIA `treeitem` elements have accessible names
The page contains a heading, skip link, or landmark region
`<dl>`'s contain only properly-ordered `<dt>` and `<dd>` groups, `<script>`, `<template>` or `<div>` elements.
Definition list items are wrapped in `<dl>` elements
ARIA IDs are unique
No form fields have multiple labels
`<html>` element has an `[xml:lang]` attribute with the same base language as the `[lang]` attribute.
Input buttons have discernible text.
`<input type="image">` elements have `[alt]` text
Form elements have associated labels
The document does not use `<meta http-equiv="refresh">`
`<object>` elements have alternate text
Select elements have associated label elements.
Skip links are focusable.
Cells in a `<table>` element that use the `[headers]` attribute refer to table cells within the same table.
`<th>` elements and elements with `[role="columnheader"/"rowheader"]` have data cells they describe.
`[lang]` attributes have a valid value
`<video>` elements contain a `<track>` element with `[kind="captions"]`
Tables have different content in the summary attribute and `<caption>`.
All heading elements contain content.
Uses ARIA roles only on compatible elements
Image elements do not have `[alt]` attributes that are redundant text.
Identical links have the same purpose.
Tables use `<caption>` instead of cells with the `[colspan]` attribute to indicate a caption.
`<td>` elements in a large `<table>` have one or more table headers.
77

Best Practices

General

Deprecated APIs will eventually be removed from the browser. Learn more about deprecated APIs.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Deprecation / WarningSource
Unload event listeners are deprecated and will be removed.

Errors logged to the console indicate unresolved problems. They can come from network request failures and other browser concerns. Learn more about this errors in console diagnostic audit

Why this matters

Performance issues directly impact user engagement and conversion rates.

SourceDescription
Access to XMLHttpRequest at 'https://ajuntament.barcelona.cat/widgets/bcn-avisos/css/bcn-avisos.css' from origin 'https://www.barcelona.cat' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Access to XMLHttpRequest at 'https://ajuntament.barcelona.cat/widgets/bcn-avisos/css/v1/bcn-avisos.css' from origin 'https://www.barcelona.cat' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Failed to load resource: net::ERR_FAILED
Failed to load resource: net::ERR_FAILED
No element with this id: ajuntament-avisos-header

Source maps translate minified code to the original source code. This helps developers debug in production. In addition, Lighthouse is able to provide further insights. Consider deploying source maps to take advantage of these benefits. Learn more about source maps.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Uses HTTPS
Avoids third-party cookies
Allows users to paste into input fields
Avoids requesting the geolocation permission on page load
Avoids requesting the notification permission on page load
Displays images with correct aspect ratio
Serves images with appropriate resolution
Page has the HTML doctype
Properly defines charset
No issues in the `Issues` panel in Chrome Devtools
Ensure CSP is effective against XSS attacks
Use a strong HSTS policy
Ensure proper origin isolation with COOP
Mitigate DOM-based XSS with Trusted Types
Detected JavaScript libraries
Redirects HTTP traffic to HTTPS
Mitigate clickjacking with XFO or CSP
92

SEO

These checks ensure that your page is following basic search engine optimization advice. There are many additional factors Lighthouse does not score here that may affect your search ranking, including performance on Core Web Vitals. Learn more about Google Search Essentials.

Content Best Practices

Informative elements should aim for short, descriptive alternate text. Decorative elements can be ignored with an empty alt attribute. Learn more about the `alt` attribute.

Why this matters

Performance issues directly impact user engagement and conversion rates.

Failing Elements
div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid div.d-flex > div.ajuntament-actualitat-media > span.ajuntament-actualitat-yt-preview > img.img-fluid

Format your HTML in a way that enables crawlers to better understand your app’s content.

Structured data is valid
Page isn’t blocked from indexing
Document has a `<title>` element
Document has a meta description
Page has successful HTTP status code
Links have descriptive text
Links are crawlable
robots.txt is valid
Document has a valid `hreflang`
Document has a valid `rel=canonical`

Send Feedback