夜的第七章

https://lwdgit.github.io/?from=homescreen
夜的第七章 - 个人博客
Added a month ago, Updated 21 minutes ago

LIGHTHOUSE 82

Lighthouse version2.1.0
Progressive Web App82
Registers a Service Workertrue
Responds with a 200 when offlinetrue
Contains some content when JavaScript is not availabletrue
Uses HTTPStrue
Redirects HTTP traffic to HTTPStrue
Page load is fast enough on 3Gnull
User can be prompted to Install the Web Apptrue
Configured for a custom splash screenfalse
Address bar matches brand colorstrue
Has a `<meta name="viewport">` tag with `width` or `initial-scale`true
Content is sized correctly for the viewporttrue
Site works cross-browserfalse
Page transitions don't feel like they block on the networkfalse
Each page has a URLfalse
Performance26
First meaningful paint56
First Interactive (beta)null
Consistently Interactive (beta)null
Perceptual Speed Index71
Estimated Input Latency98
Reduce render-blocking stylesheets100
Reduce render-blocking scripts100
Properly size images90
Offscreen imagesnull
Optimize images100
Serve images as WebP100
Enable text compression100
Avoids enormous network payloads100
Avoids an excessive DOM size100
Critical Request Chainsfalse
User Timing marks and measurestrue
Screenshot Thumbnails100
Accessibility0
`[accesskey]` values are unique.null
`[aria-*]` attributes match their roles.null
`[role]`s have all required `[aria-*]` attributes.null
`[role]`s that require child `[role]`s contain them.null
`[role]`s are contained by their required parent element.null
`[role]` values are valid.null
`[aria-*]` attributes have valid values.null
`[aria-*]` attributes are valid and not misspelled.null
`<audio>` elements contain a `<track>` element with `[kind="captions"]`.null
Buttons have an accessible name.null
The page contains a heading, skip link, or landmark region.null
Background and foreground colors have a sufficient contrast ratio.null
`<dl>`'s contain only properly-ordered `<dt>` and `<dd>` groups, `<script>` or <template> elements.null
Definition list items are wrapped in `<dl>` elements.null
Document has a `<title>` element.null
`[id]` attributes on the page are unique.null
`<frame>` or `<iframe>` elements have a title.null
`<html>` element has a `[lang]` attribute.null
`<html>` element has a valid value for its `[lang]` attribute.null
Image elements have `[alt]` attributes.null
`<input type="image">` elements have `[alt]` text.null
Form elements have associated labels.null
Presentational `<table>` elements avoid using `<th>`, `<caption>` or the `[summary]` attribute.null
Links have a discernable name.null
Lists contain only `<li>` elements and script supporting elements (`<script>` and `<template>`).null
List items (`<li>`) are contained within `<ul>` or `<ol>` parent elements.null
The document does not use `<meta http-equiv="refresh">`.null
`[user-scalable="no"]` is not used in the `<meta name="viewport">` element and the `[maximum-scale]` attribute is not less than 5.null
`<object>` elements have `[alt]` text.null
No element has a `[tabindex]` value greater than 0.null
Cells in a `<table>` element that use the `[headers]` attribute only refer to other cells of that same table.null
`<th>` elements and elements with `[role="columnheader"/"rowheader"]` have data cells they describe.null
`[lang]` attributes have a valid value.null
`<video>` elements contain a `<track>` element with `[kind="captions"]`.null
`<video>` elements contain a `<track>` element with `[kind="description"]`.null
Best Practices92
Avoids Application Cachetrue
Avoids WebSQL DBtrue
Uses HTTPStrue
Uses HTTP/2 for its own resourcesfalse
Uses passive listeners to improve scrolling performancetrue
Avoids Mutation Events in its own scriptstrue
Avoids `document.write()`true
Opens external anchors using `rel="noopener"`true
Avoids requesting the geolocation permission on page loadtrue
Avoids requesting the notification permission on page loadtrue
Avoids deprecated APIstrue
Manifest's `short_name` won't be truncated when displayed on homescreentrue
Allows to paste into password input fieldstrue

WebPageTest

PageSpeed Insights

MANIFEST

{
  "name": "夜的第七章",
  "short_name": "夜的第七章",
  "description": "夜的第七章 - 个人博客",
  "start_url": "/?from=homescreen",
  "icons": [
    {
      "src": "https://avatars2.githubusercontent.com/u/5530205?v=3&s=192",
      "sizes": "192x192",
      "type": "image/png"
    }
  ],
  "theme_color": "#41a5b6",
  "background_color": "#f2f4f7",
  "display": "standalone"
}