Pacman PWA

https://vitaliy-bobrov.github.io/pacman-pwa/index.html
Added 4 months ago, Updated 7 hours ago

LIGHTHOUSE 73

Lighthouse version2.3.0
Progressive Web App73
Registers a Service Workertrue
Responds with a 200 when offlinetrue
Does not provide fallback content when JavaScript is not availablefalse
Uses HTTPStrue
Redirects HTTP traffic to HTTPStrue
Page load is not fast enough on 3Gnull
User can be prompted to Install the Web Apptrue
Is not 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
Performance36
First meaningful paint100
First Interactive (beta)null
Consistently Interactive (beta)null
Perceptual Speed Index62
Estimated Input Latency57
Reduce render-blocking stylesheets100
Reduce render-blocking scripts100
Properly size images100
Offscreen imagesnull
Optimize images100
Serve images as WebP90
Enable text compression90
Avoids enormous network payloads100
Avoids an excessive DOM size100
Critical Request Chainsfalse
User Timing marks and measurestrue
Screenshot Thumbnails100
Accessibility97
`[accesskey]` values are unique.true
`[aria-*]` attributes match their roles.true
`[role]`s have all required `[aria-*]` attributes.true
Elements with `[role]` that require specific children `[role]`s, are present.true
`[role]`s are contained by their required parent element.true
`[role]` values are valid.true
`[aria-*]` attributes have valid values.true
`[aria-*]` attributes are valid and not misspelled.true
`<audio>` elements contain a `<track>` element with `[kind="captions"]`.true
Buttons have an accessible name.true
The page contains a heading, skip link, or landmark region.true
Background and foreground colors have a sufficient contrast ratio.true
`<dl>`'s contain only properly-ordered `<dt>` and `<dd>` groups, `<script>` or `<template>` elements.true
Definition list items are wrapped in `<dl>` elements.true
Document has a `<title>` element.true
`[id]` attributes on the page are unique.true
`<frame>` or `<iframe>` elements have a title.true
`<html>` element has a `[lang]` attribute.true
`<html>` element has a valid value for its `[lang]` attribute.true
Image elements have `[alt]` attributes.true
`<input type="image">` elements have `[alt]` text.true
Form elements have associated labels.true
Presentational `<table>` elements avoid using `<th>`, `<caption>` or the `[summary]` attribute.true
Links have a discernible name.true
Lists contain only `<li>` elements and script supporting elements (`<script>` and `<template>`).true
List items (`<li>`) are contained within `<ul>` or `<ol>` parent elements.true
The document does not use `<meta http-equiv="refresh">`.true
`[user-scalable="no"]` is used in the `<meta name="viewport">` element or the `[maximum-scale]` attribute is less than 5.false
`<object>` elements have `[alt]` text.true
No element has a `[tabindex]` value greater than 0.true
Cells in a `<table>` element that use the `[headers]` attribute only refer to other cells of that same table.true
`<th>` elements and elements with `[role="columnheader"/"rowheader"]` have data cells they describe.true
`[lang]` attributes have a valid value.true
`<video>` elements contain a `<track>` element with `[kind="captions"]`.true
`<video>` elements contain a `<track>` element with `[kind="description"]`.true
Best Practices92
Avoids Application Cachetrue
Avoids WebSQL DBtrue
Uses HTTPStrue
Uses HTTP/2 for its own resourcestrue
Does not use passive listeners to improve scrolling performancefalse
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 users to paste into password fieldstrue

WebPageTest

PageSpeed Insights

MANIFEST

{
  "lang": "en-US",
  "name": "Pacman PWA",
  "short_name": "Pacman PWA",
  "icons": [
    {
      "src": "assets/images/launcher-icon-0-75x.png",
      "sizes": "36x36",
      "type": "image/png",
      "density": 0.75
    },
    {
      "src": "assets/images/launcher-icon-1x.png",
      "sizes": "48x48",
      "type": "image/png",
      "density": 1
    },
    {
      "src": "assets/images/launcher-icon-1-5x.png",
      "sizes": "72x72",
      "type": "image/png",
      "density": 1.5
    },
    {
      "src": "assets/images/launcher-icon-2x.png",
      "sizes": "96x96",
      "type": "image/png",
      "density": 2
    },
    {
      "src": "assets/images/launcher-icon-3x.png",
      "sizes": "144x144",
      "type": "image/png",
      "density": 3
    },
    {
      "src": "assets/images/launcher-icon-4x.png",
      "sizes": "192x192",
      "type": "image/png",
      "density": 4
    }
  ],
  "start_url": "index.html",
  "background_color": "#424242",
  "theme_color": "#fed049",
  "display": "fullscreen"
}