Jan 22, 2019, 1:11 PM EST
Emulated Nexus 5X, Simulated Slow 4G network
Score scale:
90-100
50-89
0-49
Performance
Metrics
First Contentful Paint
1.7 s
First Contentful Paint marks the time at which the first text or image is painted. Learn more.
Speed Index
1.7 s
Speed Index shows how quickly the contents of a page are visibly populated. Learn more.
Time to Interactive
1.7 s
Time to interactive is the amount of time it takes for the page to become fully interactive. Learn more.
First Meaningful Paint
1.7 s
First Meaningful Paint measures when the primary content of a page is visible. Learn more.
First CPU Idle
1.7 s
First CPU Idle marks the first time at which the page's main thread is quiet enough to handle input. Learn more.
Estimated Input Latency
10 ms
Estimated Input Latency is an estimate of how long your app takes to respond to user input, in milliseconds, during the busiest 5s window of page load. If your latency is higher than 50 ms, users may perceive your app as laggy. Learn more.
Values are estimated and may vary.
Opportunities
These optimizations can speed up your page load.
Opportunity
Estimated Savings
1
Eliminate render-blocking resources
0.61 s
1
Eliminate render-blocking resources
0.61 s
Resources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles. Learn more.
URL | Size (KB) | Potential Savings (ms) |
---|---|---|
…css/fonts.css (cloud.typography.com) | 0 KB | 760 ms |
2
Defer unused CSS
0.15 s
2
Defer unused CSS
0.15 s
Remove unused rules from stylesheets to reduce unnecessary bytes consumed by network activity. Learn more.
URL | Size (KB) | Potential Savings (KB) |
---|---|---|
…696405/BA861…A267F2.css (christopherandersson.com) | 29 KB | 29 KB |
Diagnostics
More information about the performance of your application.
1
Ensure text remains visible during webfont load
Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading. Learn more.
URL | Potential Savings (ms) |
---|---|
data:application/x-font-woff2;base64,d09GMk9UV…/zcWOIaIFS…+sH0f… () | 30 ms |
data:application/x-font-woff2;base64,d09GMk9UV…/n44nImJH0…+vo/+… () | 30 ms |
data:application/x-font-woff2;base64,d09GMk9UV…+78cT2R4zF…/mIiQ… () | 10 ms |
data:application/x-font-woff2;base64,d09GMk9UV…/2wEnQ4Rqa…/QrNK… () | 10 ms |
2
Serve static assets with an efficient cache policy
8 resources found
A long cache lifetime can speed up repeat visits to your page. Learn more.
URL | Cache TTL | Size (KB) |
---|---|---|
/app-9161316….js (christopherandersson.com) | None | 56 KB |
…696405/BA861…A267F2.css (christopherandersson.com) | None | 29 KB |
/static/ibm-plex-mono-latin-700-7d3e200….woff2 (christopherandersson.com) | None | 14 KB |
/static/ibm-plex-mono-latin-400-7624152….woff2 (christopherandersson.com) | None | 14 KB |
/0-fd664e3….js (christopherandersson.com) | None | 7 KB |
/component---src-pages-index-js-bf969fa….js (christopherandersson.com) | None | 2 KB |
/webpack-runtime-b198913….js (christopherandersson.com) | None | 2 KB |
/pages-manifest-1af8063….js (christopherandersson.com) | None | 1 KB |
3
Minimize Critical Requests Depth
8 chains found
The Critical Request Chains below show you what resources are loaded with a high priority. Consider reducing the length of chains, reducing the download size of resources, or deferring the download of unnecessary resources to improve page load. Learn more.
Maximum critical path latency: 190 ms
Initial Navigation
()
/
(christopherandersson.com)
…css/fonts.css
(cloud.typography.com)
- 60 ms, 0.45 KB
…696405/BA861…A267F2.css
(christopherandersson.com)
- 20 ms, 29.27 KB
data:application/x-font-woff2;base64,d09GMk9UV…/zcWOIaIFS…+sH0f…
- 30 ms, 0 KB
/static/ibm-plex-mono-latin-400-7624152….woff2
(christopherandersson.com)
- 10 ms, 13.74 KB
/static/ibm-plex-mono-latin-700-7d3e200….woff2
(christopherandersson.com)
- 20 ms, 13.98 KB
data:application/x-font-woff2;base64,d09GMk9UV…/n44nImJH0…+vo/+…
- 30 ms, 0 KB
data:application/x-font-woff2;base64,d09GMk9UV…+78cT2R4zF…/mIiQ…
- 10 ms, 0 KB
data:application/x-font-woff2;base64,d09GMk9UV…/2wEnQ4Rqa…/QrNK…
- 10 ms, 0 KB
Passed audits
17 audits
Passed audits
17 audits
1
Properly size images
Serve images that are appropriately-sized to save cellular data and improve load time. Learn more.
2
Defer offscreen images
Consider lazy-loading offscreen and hidden images after all critical resources have finished loading to lower time to interactive. Learn more.
3
Minify CSS
Minifying CSS files can reduce network payload sizes. Learn more.
4
Minify JavaScript
Minifying JavaScript files can reduce payload sizes and script parse time. Learn more.
5
Efficiently encode images
Optimized images load faster and consume less cellular data. Learn more.
6
Serve images in next-gen formats
Image formats like JPEG 2000, JPEG XR, and WebP often provide better compression than PNG or JPEG, which means faster downloads and less data consumption. Learn more.
7
Enable text compression
Text-based resources should be served with compression (gzip, deflate or brotli) to minimize total network bytes. Learn more.
8
Preconnect to required origins
Consider adding preconnect or dns-prefetch resource hints to establish early connections to important third-party origins. Learn more.
9
Server response times are low (TTFB)
Root document took 30 ms
Time To First Byte identifies the time at which your server sends a response. Learn more.
10
Avoid multiple page redirects
Redirects introduce additional delays before the page can be loaded. Learn more.
11
Preload key requests
Consider using <link rel=preload> to prioritize fetching resources that are currently requested later in page load. Learn more.
12
Use video formats for animated content
Large GIFs are inefficient for delivering animated content. Consider using MPEG4/WebM videos for animations and PNG/WebP for static images instead of GIF to save network bytes. Learn more
13
Avoids enormous network payloads
Total size was 135 KB
Large network payloads cost users real money and are highly correlated with long load times. Learn more.
URL | Size (KB) |
---|---|
/app-9161316….js (christopherandersson.com) | 56.1 KB |
…696405/BA861…A267F2.css (christopherandersson.com) | 29.3 KB |
/static/ibm-plex-mono-latin-700-7d3e200….woff2 (christopherandersson.com) | 14 KB |
/static/ibm-plex-mono-latin-400-7624152….woff2 (christopherandersson.com) | 13.7 KB |
/0-fd664e3….js (christopherandersson.com) | 7.2 KB |
https://christopherandersson.com | 4 KB |
/component---src-pages-index-js-bf969fa….js (christopherandersson.com) | 2.4 KB |
/component---src-pages-writing-js-26808af….js (christopherandersson.com) | 2.3 KB |
/webpack-runtime-b198913….js (christopherandersson.com) | 2.1 KB |
/component---src-pages-writing-js.2449d60….css (christopherandersson.com) | 1.4 KB |
14
Avoids an excessive DOM size
68 nodes
Browser engineers recommend pages contain fewer than ~1,500 DOM nodes. The sweet spot is a tree depth < 32 elements and fewer than 60 children/parent element. A large DOM can increase memory usage, cause longer style calculations, and produce costly layout reflows. Learn more.
Statistic | Element | Value |
---|---|---|
Total DOM Nodes | 68 | |
Maximum DOM Depth | <h1> | 9 |
Maximum Child Elements | <head> | 25 |
15
User Timing marks and measures
Consider instrumenting your app with the User Timing API to measure your app's real-world performance during key user experiences. Learn more.
16
JavaScript execution time
0.1 s
Consider reducing the time spent parsing, compiling, and executing JS. You may find delivering smaller JS payloads helps with this. Learn more.
URL | Total | Script Evaluation | Script Parse |
---|---|---|---|
/app-9161316….js (christopherandersson.com) | 68 ms | 67 ms | 1 ms |
17
Minimizes main-thread work
0.5 s
Consider reducing the time spent parsing, compiling and executing JS. You may find delivering smaller JS payloads helps with this.
Category | Time Spent |
---|---|
Other | 211 ms |
Script Evaluation | 112 ms |
Style & Layout | 88 ms |
Parse HTML & CSS | 26 ms |
Rendering | 22 ms |
Script Parsing & Compilation | 7 ms |
Accessibility
These checks highlight opportunities to improve the accessibility of your web app. Only a subset of accessibility issues can be automatically detected so manual testing is also encouraged.
Additional items to manually check
12 audits
Additional items to manually check
12 audits
These items address areas which an automated testing tool cannot cover. Learn more in our guide on conducting an accessibility review.
1
[accesskey]
values are unique
[accesskey]
values are unique
Access keys let users quickly focus a part of the page. For proper navigation, each access key must be unique. Learn more.
2
The page has a logical tab order
Tabbing through the page follows the visual layout. Users cannot focus elements that are offscreen. Learn more.
3
Interactive controls are keyboard focusable
Custom interactive controls are keyboard focusable and display a focus indicator. Learn more.
4
Interactive elements indicate their purpose and state
Interactive elements, such as links and buttons, should indicate their state and be distinguishable from non-interactive elements. Learn more.
5
The user's focus is directed to new content added to the page
If new content, such as a dialog, is added to the page, the user's focus is directed to it. Learn more.
6
User focus is not accidentally trapped in a region
A user can tab into and out of any control or region without accidentally trapping their focus. Learn more.
7
Custom controls have associated labels
Custom interactive controls have associated labels, provided by aria-label or aria-labelledby. Learn more.
8
Custom controls have ARIA roles
Custom interactive controls have appropriate ARIA roles. Learn more.
9
Visual order on the page follows DOM order
DOM order matches the visual order, improving navigation for assistive technology. Learn more.
10
Offscreen content is hidden from assistive technology
Offscreen content is hidden with display: none or aria-hidden=true. Learn more.
11
Headings don't skip levels
Headings are used to create an outline for the page and heading levels are not skipped. Learn more.
12
HTML5 landmark elements are used to improve navigation
Landmark elements (<main>, <nav>, etc.) are used to improve the keyboard navigation of the page for assistive technology. Learn more.
Passed audits
15 audits
Passed audits
15 audits
1
[role]
s have all required [aria-*]
attributes
[role]
s have all required [aria-*]
attributes
Some ARIA roles have required attributes that describe the state of the element to screen readers. Learn more.
2
Elements with [role]
that require specific children [role]
s, are present
[role]
that require specific children [role]
s, are present
Some ARIA parent roles must contain specific child roles to perform their intended accessibility functions. Learn more.
3
[role]
s are contained by their required parent element
[role]
s are contained by their required parent element
Some ARIA child roles must be contained by specific parent roles to properly perform their intended accessibility functions. Learn more.
4
[role]
values are valid
[role]
values are valid
ARIA roles must have valid values in order to perform their intended accessibility functions. Learn more.
5
The page contains a heading, skip link, or landmark region
Adding ways to bypass repetitive content lets keyboard users navigate the page more efficiently. Learn more.
6
Background and foreground colors have a sufficient contrast ratio
Low-contrast text is difficult or impossible for many users to read. Learn more.
7
Document has a <title>
element
<title>
element
The title gives screen reader users an overview of the page, and search engine users rely on it heavily to determine if a page is relevant to their search. Learn more.
8
[id]
attributes on the page are unique
[id]
attributes on the page are unique
The value of an id attribute must be unique to prevent other instances from being overlooked by assistive technologies. Learn more.
9
<html>
element has a [lang]
attribute
<html>
element has a [lang]
attribute
If a page doesn't specify a lang attribute, a screen reader assumes that the page is in the default language that the user chose when setting up the screen reader. If the page isn't actually in the default language, then the screen reader might not announce the page's text correctly. Learn more.
10
<html>
element has a valid value for its [lang]
attribute
<html>
element has a valid value for its [lang]
attribute
Specifying a valid BCP 47 language helps screen readers announce text properly. Learn more.
11
Links have a discernible name
Link text (and alternate text for images, when used as links) that is discernible, unique, and focusable improves the navigation experience for screen reader users. Learn more.
12
Lists contain only <li>
elements and script supporting elements (<script>
and <template>
).
<li>
elements and script supporting elements (<script>
and <template>
).
Screen readers have a specific way of announcing lists. Ensuring proper list structure aids screen reader output. Learn more.
13
List items (<li>
) are contained within <ul>
or <ol>
parent elements
<li>
) are contained within <ul>
or <ol>
parent elements
Screen readers require list items (`<li>`) to be contained within a parent `<ul>` or `<ol>` to be announced properly. Learn more.
14
[user-scalable="no"]
is not used in the <meta name="viewport">
element and the [maximum-scale]
attribute is not less than 5.
[user-scalable="no"]
is not used in the <meta name="viewport">
element and the [maximum-scale]
attribute is not less than 5.
Disabling zooming is problematic for users with low vision who rely on screen magnification to properly see the contents of a web page. Learn more.
15
No element has a [tabindex]
value greater than 0
[tabindex]
value greater than 0
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.
Not applicable
19 audits
Not applicable
19 audits
1
[aria-*]
attributes match their roles
[aria-*]
attributes match their roles
Each ARIA `role` supports a specific subset of `aria-*` attributes. Mismatching these invalidates the `aria-*` attributes. Learn more.
2
[aria-*]
attributes have valid values
[aria-*]
attributes have valid values
Assistive technologies, like screen readers, can't interpret ARIA attributes with invalid values. Learn more.
3
[aria-*]
attributes are valid and not misspelled
[aria-*]
attributes are valid and not misspelled
Assistive technologies, like screen readers, can't interpret ARIA attributes with invalid names. Learn more.
4
<audio>
elements contain a <track>
element with [kind="captions"]
<audio>
elements contain a <track>
element with [kind="captions"]
Captions make audio elements usable for deaf or hearing-impaired users, providing critical information such as who is talking, what they're saying, and other non-speech information. Learn more.
5
Buttons have an accessible name
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 more.
6
<dl>
's contain only properly-ordered <dt>
and <dd>
groups, <script>
or <template>
elements.
<dl>
's contain only properly-ordered <dt>
and <dd>
groups, <script>
or <template>
elements.
When definition lists are not properly marked up, screen readers may produce confusing or inaccurate output. Learn more.
7
Definition list items are wrapped in <dl>
elements
<dl>
elements
Definition list items (`<dt>` and `<dd>`) must be wrapped in a parent `<dl>` element to ensure that screen readers can properly announce them. Learn more.
8
<frame>
or <iframe>
elements have a title
<frame>
or <iframe>
elements have a title
Screen reader users rely on frame titles to describe the contents of frames. Learn more.
9
Image elements have [alt]
attributes
[alt]
attributes
Informative elements should aim for short, descriptive alternate text. Decorative elements can be ignored with an empty alt attribute. Learn more.
10
<input type="image">
elements have [alt]
text
<input type="image">
elements have [alt]
text
When an image is being used as an `<input>` button, providing alternative text can help screen reader users understand the purpose of the button. Learn more.
11
Form elements have associated labels
Labels ensure that form controls are announced properly by assistive technologies, like screen readers. Learn more.
12
Presentational <table>
elements avoid using <th>
, <caption>
or the [summary]
attribute.
<table>
elements avoid using <th>
, <caption>
or the [summary]
attribute.
A table being used for layout purposes should not include data elements, such as the th or caption elements or the summary attribute, because this can create a confusing experience for screen reader users. Learn more.
13
The document does not use <meta http-equiv="refresh">
<meta http-equiv="refresh">
Users do not expect a page to refresh automatically, and doing so will move focus back to the top of the page. This may create a frustrating or confusing experience. Learn more.
14
<object>
elements have [alt]
text
<object>
elements have [alt]
text
Screen readers cannot translate non-text content. Adding alt text to `<object>` elements helps screen readers convey meaning to users. Learn more.
15
Cells in a <table>
element that use the [headers]
attribute only refer to other cells of that same table.
<table>
element that use the [headers]
attribute only refer to other cells of that same table.
Screen readers have features to make navigating tables easier. Ensuring `<td>` cells using the `[headers]` attribute only refer to other cells in the same table may improve the experience for screen reader users. Learn more.
16
<th>
elements and elements with [role="columnheader"/"rowheader"]
have data cells they describe.
<th>
elements and elements with [role="columnheader"/"rowheader"]
have data cells they describe.
Screen readers have features to make navigating tables easier. Ensuring table headers always refer to some set of cells may improve the experience for screen reader users. Learn more.
17
[lang]
attributes have a valid value
[lang]
attributes have a valid value
Specifying a valid BCP 47 language on elements helps ensure that text is pronounced correctly by a screen reader. Learn more.
18
<video>
elements contain a <track>
element with [kind="captions"]
<video>
elements contain a <track>
element with [kind="captions"]
When a video provides a caption it is easier for deaf and hearing impaired users to access its information. Learn more.
19
<video>
elements contain a <track>
element with [kind="description"]
<video>
elements contain a <track>
element with [kind="description"]
Audio descriptions provide relevant information for videos that dialogue cannot, such as facial expressions and scenes. Learn more.
Best Practices
Passed audits
15 audits
Passed audits
15 audits
1
Avoids Application Cache
Application Cache is deprecated. Learn more.
2
Uses HTTPS
All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications between your app and your users, and is a prerequisite for HTTP/2 and many new web platform APIs. Learn more.
3
Uses HTTP/2 for its own resources
HTTP/2 offers many benefits over HTTP/1.1, including binary headers, multiplexing, and server push. Learn more.
4
Uses passive listeners to improve scrolling performance
Consider marking your touch and wheel event listeners as `passive` to improve your page's scroll performance. Learn more.
5
Avoids document.write()
document.write()
For users on slow connections, external scripts dynamically injected via `document.write()` can delay page load by tens of seconds. Learn more.
6
Links to cross-origin destinations are safe
Add `rel="noopener"` or `rel="noreferrer"` to any external links to improve performance and prevent security vulnerabilities. Learn more.
7
Avoids requesting the geolocation permission on page load
Users are mistrustful of or confused by sites that request their location without context. Consider tying the request to user gestures instead. Learn more.
8
Page has the HTML doctype
Specifying a doctype prevents the browser from switching to quirks-mode.Read more on the MDN Web Docs page
9
Avoids front-end JavaScript libraries with known security vulnerabilities
Some third-party scripts may contain known security vulnerabilities that are easily identified and exploited by attackers. Learn more.
10
Detected JavaScript libraries
All front-end JavaScript libraries detected on the page.
Name | Version |
---|---|
React |
11
Avoids requesting the notification permission on page load
Users are mistrustful of or confused by sites that request to send notifications without context. Consider tying the request to user gestures instead. Learn more.
12
Avoids deprecated APIs
Deprecated APIs will eventually be removed from the browser. Learn more.
13
Allows users to paste into password fields
Preventing password pasting undermines good security policy. Learn more.
14
No browser errors logged to the console
Errors logged to the console indicate unresolved problems. They can come from network request failures and other browser concerns.
15
Displays images with correct aspect ratio
Image display dimensions should match natural aspect ratio. Learn more.
SEO
These checks ensure that your page is optimized for search engine results ranking. There are additional factors Lighthouse does not check that may affect your search ranking. Learn more.
Additional items to manually check
2 audits
Additional items to manually check
2 audits
Run these additional validators on your site to check additional SEO best practices.
1
Page is mobile friendly
Take the Mobile-Friendly Test to check for audits not covered by Lighthouse, like sizing tap targets appropriately. Learn more.
2
Structured data is valid
Run the Structured Data Testing Tool and the Structured Data Linter to validate structured data. Learn more.
Passed audits
10 audits
Passed audits
10 audits
1
Has a <meta name="viewport">
tag with width
or initial-scale
<meta name="viewport">
tag with width
or initial-scale
Add a viewport meta tag to optimize your app for mobile screens. Learn more.
2
Document has a <title>
element
<title>
element
The title gives screen reader users an overview of the page, and search engine users rely on it heavily to determine if a page is relevant to their search. Learn more.
3
Document has a meta description
Meta descriptions may be included in search results to concisely summarize page content. Learn more.
4
Page has successful HTTP status code
Pages with unsuccessful HTTP status codes may not be indexed properly. Learn more.
5
Links have descriptive text
Descriptive link text helps search engines understand your content. Learn more.
6
Page isn’t blocked from indexing
Search engines are unable to include your pages in search results if they don't have permission to crawl them. Learn more.
7
robots.txt is valid
If your robots.txt file is malformed, crawlers may not be able to understand how you want your website to be crawled or indexed.
8
Document has a valid hreflang
hreflang
hreflang links tell search engines what version of a page they should list in search results for a given language or region. Learn more.
9
Document uses legible font sizes
100% legible text
Font sizes less than 12px are too small to be legible and require mobile visitors to “pinch to zoom” in order to read. Strive to have >60% of page text ≥12px. Learn more.
Source | Selector | % of Page Text | Font Size |
---|---|---|---|
Legible text | 100.00% | ≥ 12px |
10
Document avoids plugins
Search engines can't index plugin content, and many devices restrict plugins or don't support them. Learn more.
Not applicable
1 audits
Not applicable
1 audits
1
Document has a valid rel=canonical
rel=canonical
Canonical links suggest which URL to show in search results. Learn more.