Gå direkt till sidans huvudinnehåll

Trafikverket

Webbplats: www.trafikverket.se
Totalbetyg: 3.98 av 5
Kategori: Övrig offentlig sektor

Snittbetyg per kategori

Tillgänglighet: 4.03 av 5
Hastighet: 4.37 av 5
Webbstandard: 4.09 av 5
Integritet & säkerhet: 3.84 av 5

Är något konstigt med dessa värden? Kommentera gärna i vår Slack.


Hoppa till senast genomförda tester för Trafikverket:

Test­resultat

Validerar HTML

Kontrollerar HTML-koden mot W3C för att se om den har rätt syntax och följer webbstandard.


Betyg: 2.65 av 5

- Den testade sidan har 37 st fel i sin HTML-kod. Det är inte så bra.

Webbstandard

- #1: Webbsida - Antal (grupperade fel): 5 ( 4.00 betyg )
- #1: Webbsida - Antal fel: 37 ( 1.30 betyg )
- Attribute X not allowed on element X at this point. (totalt 11 st)
- A numeric character reference expanded to carriage return. (totalt 11 st)
- Element X not allowed as child of element X in this context. (Suppressing further errors from this subtree.) (totalt 10 st)
- Duplicate ID X. (totalt 3 st)
- The X attribute must point to an element in the same document. (totalt 2 st)

Tillgänglighetsredogörelse

Enligt DOS-lagen ska offentlig sektor och offentlig­finansierade organisationer ha en tillgänglighets­redogörelse. Den behöver vara lätt att hitta och ha ett innehåll för att vara korrekt.


Betyg: 1 av 5

- Testad webbadress: https://www.trafikverket.se
- Ingen tillgänglighets­redogörelse hittad ( 1.00 betyg )

Tillgänglighet

- Ingen tillgänglighets­redogörelse hittad ( 1.00 betyg )

Sökmotoroptimering (SEO) enligt Google Lighthouse

Är webbplatsen bra på sökmotoroptimering/SEO? Alltså att nå ut via sökmotorer, enligt Google Lighthouse kriterier.


Betyg: 5 av 5

- Webbsidan följer god SEO-praxis fullt ut!

Kolla Lighthouse hos web.dev

Validerar CSS

Kontrollerar CSS-koden mot W3C för att se om den har rätt syntax och följer webbstandard.


Betyg: 4.90 av 5

- CSS är välbyggd!

Webbstandard

- `< link rel="stylesheet">` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< link rel="stylesheet">` in: #1: Webbsida , antal fel: 4 ( 4.60 betyg )
- CSS: X: X is not a X value. (totalt 3 st)
- CSS: X: Property X doesn't exist. (totalt 1 st)

Webbprestanda enligt Sitespeed.io

Kontroll av hur snabb webbplatsen är, genom opensource-verktyget Sitespeed.io.


Betyg: 5 av 5

Hastighet

- [desktop] TTFB (Time to First Byte): 76.50ms, ±11.50ms ( 5.00 betyg )
- [desktop] DOMContentLoaded: 274.67ms, ±34.33ms ( 5.00 betyg )
- [desktop] LCP (Largest Contentful Paint): 312.00ms, ±44.00ms ( 5.00 betyg )
- [desktop] Load: 422.67ms, ±20.33ms ( 5.00 betyg )
- [desktop] TBT (Total Blocking Time): 8.25ms, ±2.75ms ( 5.00 betyg )
- [desktop] CLS (Cumulative Layout Shift): 0.00ms, ±0.00ms ( 5.00 betyg )
- [desktop] FirstVisualChange: 252.00ms, ±14.00ms ( 5.00 betyg )
- [desktop] SpeedIndex: 292.50ms, ±23.50ms ( 5.00 betyg )
- [desktop] VisualComplete85: 320.00ms, ±54.00ms ( 5.00 betyg )
- [desktop] FCP (First Contentful Paint): 244.00ms, ±0.00ms ( 5.00 betyg )
- [desktop] firstPaint: 244.00ms, ±24.00ms
- [desktop] LastVisualChange: 370.50ms, ±37.50ms
- [mobile] TTFB (Time to First Byte): 66.50ms, ±2.50ms ( 5.00 betyg )
- [mobile] DOMContentLoaded: 268.00ms, ±26.00ms ( 5.00 betyg )
- [mobile] LCP (Largest Contentful Paint): 412.00ms, ±72.00ms ( 5.00 betyg )
- [mobile] Load: 533.67ms, ±54.33ms ( 5.00 betyg )
- [mobile] FirstVisualChange: 238.50ms, ±33.50ms ( 5.00 betyg )
- [mobile] SpeedIndex: 340.50ms, ±2.50ms ( 5.00 betyg )
- [mobile] VisualComplete85: 443.00ms, ±67.00ms ( 5.00 betyg )
- [mobile] TBT (Total Blocking Time): 1.50ms, ±0.50ms ( 5.00 betyg )
- [mobile] FCP (First Contentful Paint): 224.00ms, ±0.00ms ( 5.00 betyg )
- [mobile] CLS (Cumulative Layout Shift): 0.00ms, ±0.00ms ( 5.00 betyg )
- [mobile] firstPaint: 224.00ms, ±28.00ms
- [mobile] LastVisualChange: 903.50ms, ±14.50ms

Mjukvara

Alpha-versionen av vårt mjukvaratest. Kontrollerar om det finns utdaterade versioner av mjukvara eller ramverk. Det vill säga potentiella säkerhetsrisker.


Betyg: 3.95 av 5

- Innehållshanteringssystem: episerver
- Webbserver: iis, nginx
- Operativsystem: windows-server
- Teknik: asp.net, c, csharp, es6, js, mysql, php
- Licenser: gpl-3.0
- Metadata: apple-touch-icon, icon, open-graph, referrer, viewport
- JS-ramverk/bibliotek: core-js, matomo, secure-filters, tag-manager, util
- Språk: sv
- Bildformat: jpg, png, svg, webp

CSS

Kontrollerar CSS-koden mot Webperf-communityts egna CSS-test, för att se om det följer modern webbstandard.


Betyg: 4.30 av 5

- CSS är bra.

Webbstandard

- `< link rel="stylesheet">` in: #1: Webbsida , antal grupperade fel: 9 ( 3.20 betyg )
- `< link rel="stylesheet">` in: #1: Webbsida , antal fel: 19 ( 1.20 betyg )
- Unexpected deprecated keyword X for property X (declaration-property-value-keyword-no-deprecated) (totalt 5 st)
- Oväntad okänd funktion “tint-color” (totalt 4 st)
- Oväntat okänt värde “border-color” för egenskap “tint-color(#5f0000,20%)” (totalt 3 st)
- Oväntat okänt värde “box-shadow” för egenskap “none” (totalt 2 st)
- Oväntat okänt värde “text-align” för egenskap “-webkit-match-parent” (totalt 1 st)
- Oväntat okänt värde “speak” för egenskap “none” (totalt 1 st)
- Oväntad okänd anpassad egenskap “--bs-body-text-align” (totalt 1 st)
- Oväntad okänd anpassad egenskap “--bs-nav-link-font-size” (totalt 1 st)
- Oväntad okänd anpassad egenskap “--bs-breadcrumb-font-size” (totalt 1 st)

Standardfiler

Letar efter standardfiler som robots.txt, security.txt, sitemaps och RSS-prenumerationer


Betyg: 4.88 av 5

- RSS-prenumeration saknas i HTML-kodens metadata. ( 4.50 betyg )

E-post

Beta-version av e-postkollen. Utvärderar inställningar som SPF, DNS, MX och mycket mer.
Obs! Detta test ingår inte i totalbetyget, däremot i delbetyget Integritet & säkerhet.


Betyg: 3.50 av 5

Webbstandard

- MX DNS IPv6-post hittades inte ( 1.00 betyg )
- MTA-STS DNS-post hittades inte ( 1.00 betyg )
- MTA-STS TXT hittades inte ( 1.00 betyg )
- SPF DNS-post har otillåtet innehåll ( 1.00 betyg )
- SPF DNS-post använder två mellanslag istället för ett ( 1.50 betyg )

Integritet & säkerhet

- MTA-STS DNS-post hittades inte ( 1.00 betyg )
- MTA-STS TXT hittades inte ( 1.00 betyg )
- SPF DNS-post använder mjukt misslyckande ( 2.00 betyg )
- SPF-servrar i länder utan adekvat nivå av dataskydd: US ( 1.00 betyg )
- DMARC DNS-post använder 'none' för policy ( 1.00 betyg )

Javascript

Kontrollerar ifall Javascript-koden är korrekt enligt Webperf-communityts egna Javascript-test. Testet är ett "lint"-test för att avgöra om det är korrekt Javascript och följer webbstandard.


Betyg: 2.51 av 5

- JS är dålig.

Webbstandard

- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 2 ( 4.60 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 4 ( 4.20 betyg )
- X is defined but never used. (totalt 3 st)
- Parsing error: Unexpected token : (totalt 1 st)
- `content-type=".*javascript.*"` in: #8: container-Cs080, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #8: container-Cs080, antal fel: 231 ( 1.00 betyg )
- X is not defined. (totalt 132 st)
- X is defined but never used. (totalt 64 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 15 st)
- `content-type=".*javascript.*"` in: #9: 9755.a553f70a9f, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #9: 9755.a553f70a9f, antal fel: 242 ( 1.00 betyg )
- X is not defined. (totalt 132 st)
- X is defined but never used. (totalt 75 st)
- Unexpected console statement. (totalt 20 st)
- X is assigned a value but never used. (totalt 15 st)
- `content-type=".*javascript.*"` in: #10: 6324.8259809080, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #10: 6324.8259809080, antal fel: 260 ( 1.00 betyg )
- X is not defined. (totalt 138 st)
- X is defined but never used. (totalt 83 st)
- Unexpected console statement. (totalt 22 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #11: importantmessag, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #11: importantmessag, antal fel: 265 ( 1.00 betyg )
- X is not defined. (totalt 138 st)
- X is defined but never used. (totalt 88 st)
- Unexpected console statement. (totalt 22 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #12: county-map.a424, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #12: county-map.a424, antal fel: 267 ( 1.00 betyg )
- X is not defined. (totalt 138 st)
- X is defined but never used. (totalt 90 st)
- Unexpected console statement. (totalt 22 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #13: county-selector, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #13: county-selector, antal fel: 274 ( 1.00 betyg )
- X is not defined. (totalt 138 st)
- X is defined but never used. (totalt 97 st)
- Unexpected console statement. (totalt 22 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #14: quicksearch.c29, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #14: quicksearch.c29, antal fel: 282 ( 1.00 betyg )
- X is not defined. (totalt 138 st)
- X is defined but never used. (totalt 103 st)
- Unexpected console statement. (totalt 24 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #16: countycontent.a, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #16: countycontent.a, antal fel: 298 ( 1.00 betyg )
- X is not defined. (totalt 138 st)
- X is defined but never used. (totalt 117 st)
- Unexpected console statement. (totalt 26 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #17: pagelist.b0e83b, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #17: pagelist.b0e83b, antal fel: 313 ( 1.00 betyg )
- X is not defined. (totalt 139 st)
- X is defined but never used. (totalt 131 st)
- Unexpected console statement. (totalt 26 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #18: cookie-consent., antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #18: cookie-consent., antal fel: 325 ( 1.00 betyg )
- X is defined but never used. (totalt 140 st)
- X is not defined. (totalt 139 st)
- Unexpected console statement. (totalt 29 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #19: cookie-consent-, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #19: cookie-consent-, antal fel: 328 ( 1.00 betyg )
- X is defined but never used. (totalt 143 st)
- X is not defined. (totalt 139 st)
- Unexpected console statement. (totalt 29 st)
- X is assigned a value but never used. (totalt 17 st)
- `content-type=".*javascript.*"` in: #31: configs.php, antal grupperade fel: 4 ( 4.20 betyg )
- `content-type=".*javascript.*"` in: #31: configs.php, antal fel: 329 ( 1.00 betyg )
- X is defined but never used. (totalt 143 st)
- X is not defined. (totalt 140 st)
- Unexpected console statement. (totalt 29 st)
- X is assigned a value but never used. (totalt 17 st)

Integritet & säkerhet

- `< script src="...">` in: #1: Webbsida , antal grupperade fel: 4 ( 4.20 betyg )
- `< script src="...">` in: #1: Webbsida , antal fel: 21 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 13 st)
- Expected X and instead saw X. (totalt 6 st)
- Parsing error: Unexpected token : (totalt 1 st)
- The Function constructor is eval. (totalt 1 st)
- `content-type=".*javascript.*"` in: #8: container-Cs080, antal grupperade fel: 7 ( 3.60 betyg )
- `content-type=".*javascript.*"` in: #8: container-Cs080, antal fel: 104 ( 1.00 betyg )
- Expected X and instead saw X. (totalt 54 st)
- Unnecessary escape character: \/. (totalt 34 st)
- Do not access Object.prototype method X from target object. (totalt 9 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Unnecessary X. (totalt 1 st)
- `content-type=".*javascript.*"` in: #9: 9755.a553f70a9f, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #9: 9755.a553f70a9f, antal fel: 450 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 202 st)
- Expected X and instead saw X. (totalt 190 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #10: 6324.8259809080, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #10: 6324.8259809080, antal fel: 520 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 242 st)
- Expected X and instead saw X. (totalt 220 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #11: importantmessag, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #11: importantmessag, antal fel: 554 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 271 st)
- Expected X and instead saw X. (totalt 225 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #12: county-map.a424, antal grupperade fel: 11 ( 2.80 betyg )
- `content-type=".*javascript.*"` in: #12: county-map.a424, antal fel: 557 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 274 st)
- Expected X and instead saw X. (totalt 225 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #13: county-selector, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #13: county-selector, antal fel: 574 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 286 st)
- Expected X and instead saw X. (totalt 227 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Async method X has no X expression. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #14: quicksearch.c29, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #14: quicksearch.c29, antal fel: 583 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 295 st)
- Expected X and instead saw X. (totalt 227 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Async method X has no X expression. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #16: countycontent.a, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #16: countycontent.a, antal fel: 604 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 310 st)
- Expected X and instead saw X. (totalt 230 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Async method X has no X expression. (totalt 6 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #17: pagelist.b0e83b, antal grupperade fel: 12 ( 2.60 betyg )
- `content-type=".*javascript.*"` in: #17: pagelist.b0e83b, antal fel: 611 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 315 st)
- Expected X and instead saw X. (totalt 232 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Async method X has no X expression. (totalt 6 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #18: cookie-consent., antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #18: cookie-consent., antal fel: 621 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 322 st)
- Expected X and instead saw X. (totalt 232 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Async method X has no X expression. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #19: cookie-consent-, antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #19: cookie-consent-, antal fel: 623 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 324 st)
- Expected X and instead saw X. (totalt 232 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Async method X has no X expression. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)
- `content-type=".*javascript.*"` in: #31: configs.php, antal grupperade fel: 13 ( 2.40 betyg )
- `content-type=".*javascript.*"` in: #31: configs.php, antal fel: 623 ( 1.00 betyg )
- Expected an assignment or function call and instead saw an expression. (totalt 324 st)
- Expected X and instead saw X. (totalt 232 st)
- Unnecessary escape character: \/. (totalt 36 st)
- Do not access Object.prototype method X from target object. (totalt 10 st)
- Async method X has no X expression. (totalt 7 st)
- Unnecessary escape character: \-. (totalt 3 st)
- Unnecessary escape character: \.. (totalt 2 st)
- Unnecessary X. (totalt 2 st)
- X is not modified in this loop. (totalt 2 st)
- Async arrow function has no X expression. (totalt 2 st)
- Unnecessary escape character: \). (totalt 1 st)
- Comparing to itself is potentially pointless. (totalt 1 st)
- X is assigned to itself. (totalt 1 st)

HTML

Kontrollerar HTML-koden mot Webperf-communityts egna HTML-test, för att se om det följer modern webbstandard.


Betyg: 3.10 av 5

- HTML är ok.

Webbstandard

- #1: Webbsida , antal grupperade fel: 6 ( 3.80 betyg )
- #1: Webbsida , antal fel: 13 ( 2.40 betyg )
- < quicksearch> is not a valid element name (totalt 4 st)
- Duplicate ID X (totalt 3 st)
- < pagelist> is not a valid element name (totalt 3 st)
- < importantmessages> is not a valid element name (totalt 1 st)
- X cannot be used on this element (totalt 1 st)
- < countycontent> is not a valid element name (totalt 1 st)

Spårning och integritet

Kontrollerar om webbplatsen har tredjeparter och molntjänster utanför EU:s jurisdiktion, och om fingerprint-teknik används eller annat som äventyrar användarens integritet?


Betyg: 4.98 av 5

Integritet & säkerhet

Antal olika länder: 1
Sidan skickades från Sverige: Ja
##### Spårning ( 4.89 betyg )
- #35: matomo.php - Spårning hittad ( 1.00 betyg )
Besökaranalys används:
- #8: container-Cs080 - Har referens till Matomo
- #8: container-Cs080 - Har referens till Matomo Tag Manager
- #23: matomo.php - Har referens till Matomo
- #35: matomo.php - Har referens till Matomo

Integritetstest med Webbkoll

5 juli-stiftelsens tjänst Webbkoll kollar hur mycket som gjorts för att skydda besökarnas integritet. Betyg och bedömning är Webperfs.


Betyg: 3.78 av 5

- Ok integritet men borde nog bli bättre.

Integritet & säkerhet

- HTTP Strict Transport Security HSTS är ok, men har 1 fel och 1 varning(ar). ( 4.25 betyg )
- Content Security Policy är dåligt. ( 1.00 betyg )
- Referrer Policy är inte så bra. ( 2.50 betyg )
- Kakor är ok, men har 5 fel och 0 varning(ar). ( 2.50 betyg )

Energieffektivitet

Hur mycket koldioxid produceras genom en sidvisning och hur mycket energi går åt jämfört med andra webbplatser på Webperf?


Betyg: 2.80 av 5

- Genomsnittligt när det gäller koldioxid.
- Koldioxid per sidvisning: 2.36 gram
- Webbsidan är grönare än 56 % av testade webbplatser på webperf.se (Referens uppdaterad: 2025-01-09).
- Nätverksstorlek: 3.73 MB
( 2.80 betyg )

Webbprestanda enligt Google Lighthouse

Ett hastighetstest från Google.


Betyg: 3.65 av 5

- Genomsnittlig hastighet.

Hastighet

- Largest Contentful Paint: 8,2 s ( 1.00 betyg )
- First Contentful Paint: 2,3 s ( 3.80 betyg )
- Element som största uppritningen av innehåll gjordes för ( 1.00 betyg )
- Skjut upp inläsningen av bilder som inte visas på skärmen ( 1.00 betyg )
- Ta bort resurser som blockerar renderingen ( 1.00 betyg )
- Reducera CSS som inte används ( 1.00 betyg )
- Reducera JavaScript som inte används ( 1.00 betyg )
- Undvik att skicka äldre JavaScript till moderna webbläsare ( 1.00 betyg )
- Time to Interactive: 8,2 s ( 2.00 betyg )
- Se till att all text förblir synlig medan webbteckensnitten läses in: ( 2.50 betyg )
- Alla bildelement har inte `width` och `height`: ( 2.50 betyg )
- Skicka statiska tillgångar med en effektiv cachelagringspolicy: 21 resurser hittades ( 2.50 betyg )
- Högsta potentiella fördröjning till första inmatningen: 90 ms ( 4.85 betyg )

Kolla Lighthouse hos web.dev

Tillgänglighet enligt Pa11y

Tillgänglighetstest av webbplatsen för att kolla upp följsamhet till tillgänglighets­riktlinjerna WCAG (Web Content Accessibility Guidelines). Pa11y testar upp till och med nivå AAA av WCAG, vilket är högre än kravet i DOS-lagen.


Betyg: 4.30 av 5

- Webbplatsen kan bli mer tillgänglig, men är ganska ok.

Tillgänglighet

- Antal grupperade fel: 4 ( 4.20 betyg )
- Antal fel: 6 ( 4.40 betyg )

##### Problem:
- Elements should not have tabindex greater than zero (https://dequeuniversity.com/rules/axe/4.8/tabindex?application=axeAPI)
- Elements must only use permitted ARIA attributes (https://dequeuniversity.com/rules/axe/4.8/aria-prohibited-attr?application=axeAPI)
- ARIA attributes must conform to valid values (https://dequeuniversity.com/rules/axe/4.8/aria-valid-attr-value?application=axeAPI)
- Elements must only use supported ARIA attributes (https://dequeuniversity.com/rules/axe/4.8/aria-allowed-attr?application=axeAPI)

Kvalitet på frontend

Har webbplatsen bra frontendkod och frontend-prestanda enligt Yellow Lab Tools?


Betyg: 4.25 av 5

- Webbplatsen är bra.
( 4.25 betyg )
- Network ( 3.95 betyg )
- Images ( 4.65 betyg )
- Sidans DOM-komplexitet ( 4.75 betyg )
- Sidans Javascript-komplexitet ( 5.00 betyg )
- Sidans användning av dålig Javascript ( 5.00 betyg )
- Sidans användning av jQuery ( 5.00 betyg )
- Sidans CSS-komplexitet ( 1.65 betyg )
- Sidans användning av dålig CSS ( 3.75 betyg )
- Sidans användning av webbtypsnitt ( 2.50 betyg )
- Server­konfiguration ( 3.95 betyg )

Webbstandard

- Gzip/Brotli-komprimering ( 1.00 betyg )
- TLS-protokoll ( 2.00 betyg )

Integritet & säkerhet

- TLS-protokoll ( 2.00 betyg )

Hastighet

- Antal regler ( 1.10 betyg )
- Gzip/Brotli-komprimering ( 1.00 betyg )
- Filminifiering ( 1.00 betyg )
- Identiskt innehåll ( 4.00 betyg )
- Webfonts number ( 2.50 betyg )
- Overweighted webfonts ( 1.00 betyg )
- TLS-protokoll ( 2.00 betyg )
- Caching not specified ( 1.65 betyg )

HTTP & tekniktest

Kontrollerar om webbplatsen stödjer IPv6, säkerhets­standarden TLS och vilka versioner av HTTP.


Betyg: 3.83 av 5

Webbstandard

- Inget stöd för HTTPv2 ( 1.00 betyg )
- Inget stöd för HTTPv3 ( 1.00 betyg )
- trafikverket.se, använder inte HSTS ( 1.00 betyg )
- Inget TLSv1.3 stöd ( 1.00 betyg )
- Inget stöd för HTTPv2 ( 1.00 betyg )
- Inget stöd för HTTPv3 ( 1.00 betyg )
- Inget TLSv1.3 stöd ( 1.00 betyg )
- www.trafikverket.se, innehållssäkerhetspolicy (CSP) ( 1.00 betyg )
- Inget stöd för HTTPv2 ( 1.00 betyg )
- Inget stöd för HTTPv3 ( 1.00 betyg )
- Inget IPv6 stöd ( 1.00 betyg )
- Inget TLSv1.3 stöd ( 1.00 betyg )
- Inget stöd för HTTPv3 ( 1.00 betyg )
- Inget TLSv1.3 stöd ( 1.00 betyg )

Integritet & säkerhet

- trafikverket.se, använder inte HSTS ( 1.00 betyg )
- Inget TLSv1.3 stöd ( 1.00 betyg )
- Inget TLSv1.3 stöd ( 1.00 betyg )
- www.trafikverket.se, innehållssäkerhetspolicy (CSP) ( 1.00 betyg )
- Inget TLSv1.3 stöd ( 1.00 betyg )
- Inget TLSv1.3 stöd ( 1.00 betyg )

Följs praxis enligt Google Lighthouse

Kollar om webbplatsen följer god praxis för webbutveckling, enligt Google Lighthouse kriterier.


Betyg: 5 av 5

- Webbplatsen följer god praxis fullt ut!

Kolla Lighthouse hos web.dev

Tillgänglighet enligt Axe

Tillgänglighetstest genom Google Lighthouse om webbplatsen är utformad på ett tillgängligt sätt för funktionsvarierade användare. Mäter med en mobil­användares preferenser.


Betyg: 4.80 av 5

- Webbplatsen kan bli mer tillgänglig, men är ganska ok.

Tillgänglighet

- Det finns element med ett `[tabindex]`-värde som är större än 0 ( 1.00 betyg )