Lighthouse Desktop
· 0 checks — Desktop Lighthouse audit -- Performance, Accessibility, Best Practices, and SEO category breakdown.Detailed Report
Audit breakdown by category with detailed findings.
Performance
Insights
Remove large, duplicate JavaScript modules from bundles to reduce unnecessary bytes consumed by network activity.
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
Performance issues directly impact user engagement and conversion rates.
3rd party code can significantly impact load performance. Reduce and defer loading of 3rd party code to prioritize your page's content.
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.
Performance issues directly impact user engagement and conversion rates.
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.
Performance issues directly impact user engagement and conversion rates.
Your first network request is the most important. Reduce its latency by avoiding redirects, ensuring a fast server response, and enabling text compression.
Performance issues directly impact user engagement and conversion rates.
Consider setting font-display to swap or optional to ensure text is consistently visible. swap can be further optimized to mitigate layout shifts with font metric overrides.
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.
Performance issues directly impact user engagement and conversion rates.
Reducing the download time of images can improve the perceived load time of the page and LCP. Learn more about optimizing image size
Performance issues directly impact user engagement and conversion rates.
| URL | Resource Size | Est Savings | |
|---|---|---|---|
a.cmp-teaser__link > div.cmp-teaser__image > div#teaser-848dcd1012-image > img.cmp-image__image a.cmp-teaser__link > div.cmp-teaser__image > div#teaser-848dcd1012-image > img.cmp-image__image | /home/_jcr_content/root/container/carousel/item_172624267... | 4.9 MiB | 4.9 MiB |
a.cmp-teaser__link > div.cmp-teaser__image > div#teaser-8343dd489e-image > img.cmp-image__image a.cmp-teaser__link > div.cmp-teaser__image > div#teaser-8343dd489e-image > img.cmp-image__image | /home/_jcr_content/root/container/carousel/item_170543086... | 3.4 MiB | 3.3 MiB |
a.cmp-teaser__link > div.cmp-teaser__image > div#teaser-f56f41822e-image > img.cmp-image__image a.cmp-teaser__link > div.cmp-teaser__image > div#teaser-f56f41822e-image > img.cmp-image__image | /home/_jcr_content/root/container/carousel/item_172382872... | 3.2 MiB | 3.2 MiB |
div#teaser-84ec762294 > div.cmp-teaser__image > div#teaser-84ec762294-image > img.cmp-image__image div#teaser-84ec762294 > div.cmp-teaser__image > div#teaser-84ec762294-image > img.cmp-image__image | /home/_jcr_content/root/container/tabs_copy_1812723756/it... | 874.2 KiB | 832.5 KiB |
Book Flex Fares & Travel With Ease
Fully refundable and no cancellation fees b… div.embed-script > div.scrollDiv > div.heroimageContainer > div.heroimage | /content/dam/projects/dotcom/english/public/images/heros/... | 973.0 KiB | 712.6 KiB |
a.cmp-teaser__link > div.cmp-teaser__image > div#teaser-2dbe4ad378-image > img.cmp-image__image a.cmp-teaser__link > div.cmp-teaser__image > div#teaser-2dbe4ad378-image > img.cmp-image__image | /home/_jcr_content/root/container/carousel/item_176494556... | 581.9 KiB | 552.5 KiB |
div.feature-area__content_media-area > div.feature-area__content_media-img > picture > img.feature-area__content_media-img_img div.feature-area__content_media-area > div.feature-area__content_media-img > picture > img.feature-area__content_media-img_img | /content/dam/projects/dotcom/english/public/images/Carous... | 215.5 KiB | 131.0 KiB |
div.feature-area__content_media-area > div.feature-area__content_media-img > picture > img.feature-area__content_media-img_img div.feature-area__content_media-area > div.feature-area__content_media-img > picture > img.feature-area__content_media-img_img | /content/dam/projects/dotcom/english/public/images/Carous... | 172.3 KiB | 100.2 KiB |
div#container-b232161805 > div.image > div#image-ee076359c2 > img.cmp-image__image div#container-b232161805 > div.image > div#image-ee076359c2 > img.cmp-image__image | /content/experience-fragments/amtrakonebase/us/en/site/fo... | 13.4 KiB | 12.7 KiB |
Optimize LCP by making the LCP image discoverable from the HTML immediately, and avoiding lazy-loading
Performance issues directly impact user engagement and conversion rates.
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.
Performance issues directly impact user engagement and conversion rates.
Requests are blocking the page's initial render, which may delay LCP. Deferring or inlining can move these network requests out of the critical path.
Performance issues directly impact user engagement and conversion rates.
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.
Performance issues directly impact user engagement and conversion rates.
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.
Performance issues directly impact user engagement and conversion rates.
Redirects introduce additional delays before the page can be loaded. Learn how to avoid page redirects.
Performance issues directly impact user engagement and conversion rates.
| URL | Time Spent |
|---|---|
| amtrak.com/ | 247 ms |
| www.amtrak.com/ | 244 ms |
| www.amtrak.com/home | 0.0 ms |
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
Performance issues directly impact user engagement and conversion rates.
| Element | Layout shift score |
|---|---|
Book Flex Fares & Travel With Ease
Fully refundable and no cancellation fees b… div.aem-Grid > main.container > div#container-5de91f93c4 > div.embed-script | 0.186 |
Book Flex Fares & Travel With Ease
Fully refundable and no cancellation fees b… div.aem-Grid > main.container > div#container-5de91f93c4 > div.embed-script | 0.007 |
By clicking “Allow All Cookies”, you agree to the storing of cookies on your de… body#page-98a8fbacf8 > div#onetrust-consent-sdk > div#onetrust-banner-sdk | 0.003 |
By clicking “Allow All Cookies”, you agree to the storing of cookies on your de… body#page-98a8fbacf8 > div#onetrust-consent-sdk > div#onetrust-banner-sdk | 0.002 |
By clicking “Allow All Cookies”, you agree to the storing of cookies on your de… body#page-98a8fbacf8 > div#onetrust-consent-sdk > div#onetrust-banner-sdk | 0.002 |
By clicking “Allow All Cookies”, you agree to the storing of cookies on your de… body#page-98a8fbacf8 > div#onetrust-consent-sdk > div#onetrust-banner-sdk | 0.001 |
By clicking “Allow All Cookies”, you agree to the storing of cookies on your de… body#page-98a8fbacf8 > div#onetrust-consent-sdk > div#onetrust-banner-sdk | 0.001 |
By clicking “Allow All Cookies”, you agree to the storing of cookies on your de… body#page-98a8fbacf8 > div#onetrust-consent-sdk > div#onetrust-banner-sdk | 0.000 |
SCHEDULES div.nav-container > div.collapse > ul.navbar-nav > li.nav-item | 0.000 |
Diagnostics
Minifying JavaScript files can reduce payload sizes and script parse time. Learn how to minify JavaScript.
Performance issues directly impact user engagement and conversion rates.
| URL | Transfer Size | Est Savings |
|---|---|---|
| /etc.clientlibs/dotcom/components/core/clientlibs/clientl... | 880.0 KiB | 103.3 KiB |
| /etc.clientlibs/amtrak-b2c/components/core/clientlib-base... | 172.7 KiB | 83.7 KiB |
| www.amtrak.com/etc.clientlibs/clientlibs/granite/jquery-ui.js | 125.8 KiB | 45.8 KiB |
| www.amtrak.com/etc.clientlibs/clientlibs/granite/jquery.js | 86.5 KiB | 42.0 KiB |
| /etc.clientlibs/amtrakonebase/clientlibs/clientlib-base.1... | 17.7 KiB | 9.1 KiB |
| www.amtrak.com/etc.clientlibs/clientlibs/granite/utils.js | 10.8 KiB | 8.2 KiB |
| www.amtrak.com/etc.clientlibs/dotcom/clientlibs/clientlib-base.1774901406977.js | 13.9 KiB | 7.6 KiB |
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.
Performance issues directly impact user engagement and conversion rates.
| URL | Transfer Size | Est Savings |
|---|---|---|
| www.amtrak.com/etc/designs/dotcom-assets/rwd__libs.1774901406977.css | 233.5 KiB | 221.7 KiB |
| www.amtrak.com/etc/designs/tickets/angular/styles.1774901406977.css | 75.9 KiB | 72.3 KiB |
| 23.8 KiB | 20.6 KiB | |
| /etc.clientlibs/amtrakonebase/clientlibs/clientlib-global... | 14.5 KiB | 14.4 KiB |
| /etc.clientlibs/amtrakonebase/clientlibs/clientlib-base.1... | 11.3 KiB | 11.2 KiB |
Reduce unused JavaScript and defer loading scripts until they are required to decrease bytes consumed by network activity. Learn how to reduce unused JavaScript.
Performance issues directly impact user engagement and conversion rates.
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.
Performance issues directly impact user engagement and conversion rates.
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
Performance issues directly impact user engagement and conversion rates.
| Category | Time Spent |
|---|---|
| Script Evaluation | 7.2 s |
| Other | 1.1 s |
| Script Parsing & Compilation | 1.1 s |
| Style & Layout | 579 ms |
| Garbage Collection | 209 ms |
| Parse HTML & CSS | 130 ms |
| Rendering | 73 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
Performance issues directly impact user engagement and conversion rates.
| Failure reason | Failure type |
|---|---|
| Pages with cache-control:no-store header cannot enter back/forward cache. | Actionable |
| Pages whose main resource has cache-control:no-store cannot enter back/forward cache. | Not actionable |
| Back/forward cache is disabled because some JavaScript network request received resource with Cache-Control: no-store header. | Not actionable |
| Back/forward cache is disabled because WebSocket has been used. | Not actionable |
Minifying CSS files can reduce network payload sizes. Learn how to minify CSS.
Performance issues directly impact user engagement and conversion rates.
| URL | Transfer Size | Est Savings |
|---|---|---|
| /etc.clientlibs/amtrakonebase/clientlibs/clientlib-global... | 14.5 KiB | 2.5 KiB |
| /etc.clientlibs/amtrakonebase/clientlibs/clientlib-base.1... | 11.3 KiB | 2.1 KiB |
Large network payloads cost users real money and are highly correlated with long load times. Learn how to reduce payload sizes.
Performance issues directly impact user engagement and conversion rates.
Set an explicit width and height on image elements to reduce layout shifts and improve CLS. Learn how to set image dimensions
Performance issues directly impact user engagement and conversion rates.
| URL | |
|---|---|
div.feature-area__content_media-area > div.feature-area__content_media-img > picture > img.feature-area__content_media-img_img div.feature-area__content_media-area > div.feature-area__content_media-img > picture > img.feature-area__content_media-img_img | /content/dam/projects/dotcom/english/public/images/Carous... |
div.feature-area__content_media-area > div.feature-area__content_media-img > picture > img.feature-area__content_media-img_img div.feature-area__content_media-area > div.feature-area__content_media-img > picture > img.feature-area__content_media-img_img | /content/dam/projects/dotcom/english/public/images/Carous... |
div.feature-area__content_media-area > div.feature-area__content_media-img > picture > img.feature-area__content_media-img_img div.feature-area__content_media-area > div.feature-area__content_media-img > picture > img.feature-area__content_media-img_img | /content/dam/projects/dotcom/english/public/images/Carous... |
div.feature-area__content_media-area > div.feature-area__content_media-img > picture > img.feature-area__content_media-img_img div.feature-area__content_media-area > div.feature-area__content_media-img > picture > img.feature-area__content_media-img_img | /content/dam/projects/dotcom/english/public/images/Carous... |
div.ng-tns-c896518535-0 > div.ng-tns-c896518535-0 > button.ff-top-navbar__button > img div.ng-tns-c896518535-0 > div.ng-tns-c896518535-0 > button.ff-top-navbar__button > img | /content/dam/projects/dotcom/english/public/images/icons/... |
addCouponDropDownIcon div.ng-tns-c896518535-3 > div.ng-tns-c896518535-3 > button.coupon-option-button > img#addCouponDropDownIcon | /content/dam/projects/dotcom/english/public/images/icons/... |
dropDownIcon div.ng-tns-c896518535-4 > div.ng-tns-c896518535-4 > button.advanced-options-button > img#advancedOptionsIcon | /content/dam/projects/dotcom/english/public/images/icons/... |
More information about the performance of your application. These numbers don't directly affect the Performance score.
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
Each ARIA `role` supports a specific subset of `aria-*` attributes. Mismatching these invalidates the `aria-*` attributes. Learn how to match ARIA attributes to their roles.
Performance issues directly impact user engagement and conversion rates.
| Failing Elements |
|---|
One-Way div.ff-top-navbar > am-dropdown.dropdown_menu > div.ng-tns-c896518535-0 > div.ng-tns-c896518535-0 |
Rail Passes div#purchaseTicket > div.tab-container > div.ff-top-navbar > button.ff-top-navbar__button |
Auto Train div#purchaseTicket > div.tab-container > div.ff-top-navbar > a.ff-top-navbar__button |
div.d-flex > div.departs-container > am-form-field-new.ads-relative > input#am-form-field-control-4 div.d-flex > div.departs-container > am-form-field-new.ads-relative > input#am-form-field-control-4 |
1
Traveler app-traveler > am-dropdown.ng-tns-c896518535-2 > div.ng-tns-c896518535-2 > div.ng-tns-c896518535-2 |
Some ARIA parent roles must contain specific child roles to perform their intended accessibility functions. Learn more about roles and required children elements.
Performance issues directly impact user engagement and conversion rates.
| Failing Elements |
|---|
Guest Rewards
English
Need Help? div.am-container > div.nav-container > div.collapse > ul.navbar-nav |
One-Way
Rail Passes
Auto Train amt-md-farefinder > div.md-farefinder > div#purchaseTicket > div.tab-container |
Assistive technologies, like screen readers, can't interpret ARIA attributes with invalid values. Learn more about valid values for ARIA attributes.
Performance issues directly impact user engagement and conversion rates.
| Failing Elements |
|---|
Seating div.tabs > div#tabs-3e85a66cb4 > ol.cmp-tabs__tablist > li#tabs-3e85a66cb4-item-84ec762294-tab |
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.
Contrast
Low-contrast text is difficult or impossible for many users to read. Learn how to provide sufficient color contrast.
Performance issues directly impact user engagement and conversion rates.
| Failing Elements |
|---|
Use Points div.d-flex > div.redeemlabelfare-finder-options-apply-button > label.mb-2 > small#usepoints |
From div.from-station > station-search > am-form-field-new#autocomplete-combox__0 > label#am-label-3 |
To div.to-station > station-search > am-form-field-new#autocomplete-combox__1 > label#am-label-4 |
Depart Date div.d-flex > div.departs-container > am-form-field-new.ads-relative > label#am-label-0 |
Return Date div.farefinder-datepickers > div.d-flex > div.align-self-center > button.d-block |
These are opportunities to improve the legibility of your content.
Navigation
Properly ordered headings that do not skip levels convey the semantic structure of the page, making it easier to navigate and understand when using assistive technologies. Learn more about heading order.
Performance issues directly impact user engagement and conversion rates.
| Failing Elements |
|---|
About Amtrak div.footer-list > div.general-column1 > div.listitem > h4 |
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.
Performance issues directly impact user engagement and conversion rates.
| Failing Elements |
|---|
Cookie Policy div#onetrust-group-container > div#onetrust-policy > div#onetrust-policy-text > a.ot-cookie-policy-link |
Best Practices
General
Deprecated APIs will eventually be removed from the browser. Learn more about deprecated APIs.
Performance issues directly impact user engagement and conversion rates.
| Deprecation / Warning | Source |
|---|---|
| AttributionReporting | |
| Fledge |
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
Performance issues directly impact user engagement and conversion rates.
| Source | Description |
|---|---|
Failed to load resource: the server responded with a status of 404 () | |
Failed to load resource: the server responded with a status of 404 () | |
Failed to load resource: the server responded with a status of 404 () | |
/etc.clientlibs/amtrak-b2c/components/core/clientlib-base... line 24031, col 24 | ReferenceError: require is not defined
at https://www.amtrak.com/etc.clientlibs/amtrak-b2c/components/core/clientlib-base.1774901406977.js:24032:25 |
/etc.clientlibs/dotcom/components/core/clientlibs/clientl... line 24149, col 24 | ReferenceError: require is not defined
at https://www.amtrak.com/etc.clientlibs/dotcom/components/core/clientlibs/clientlib-base.1774901406977.js:24150:25 |
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.
Performance issues directly impact user engagement and conversion rates.
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
Descriptive link text helps search engines understand your content. Learn how to make links more accessible.
Performance issues directly impact user engagement and conversion rates.
| Link destination | Link Text |
|---|---|
| www.amtrak.com/guestrewards/apply | Learn More |
| /promotions/flex-fares.html?intcmp=wsp_hp-hero_link_flexf... | LEARN MORE |
| /guestrewards/apply.html?atv=PreferredMC-FNBO-Footer&cmp=... | Learn More |
| www.amtrak.com/planning-booking/policies/cookie-policy.html | More information |
Format your HTML in a way that enables crawlers to better understand your app’s content.