Improvements to site performance & accessibility

Added alt tags, language, and defered loading to assets that are not needed immediately.
This commit is contained in:
2018-11-16 13:59:12 -05:00
parent 82291517d2
commit 0436d2beb4
2 changed files with 7 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
<!doctype html> <!doctype html>
<html class="no-js" lang=""> <html class="no-js" lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge"> <meta http-equiv="x-ua-compatible" content="ie=edge">
@@ -22,8 +22,8 @@
<link rel="stylesheet" href="css/appstyling-v2.css"> <link rel="stylesheet" href="css/appstyling-v2.css">
<link href="https://fonts.googleapis.com/css?family=Zilla+Slab:500,500i" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Zilla+Slab:500,500i" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js" ></script>
<script src="js/Weight Calculation Script-Edited-Jquery-V4.js"> </script> <script src="js/Weight Calculation Script-Edited-Jquery-V4.js" defer> </script>
</head> </head>
<body> <body>
<!--[if lte IE 9]> <!--[if lte IE 9]>
@@ -45,7 +45,7 @@
<p class="b-platevisual__weightfinal"><span class="input-element input-final">45</span> LBS</p> <p class="b-platevisual__weightfinal"><span class="input-element input-final">45</span> LBS</p>
</div> </div>
<div class="b-platevisual__weight"> <div class="b-platevisual__weight">
<img src="images/BarBell.svg" class="b-platevisual__barbell"> <img src="images/BarBell.svg" alt="Barbell" class="b-platevisual__barbell">
<div class="b-platevisual__plates b-platevisual__plates--left"> <div class="b-platevisual__plates b-platevisual__plates--left">
</div> </div>
<div class="b-platevisual__plates b-platevisual__plates--right"> <div class="b-platevisual__plates b-platevisual__plates--right">

View File

@@ -13,7 +13,8 @@
"type": "image/png" "type": "image/png"
} }
], ],
"theme_color": "#ffffff", "start_url": "/",
"background_color": "#ffffff", "theme_color": "#CCFF00",
"background_color": "#CCFF00",
"display": "standalone" "display": "standalone"
} }