All language subtitles for 144 Testing Performance With Lighthouse.en_US

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:01,360 --> 00:00:03,210 Let's now tackle another item 2 00:00:03,210 --> 00:00:06,990 that was on the list for the test and optimize step. 3 00:00:06,990 --> 00:00:09,900 And that is to test the website performance 4 00:00:09,900 --> 00:00:11,993 using the Lighthouse tool. 5 00:00:13,900 --> 00:00:17,810 And the Lighthouse tool is basically an automated tool 6 00:00:17,810 --> 00:00:22,010 that we can use to improve the quality of our pages. 7 00:00:22,010 --> 00:00:26,710 And it was developed by Google and therefore it is available 8 00:00:26,710 --> 00:00:28,163 here in our dev tools. 9 00:00:29,140 --> 00:00:30,797 So let's click inspect here 10 00:00:30,797 --> 00:00:32,890 and then all the way here at the end 11 00:00:32,890 --> 00:00:36,063 you should have this tab which says Lighthouse. 12 00:00:37,690 --> 00:00:40,140 So let's give ourselves some more space. 13 00:00:40,140 --> 00:00:44,820 And then here, we will want to turn on all the categories, 14 00:00:44,820 --> 00:00:47,860 maybe except Progressive Web App. 15 00:00:47,860 --> 00:00:50,480 And here we can then choose if we want to test 16 00:00:50,480 --> 00:00:53,210 on desktop or on mobile. 17 00:00:53,210 --> 00:00:57,680 So let's start with desktop and then generating the report. 18 00:00:57,680 --> 00:01:00,890 And this going to take a little bit of time, 19 00:01:00,890 --> 00:01:03,430 so you see it does different things here, 20 00:01:03,430 --> 00:01:06,370 but that was actually pretty quick. 21 00:01:06,370 --> 00:01:10,800 So we got these four scores for these different categories. 22 00:01:10,800 --> 00:01:13,778 So our performance seems to be excellent. 23 00:01:13,778 --> 00:01:17,290 The accessibility has some things to improve 24 00:01:17,290 --> 00:01:22,290 and also on the SEO, so search engine optimization. 25 00:01:22,600 --> 00:01:25,540 Now this performance here is not really indicative 26 00:01:25,540 --> 00:01:27,270 of the real truth, 27 00:01:27,270 --> 00:01:29,560 because for that we would actually 28 00:01:29,560 --> 00:01:32,770 need to test this once the website is deployed. 29 00:01:32,770 --> 00:01:34,710 And so we will run this test again, 30 00:01:34,710 --> 00:01:39,450 once we do that in the last lecture here of the section. 31 00:01:39,450 --> 00:01:42,890 But for now let's take a look at the results 32 00:01:42,890 --> 00:01:44,630 and if everything is green, 33 00:01:44,630 --> 00:01:48,870 then that is perfect and you don't have much to fix. 34 00:01:48,870 --> 00:01:53,430 But anyway, let's take a, a quick look here at our results. 35 00:01:53,430 --> 00:01:55,920 And again, the results in performance, 36 00:01:55,920 --> 00:02:00,080 they are kind of skewed because we would have to test this 37 00:02:00,080 --> 00:02:02,490 once the website is actually deployed, 38 00:02:02,490 --> 00:02:04,230 because right now, of course, 39 00:02:04,230 --> 00:02:08,620 everything is very fast to load because the web page 40 00:02:08,620 --> 00:02:11,020 is still loading from our own computer. 41 00:02:11,020 --> 00:02:16,020 So we are still here on our local server basically, 42 00:02:16,030 --> 00:02:18,703 and so therefore everything is really, really fast. 43 00:02:20,410 --> 00:02:21,750 Okay. 44 00:02:21,750 --> 00:02:23,650 So here, what we need to do 45 00:02:23,650 --> 00:02:27,230 is basically to fix the image sizes. 46 00:02:27,230 --> 00:02:32,150 And so here we can see, we can potentially save 1.4 seconds. 47 00:02:32,150 --> 00:02:35,010 And so that is what I mentioned also before, 48 00:02:35,010 --> 00:02:37,450 so way back in the design section, 49 00:02:37,450 --> 00:02:42,010 which is that it is very, very important to optimize images. 50 00:02:42,010 --> 00:02:44,830 So both in terms of the image dimensions, 51 00:02:44,830 --> 00:02:49,793 and also of the actual size in kilobytes, or even megabytes. 52 00:02:50,990 --> 00:02:54,640 So here we're talking about those sizes, 53 00:02:54,640 --> 00:02:56,320 so big problem there, 54 00:02:56,320 --> 00:02:59,750 and here, we're talking about the payloads. 55 00:02:59,750 --> 00:03:04,070 So basically that's the file size in terms of kilobytes 56 00:03:04,070 --> 00:03:07,430 and in fact, our images are huge. 57 00:03:07,430 --> 00:03:10,630 And so that is something that we will need to fix soon, 58 00:03:10,630 --> 00:03:13,833 so not in this lecture, but in one of the next ones. 59 00:03:15,110 --> 00:03:17,300 Also, it tells us here that we should 60 00:03:17,300 --> 00:03:19,330 explicitly define the width, 61 00:03:19,330 --> 00:03:21,800 and the height attributes on images, 62 00:03:21,800 --> 00:03:24,630 which is something that we did not do. 63 00:03:24,630 --> 00:03:27,683 And so all of this here is impacting our performance. 64 00:03:29,810 --> 00:03:32,660 Now again, we will not fix that for now, but a bit later. 65 00:03:33,600 --> 00:03:38,440 Then in terms of accessibility we passed a lot of things, 66 00:03:38,440 --> 00:03:41,050 so here we can see what we passed. 67 00:03:41,050 --> 00:03:43,773 So for example, let's see. 68 00:03:45,020 --> 00:03:48,210 So we have, of course, a title element here, 69 00:03:48,210 --> 00:03:51,050 the HTML has the link attribute, 70 00:03:51,050 --> 00:03:53,920 and so remember that was important, 71 00:03:53,920 --> 00:03:56,513 so we set it here to English. 72 00:04:00,350 --> 00:04:03,760 And so that seems to be important for accessibility. 73 00:04:03,760 --> 00:04:06,930 Also here, image elements have alt attributes. 74 00:04:06,930 --> 00:04:09,860 So, as I kept telling you throughout the course, 75 00:04:09,860 --> 00:04:13,600 we should never forget the alt attribute on images. 76 00:04:13,600 --> 00:04:16,083 And so that's why we passed the audit here. 77 00:04:18,020 --> 00:04:21,420 Then, a list items are contained within the U L, 78 00:04:21,420 --> 00:04:24,123 so unordered list or ordered list. 79 00:04:25,160 --> 00:04:28,163 So again, that's something that we have been doing always. 80 00:04:29,370 --> 00:04:32,980 So yeah, so we passed most of the things there, 81 00:04:32,980 --> 00:04:36,730 but let's actually take a look at what we did not pass. 82 00:04:36,730 --> 00:04:39,670 So there are some issues apparently 83 00:04:39,670 --> 00:04:42,043 with color contrast ratio. 84 00:04:43,790 --> 00:04:48,083 So here our white text on our primary orange color, 85 00:04:49,410 --> 00:04:51,163 apparently it's not perfect. 86 00:04:53,510 --> 00:04:54,580 No, right. 87 00:04:54,580 --> 00:04:58,650 But actually this test here does not really work that well 88 00:04:58,650 --> 00:05:00,300 because remember way back, 89 00:05:00,300 --> 00:05:02,460 when we designed this hero section, 90 00:05:02,460 --> 00:05:05,320 we actually did change the color of this text here 91 00:05:05,320 --> 00:05:08,753 to give it a good contrast ratio with the background. 92 00:05:09,690 --> 00:05:13,150 So we already checked that this one here is actually okay. 93 00:05:13,150 --> 00:05:16,890 So I'm not sure why the value appears here 94 00:05:16,890 --> 00:05:18,423 as not being okay. 95 00:05:20,210 --> 00:05:24,560 So what that means is that there are basically some errors 96 00:05:24,560 --> 00:05:27,853 in this section here of the Lighthouse test. 97 00:05:29,200 --> 00:05:31,270 So we can ignore this one here. 98 00:05:31,270 --> 00:05:34,590 Then here, we already knew that this was an issue, 99 00:05:34,590 --> 00:05:36,903 but we had simply ignored it. 100 00:05:38,090 --> 00:05:39,900 Then again, this subheading, 101 00:05:39,900 --> 00:05:43,023 so here we actually even chose, again. 102 00:05:45,929 --> 00:05:48,010 Let's add some space back. 103 00:05:48,010 --> 00:05:52,310 So here we did again, actually choose to a bit darker color 104 00:05:52,310 --> 00:05:54,010 just to make sure that 105 00:05:54,010 --> 00:05:56,750 the color becomes actually accessible. 106 00:05:56,750 --> 00:06:00,130 So really not sure why Lighthouse here, 107 00:06:00,130 --> 00:06:02,520 tells us that it is not. 108 00:06:02,520 --> 00:06:04,350 Now this, of course it's not accessible, 109 00:06:04,350 --> 00:06:07,030 and again, we made that on purpose. 110 00:06:07,030 --> 00:06:08,343 Then the subheading again, 111 00:06:09,780 --> 00:06:13,210 and also while this orange text on white 112 00:06:13,210 --> 00:06:16,400 apparently is also not so accessible, 113 00:06:16,400 --> 00:06:18,123 let's just check that quickly. 114 00:06:19,370 --> 00:06:22,590 But while I'm also not going to go back now 115 00:06:22,590 --> 00:06:23,690 and change everything. 116 00:06:25,300 --> 00:06:28,920 So you could do that, and if you're building a real website, 117 00:06:28,920 --> 00:06:31,423 then you should probably do that. 118 00:06:33,888 --> 00:06:38,888 Yeah, and yeah, so that contrast ratio is not ideal, 119 00:06:39,120 --> 00:06:41,690 even though I really cannot see 120 00:06:41,690 --> 00:06:45,523 how this link here is hard to read. 121 00:06:46,500 --> 00:06:48,440 So right here, 122 00:06:48,440 --> 00:06:51,430 I mean visually the contrast ratio looks just fine, 123 00:06:51,430 --> 00:06:55,160 but apparently with this algorithm, 124 00:06:55,160 --> 00:06:59,390 so with the algorithm that measures the color contrast, 125 00:06:59,390 --> 00:07:01,713 somehow it is just 2.85. 126 00:07:02,870 --> 00:07:05,880 So, again if you were building a real website, 127 00:07:05,880 --> 00:07:08,490 then probably you couldn't really use 128 00:07:08,490 --> 00:07:11,233 this orange brand color here and, 129 00:07:12,140 --> 00:07:13,490 well, you'd have to replace it, 130 00:07:13,490 --> 00:07:14,940 but I'm not going to do that. 131 00:07:16,690 --> 00:07:19,410 So yeah. 132 00:07:19,410 --> 00:07:21,593 Let's check the next category here. 133 00:07:24,180 --> 00:07:28,823 So let's see what best practices we passed. 134 00:07:32,370 --> 00:07:34,570 Well, these are actually kind of independent 135 00:07:34,570 --> 00:07:37,240 of what we did and let's take a quick look 136 00:07:37,240 --> 00:07:39,223 at search engine optimization. 137 00:07:40,530 --> 00:07:42,560 So remember how I said that 138 00:07:42,560 --> 00:07:45,940 for search engine optimization, to do it properly, 139 00:07:45,940 --> 00:07:49,610 you would need an entire course just for that. 140 00:07:49,610 --> 00:07:51,630 So I'm not going to go into that, 141 00:07:51,630 --> 00:07:55,483 but we will fix this meta-description here. 142 00:07:56,550 --> 00:07:59,440 So that's something that you will do in the next lecture. 143 00:07:59,440 --> 00:08:01,550 So basically adding a short description 144 00:08:01,550 --> 00:08:04,933 that is then visible in Google and other search engines. 145 00:08:08,022 --> 00:08:10,750 All right, but we still did pass 146 00:08:10,750 --> 00:08:13,810 some things for search engine optimization, 147 00:08:13,810 --> 00:08:17,830 such as this Viewport meta tag, 148 00:08:17,830 --> 00:08:19,893 and some of this other stuff right here. 149 00:08:20,960 --> 00:08:21,793 Okay. 150 00:08:23,010 --> 00:08:27,440 So, the accessibility things, I will leave them as they are. 151 00:08:27,440 --> 00:08:30,160 And then in the next lecture I will fix 152 00:08:30,160 --> 00:08:34,320 that search engine optimization meta-description. 153 00:08:34,320 --> 00:08:36,970 And then after that we will optimize the images 154 00:08:36,970 --> 00:08:40,170 so that then we can finally launch our project 155 00:08:40,170 --> 00:08:43,643 to the internet, so deploy it on a live server. 11734

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.