Report Summary

  • 15

    Performance

    Renders faster than
    27% of other websites

  • 76

    Accessibility

    Visual factors better than
    that of 43% of websites

  • 75

    Best Practices

    More advanced features
    available than in
    36% of websites

  • 79

    SEO

    Google-friendlier than
    40% of websites

oncf-voyages.ma

ONCF : Office National des Chemins de Fer du Maroc – Achat et réservation en ligne de billets de train Al Atlas, Al Boraq, TNR- Achat et réservation e...

Page Load Speed

13.4 sec in total

First Response

2.7 sec

Resources Loaded

10.4 sec

Page Rendered

197 ms

oncf-voyages.ma screenshot

About Website

Welcome to oncf-voyages.ma homepage info - get ready to check ONCF Voyages best content for Morocco right away, or after learning these important things about oncf-voyages.ma

oncf-voyages est le site de vente en ligne de l'office National des Chemins de Fer ONCF. Pour consulter vos horaires, acheter vos billets de train Al Boraq, TNR, Al Atlas et Supratours, ou modifier vo...

Visit oncf-voyages.ma

Key Findings

We analyzed Oncf-voyages.ma page load time and found that the first response time was 2.7 sec and then it took 10.6 sec to load all DOM resources and completely render a web page. This is a poor result, as 90% of websites can load faster.

Performance Metrics

oncf-voyages.ma performance score

15

Measured Metrics

name

value

score

weighting

FCP (First Contentful Paint)

Value17.7 s

0/100

10%

LCP (Largest Contentful Paint)

Value34.0 s

0/100

25%

SI (Speed Index)

Value25.7 s

0/100

10%

TBT (Total Blocking Time)

Value27,440 ms

0/100

30%

CLS (Cumulative Layout Shift)

Value0.02

100/100

15%

TTI (Time to Interactive)

Value53.4 s

0/100

10%

Network Requests Diagram

oncf-voyages.ma

2724 ms

Chargement.aspx

753 ms

MasterPageStyle.css

304 ms

jquery-1.9.0.min.js

570 ms

jquery-migrate-1.2.1.min.js

389 ms

Our browser made a total of 38 requests to load all elements on the main page. We found that 92% of them (35 requests) were addressed to the original Oncf-voyages.ma, 5% (2 requests) were made to Google-analytics.com and 3% (1 request) were made to Stats.g.doubleclick.net. The less responsive or slowest element that took the longest time to load (2.7 sec) belongs to the original domain Oncf-voyages.ma.

Page Optimization Overview & Recommendations

Page size can be reduced by 346.9 kB (34%)

Content Size

1.0 MB

After Optimization

664.3 kB

In fact, the total size of Oncf-voyages.ma main page is 1.0 MB. This result falls beyond the top 1M of websites and identifies a large and not optimized web page that may take ages to load. 25% of websites need less resources to load. Images take 591.2 kB which makes up the majority of the site volume.

HTML Optimization

-81%

Potential reduce by 31.3 kB

  • Original 38.7 kB
  • After minification 31.1 kB
  • After compression 7.4 kB

HTML content can be minified and compressed by a website’s server. The most efficient way is to compress content using GZIP which reduces data amount travelling through the network between server and browser. This page needs HTML code to be minified as it can gain 7.7 kB, which is 20% of the original size. It is highly recommended that content of this web page should be compressed using GZIP, as it can save up to 31.3 kB or 81% of the original size.

Image Optimization

-10%

Potential reduce by 58.7 kB

  • Original 591.2 kB
  • After minification 532.5 kB

Image size optimization can help to speed up a website loading time. The chart above shows the difference between the size before and after optimization. ONCF Voyages images are well optimized though.

JavaScript Optimization

-66%

Potential reduce by 224.2 kB

  • Original 339.0 kB
  • After minification 331.0 kB
  • After compression 114.8 kB

It’s better to minify JavaScript in order to improve website performance. The diagram shows the current total size of all JavaScript files against the prospective JavaScript size after its minification and compression. It is highly recommended that all JavaScript files should be compressed and minified as it can save up to 224.2 kB or 66% of the original size.

CSS Optimization

-77%

Potential reduce by 32.6 kB

  • Original 42.2 kB
  • After minification 30.2 kB
  • After compression 9.6 kB

CSS files minification is very important to reduce a web page rendering time. The faster CSS files can load, the earlier a page can be rendered. Oncf-voyages.ma needs all CSS files to be minified and compressed as it can save up to 32.6 kB or 77% of the original size.

Requests Breakdown

Number of requests can be reduced by 11 (31%)

Requests Now

35

After Optimization

24

The browser has sent 35 CSS, Javascripts, AJAX and image requests in order to completely render the main page of ONCF Voyages. We recommend that multiple CSS and JavaScript files should be merged into one by each type, as it can help reduce assets requests from 12 to 1 for JavaScripts and as a result speed up the page load time.

Accessibility Review

oncf-voyages.ma accessibility score

76

Accessibility Issues

ARIA

These are opportunities to improve the usage of ARIA in your application which may enhance the experience for users of assistive technology, like a screen reader.

Impact

Issue

High

[aria-*] attributes do not match their roles

High

[aria-hidden="true"] elements contain focusable descendents

Contrast

These are opportunities to improve the legibility of your content.

Impact

Issue

High

Background and foreground colors do not have a sufficient contrast ratio.

Names and labels

These are opportunities to improve the semantics of the controls in your application. This may enhance the experience for users of assistive technology, like a screen reader.

Impact

Issue

High

Image elements do not have [alt] attributes

High

Links do not have a discernible name

Tables and lists

These are opportunities to improve the experience of reading tabular or list data using assistive technology, like a screen reader.

Impact

Issue

High

Lists do not contain only <li> elements and script supporting elements (<script> and <template>).

Best Practices

oncf-voyages.ma best practices score

75

Areas of Improvement

Trust and Safety

Impact

Issue

High

Does not use HTTPS

Low

Ensure CSP is effective against XSS attacks

User Experience

Impact

Issue

High

Displays images with incorrect aspect ratio

General

Impact

Issue

Low

Detected JavaScript libraries

High

Browser errors were logged to the console

High

Missing source maps for large first-party JavaScript

SEO Factors

oncf-voyages.ma SEO score

79

Search Engine Optimization Advices

Crawling and Indexing

To appear in search results, crawlers need access to your app.

Impact

Issue

High

Links are not crawlable

High

robots.txt is not valid

Content Best Practices

Format your HTML in a way that enables crawlers to better understand your app’s content.

Impact

Issue

High

Image elements do not have [alt] attributes

Mobile Friendly

Make sure your pages are mobile friendly so users don’t have to pinch or zoom in order to read the content pages. [Learn more](https://developers.google.com/search/mobile-sites/).

Impact

Issue

High

Document uses legible font sizes

Language and Encoding

  • Language Detected

    FR

  • Language Claimed

    FR

  • Encoding

    UTF-8

Language claimed in HTML meta tag should match the language actually used on the web page. Otherwise Oncf-voyages.ma can be misinterpreted by Google and other search engines. Our service has detected that French is used on the page, and it matches the claimed language. Our system also found out that Oncf-voyages.ma main page’s claimed encoding is utf-8. Use of this encoding format is the best practice as the main page visitors from all over the world won’t have any issues with symbol transcription.

Social Sharing Optimization

Open Graph description is not detected on the main page of ONCF Voyages. Lack of Open Graph description can be counter-productive for their social media presence, as such a description allows converting a website homepage (or other pages) into good-looking, rich and well-structured posts, when it is being shared on Facebook and other social media. For example, adding the following code snippet into HTML <head> tag will help to represent this web page correctly in social networks: