gurkan0791 / Front-End-Checklist

🗂 Modern web siteleri ve özenli geliştiriciler için kusursuz Front-End Checklist

Home Page:http://frontendchecklist.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Front-End Checklist

Join the chat at https://gitter.im/Front-End-Checklist/Lobby Front‑End_Checklist followed Contributors StackShare CC0

Front-End Checklist, web sitenizi/ HTML sayfanızı yayına vermeden önce test etmek için sahip olmanız gereken tüm öğelerin kapsamlı bir listesidir.

Bu, bazı diğer açık-kaynak kontrol listelerinden gelen eklemelerle birlikte Front-End geliştiricilerinin sahip olduğu yılların birikimine dayanır.

Front-End Checklist' i Product Hunt üzerinden oylayarak ve önererek paylaşmaya yardımcı olun.

İçindekiler

  1. Head
  2. HTML
  3. Webfonts
  4. CSS
  5. Images
  6. JavaScript
  7. Security
  8. Performance
  9. Accessibility
  10. SEO

Nasıl Kullanılır?

Front-End Checklist' de bulunan tüm öğeler web projelerinin çoğunluğu için gereklidir, fakat bazı öğeler dahil edilmeyebilir ya da birinci derecede önemli değildir(bir admin paneli web uygulamasında, örneğin RSS beslemesine gerek duymayabilirsiniz). Biz 3 esneklik seviyesi kullanmayı uygun buluyoruz:

  • Low öğenin tavsiye edildiği ama bazı özel durumlarda ihmal edilebileceğini ifade eder.
  • Medium öğenin şiddetle tavsiye edildiğini ve ancak bazı çok önemli durumlarda çıkarılabileceğini ifade eder. Bazı öğeler dahil edilmediği taktirde performans ve SEO açısından istenmeyen sonuçlar doğurabilir.
  • High öğenin herhangi bir nedenden dolayı ihmal edilemeyeceğini ifade eder. Sayfanızda işlev bozukluğuna neden olabilir, erişilebilirlik veya SEO sorunlarıyla karşılaşabilirsiniz.

Bazı kaynaklar, içeriğin hangi tür olduğunu anlamanıza ya da kontrol listesi üzerinde bulabilmenize yardımcı olmak için bir ifadeye sahipler.

  • 📖: belge veya makale
  • 🛠: çevrimiçi araç / test aracı
  • 📹: medya veya video içerik

Head

Notlar: HTML belgesinin <head> bölümünde bulunabilecek olan her şeyin bir listesini bulabilirsiniz.

Meta etiketi

  • Doctype: High Doctype bir HTML5' tir ve tüm HTML sayfalarınızın en üst kısmındadır.
<!-- Doctype HTML5 -->
<!doctype html>

Sonraki 3 meta etiketinin (Charset, X-UA Compatible and Viewport) head alanında ilk olarak gelmesi gerekir.

  • Charset: High Charset (UTF-8) doğru bir şekilde tanımlanır.
<!-- Belge için karakter kodlamasını belirle -->
<meta charset="utf-8">
  • X-UA-Compatible: Medium X-UA-Compatible meta etiketi mevcut.
<!-- Internet Explorer' u  en yeni işleme motorunu kullanması için bilgilendir. -->
<meta http-equiv="x-ua-compatible" content="ie=edge">
  • Viewport: High Viewport doğru bir şekilde tanımlanır.
<!-- Duyarlı web tasarım için Viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1">
  • Title: High Tüm sayfalarda bir başlık kullanılır. (SEO: Google, başlıkta kullanılan karakterlerin piksel genişliğini, başlığı 472 ve 482 piksel arasında kesip ayırarak hesaplar. Ortalama karakter sınırı 55-karakter civarı olacaktır).
<!-- Belge Başlığı -->
<title>Sayfa Başlığı 65 karakterden daha azdır.</title>
  • Description: High Bir açıklama metası, eşsiz olan ve 150 karakterden fazlasına sahip olmayan bir şekilde oluşturulur.
<!-- Meta Açıklama -->
<meta name="description" content="Sayfanın açıklaması 150 karakterden daha azdır.">
  • Favicons: Medium Her bir favicon doğru bir şekilde oluşturuldu ve görüntülendi. Eğer sadece bir favicon.ico ' nuna sahipseniz, onu sitenizin kök dizinine koyun. Normalde başka herhangi bir işaret kullanmanız gerekmez. Buna rağmen, aşağıdaki örneği kullanarak ona bağlantı vermek hala iyi bir uygulamadır. Günümüzde, .ico biçimine nazaran PNG biçimi önerilir.(boyutlar: 32x32px).
<!-- Standart favicon -->
<link rel="icon" type="image/x-icon" href="https://example.com/favicon.ico">
<!-- Önerilen favicon biçimi -->
<link rel="icon" type="image/png" href="https://example.com/favicon.png">
  • Apple Touch Icon: Low Apple mobil web uygulamasına duyarlı Apple touch favicon mevcut.(İhtiyacınız olabilecek tüm boyutları desteklemek için en azından 200x200px boyutlu Apple Icon dosyası oluşturun)
<!-- Apple Touch Icon -->
<link rel="apple-touch-icon" href="/custom-icon.png">
  • Windows Tiles:Low Windows tiles mevcut ve bağlantı sağlanmış.
<!-- Microsoft Tiles -->
<meta name="msapplication-config" content="browserconfig.xml" />

browserconfig.xml dosyası için gereken minimum xml biçimlendirmesi aşağıdaki gibidir:

<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
   <msapplication>
     <tile>
        <square70x70logo src="small.png"/>
        <square150x150logo src="medium.png"/>
        <wide310x150logo src="wide.png"/>
        <square310x310logo src="large.png"/>
     </tile>
   </msapplication>
</browserconfig>
  • Canonical: Medium Kopya içerikten kaçınmak için rel="canonical" kullanın.
<!-- Kopya içerik sorunlarını önlemeye yardım eder -->
<link rel="canonical" href="http://example.com/2017/09/a-new-article-to-red.html">

HTML etiketleri

  • Language attribute: High Web sitenizin lang özelliği belirtilmiş ve geçerli sayfanın diliyle ilişkilendirilmiştir.
<html lang="en">
  • Direction attribute: Medium Metin yönü HTML etiketi üzerinde belirtilmiş. (Bu farklı HTML etiketleri üzerinde kullanılabilir).
<html dir="rtl">
  • Alternate language: Low Web sitenizin dil özelliği belirtilmiş ve geçerli sayfanın diliyle ilişkilendirilmiştir.
<link rel="alternate" href="https://es.example.com/" hreflang="es">
  • Conditional comments: Low Gerek duyulması halinde, IE için koşullu yorumlar mevcuttur..
  • RSS feed: Low Eğer projeniz bir blog ise veya makaleler içeriyorsa, bir RSS bağlantısı sağlandı.

  • inline critical CSS: Medium Sayfa yüklenme ("ilk görünen üst kısım içeriği") sırasında hemen görünür olan içeriğe şekil veren CSS, kritik CSS olarak adlandırılır. Bu temel CSS kurallarınızdan önce ve tek bir satır olarak (küçültülmüş) <style></style> etiketleri arasına yerleştirilir.

  • CSS order: High Tüm CSS dosyaları <head> alanında tüm JavaScript dosyalarından önce yüklenir. (Kimi zaman JS dosyalarının sayfanıza eşzamanlı olmayan bir şekilde yüklendileri durumlar dışında.)

Sosyal meta

Facebook OG and Twitter Cards, herhangi bir web sitesi için şiddetle tavsiye edilir. Diğer sosyal medya etiketlerini de düşünebilirsiniz eğer onlar üzerinde özel bir varlığı hedefliyor veya görünümden emin olmak istiyorsanız.

  • Facebook Open Graph: Low Tüm Facebook Open Graph (OG) etiketleri test edilmiş ve hiçbiri eksik ya da yanlış bir bilgiye sahip değil. Resimlerin en az 600x315 piksel olması gerekir, 1200x600 piksel önerilir.

Notlar: og:image:width and og:image:height kullanımı tarayıcı(Facebot) için resim boyutlarını belirtir ve böylece resmi eş zamanlı olmayan bir şekilde yüklemeye ve işlemeye gerek duymadan hemen sunabilir.

<meta property="og:type" content="website">
<meta property="og:url" content="https://example.com/page.html">
<meta property="og:title" content="Content Title">
<meta property="og:image" content="https://example.com/image.jpg">
<meta property="og:description" content="Description Here">
<meta property="og:site_name" content="Site Name">
<meta property="og:locale" content="en_US">
<!-- Sonraki etiketler isteğe bağlıdır ama önerilir -->
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
  • Twitter Card: Low
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@site_account">
<meta name="twitter:creator" content="@individual_account">
<meta name="twitter:url" content="https://example.com/page.html">
<meta name="twitter:title" content="Content Title">
<meta name="twitter:description" content="Content description less than 200 characters">
<meta name="twitter:image" content="https://example.com/image.jpg">

⬆ başa dön


HTML

En iyi uygulamalar

  • HTML5 Anlamsal Öğeler: High HTML5 Anlamsal Öğeler gereğine uygun olarak kullanılıyor. (header, section, footer, main...).
  • Hata sayfaları: High Hata 404 ve 5xx sayfaları mevcut. 5xx hata sayfalarının CSS kurallarının dahili olması gerektiğini unutmayın(mevcut sunucu üzerinden hiçbir harici çağrı yok).

  • Noopener: Medium target="_blank" 'e sahip harici bağlantılar kullanıyorsanız, sekme ele geçirme saldırısını önlemek için bağlantınızın bir rel="noopener" özelliğine sahip olması gerekir.

  • Yorumları temizle: Low Gereksiz kodlar sayfa yayına verilmeden önce kaldırılmalıdır.

HTML testi

  • W3C uyumlu: High Muhtemel HTML kod sorunlarını belirlemek için tüm sayfalar W3C doğrulayıcıyla test edilmelidir.
  • HTML Lint: High HTML kodumda karşılaşabileceğim herhangi bir sorunu analiz etmeme yardım edecek araçlar kullanırım.
  • Bağlantı kontrolcüsü: High Sayfamda hiç kırık bağlantı yok, 404 hatanız olmadığını doğrulayın.
  • Reklam engelleyici testi: Medium Web siteniz, reklam engelleyici yazılımların aktif olduğu durumda, içeriğinizi doğru şekilde gösteriyor.(İnsanlara reklam engelleyici yazılımlarını devre dışı bırakmalarını teşvik edici bildirimler sunabilirsiniz).

⬆ başa dön


Webfonts

Notlar: Web yazı tipleri kullanmak, biçimlendirilmemiş metin ortaya çıkması(FOUT)/ net görünmeyen metin belirmesi(FOIT) sorunlarına neden olabilir. Bu durumu kontrol etmek için alternatif yazı tipleri ve/veya web yazı tipi yükleyicilerini kullanmayı düşünün.

  • Web yazı tipi dosya biçimi: High WOFF, WOFF2 ve TTF tüm modern tarayıcılarla desteklenir.
  • Web yazı tipi boyutu: High Web yazı tipi dosyaları 2 MB(tüm biçimler dahil) 'ı aşmamalı.

  • Web yazı tipi yükleyicisi: Low Bir web yazı tipi yükleyicisi ile yükleme davranışını kontrol edin.

⬆ başa dön


CSS

Notlar: Pek çok Front-End geliştiriciler tarafından takip edilen CSS Kılavuz ve Sass Kılavuz sitelerine gözatın. Eğer CSS özellikleri ile ilgili şüphelerin varsa, CSS Reference sitesini ziyaret edebilirsin.

  • Duyarlı Web Tasarım: High Web site, duyarlı web tasarımı uyguluyor.
  • CSS Print: Medium Bir baskı stil dosyası sağlanmış ve her sayfada hatasız.
  • Önişlemciler: Low Sayfanız bir CSS önişlemcisi kullanıyor (Sass tercih edilen).
  • Benzersiz Kimlik: High Eğer kimlik kullanılıyorsa, her sayfa için benzersizdir.
  • CSS Sıfırlama: High CSS sıfırlama işlemi( sıfırlama, standartlaştırma veya yeniden yükleme) kullanıldı ve güncel. (Eğer Bootstrap veya Foundation gibi CSS Framework' ları kullanıyorsanız zaten bu işlemler dahil edilmiştir.)
  • JS öneki: Low JavaScript dosyalarında kullanılan tüm class ve id' ler js- ile başlıyor ve CSS dosyalarında stilize edilmemiş.
<div id="js-slider" class="my-slider">
<!-- Veya -->
<div id="id-used-by-cms" class="js-slider my-slider">
  • Gömülmüş veya satır içi CSS: High CSS işlemlerinizi <style> etiketlerine gömmekten veya satır için CSS kullanmaktan mümkün mertebe kaçının: sadece geçerli sebebler için kullanın (slider için background-image, kritik CSS gibi).
  • Sağlayıcı önekleri: High Css sağlayıcı önekleri kullanıldı ve tarayıcınızın uyumluluk desteğine göre oluşturuldu.

Performance

  • Concatenation: High CSS files are concatenated in a single file. (Not for HTTP/2)
  • Minification: High All CSS files are minified.
  • Non-blocking: Medium CSS files need to be non-blocking to prevent the DOM from taking time to load.
  • Unused CSS: Low Remove unused CSS.

CSS testing

  • Stylelint: High All CSS or SCSS files are without any errors.
  • Responsive web design: High All pages were tested at the following breakpoints: 320px, 768px, 1024px (can be more / different according to your analytics).

  • CSS Validator: Medium The CSS was tested and pertinent errors were corrected.

  • Desktop Browsers: High All pages were tested on all current desktop browsers (Safari, Firefox, Chrome, Internet Explorer, EDGE...).
  • Mobile Browsers: High All pages were tested on all current mobile browsers (Native browser, Chrome, Safari...).
  • OS: High All pages were tested on all current OS (Windows, Android, iOS, Mac...).
  • Pixel perfect: High Pages are close to pixel perfect. Depending on the quality of the creatives, you may not be 100% accurate, but your page needs to be close to your template.

Pixel Perfect - Chrome Extension

  • Reading direction: High All pages need to be tested for LTR and RTL languages if they need to be supported.

⬆ back to top


Images

Notes: For a complete understanding of image optimization, check the free ebook Essential Image Optimization from Addy Osmani.

Best practices

  • Optimization: High All images are optimized to be rendered in the browser. WebP format could be used for critical pages (like Homepage).
  • Picture/Srcset: Medium You use picture/srcset to provide the most appropriate image for the current viewport of the user.
  • Retina: Low You provide layout images 2x or 3x, support retina display.
  • Sprite: Medium Small images are in a sprite file (in the case of icons, they can be in an SVG sprite image).
  • Width and Height: High Set width and height attributes on <img> if the final rendered image size is known (can be omitted for CSS sizing).
  • Alternative text: High All <img> have an alternative text which describe the image visually.
  • Lazy loading: Medium Images are lazyloaded (A noscript fallback is always provided).

⬆ back to top


JavaScript

Best practices

  • JavaScript Inline: High You don't have any JavaScript code inline (mixed with your HTML code).
  • Concatenation: High JavaScript files are concatenated.
  • Minification: High JavaScript files are minified (you can add the .min suffix).
  • JavaScript security:
  • Non-blocking: Medium JavaScript files are loaded asynchronously using async or deferred using defer attribute.
  • Modernizr: Low If you need to target some specific features you can use a custom Modernizr to add classes in your <html> tag.

JavaScript testing

  • ESLint: High No errors are flagged by ESLint (based on your configuration or standards rules).

⬆ back to top


Security

Scan and check your web site

Best practices

  • HTTPS: Medium HTTPS is used on every pages and for all external content (plugins, images...).
  • HTTP Strict Transport Security (HSTS): Medium The HTTP header is set to 'Strict-Transport-Security'.
  • Cross Site Request Forgery (CSRF): High You ensure that requests made to your server-side are legitimate and originate from your website / app to prevent CSRF attacks.
  • Cross Site Scripting (XSS): High Your page or website is free from XSS possible issues.
  • Content Type Options Medium Prevents Google Chrome and Internet Explorer from trying to mime-sniff the content-type of a response away from the one being declared by the server.
  • X-Frame-Options (XFO) Medium Protects your visitors against clickjacking attacks.

⬆ back to top


Performance

Best practices

  • Weight page: High The weight of each page is between 0 and 500 KB.
  • Minified: Medium Your HTML is minified.
  • Lazy loading: Medium Images, scripts and CSS need to be lazy loaded to improve the response time of the current page (See details in their respective sections).

  • Cookie size: If you are using cookies be sure each cookie doesn't exceed 4096 bytes and your domain name doesn't have more than 20 cookies.

  • Third party components: Medium Third party iframes or components relying on external JS (like sharing buttons) are replaced by static components when possible, thus limiting calls to external APIs and keeping your users activity private.

Preparing upcoming requests

  • DNS resolution: Low DNS of third-party services that may be needed are resolved in advance during idle time using dns-prefetch.
<link rel="dns-prefetch" href="https://example.com">
  • Preconnection: Low DNS lookup, TCP handshake and TLS negociation with services that will be needed soon is done in advance during idle time using preconnect.
<link rel="preconnect" href="https://example.com">
  • Prefetching: Low Resources that will be needed soon (e.g. lazy loaded images) are requested in advance during idle time using prefetch.
<link rel="prefetch" href="image.png">
  • Preloading: Low Resources needed in the current page (e.g. scripts placed at the end of <body>) in advance using preload.
<link rel="preload" href="app.js">

Performance testing

  • Google PageSpeed: High All your pages were tested (not only the homepage) and have a score of at least 90/100.

⬆ back to top


Accessibility

Notes: You can watch the playlist A11ycasts with Rob Dodson 📹

Best practices

  • Progressive enhancement: Medium Major functionality like main navigation and search should work without JavaScript enabled.
  • Color contrast: Medium Color contrast should at least pass WCAG AA (AAA for mobile).

Headings

  • H1: High All pages have an H1 which is not the title of the website.
  • Headings: High Headings should be used properly in the right order (H1 to H6).

Landmarks

  • Role banner: High <header> has role="banner".
  • Role navigation: High <nav> has role="navigation".
  • Role main: High <main> has role="main".

Semantics

  • Specific HTML5 input types are used: Medium This is especially important for mobile devices that show customized keypads and widgets for different types.

Form

  • Label: High A label is associated with each input form element. In case a label can't be displayed, use aria-label instead.

Accessibility testing

  • Accessibility standards testing: High Use the WAVE tool to test if your page respects the accessibility standards.
  • Keyboard navigation: High Test your website using only your keyboard in a previsible order. All interactive elements are reachable and usable.
  • Screen-reader: Medium All pages were tested in a screen-reader (VoiceOver, ChromeVox, NVDA or Lynx).
  • Focus style: High If the focus is disabled, it is replaced by visible state in CSS.

⬆ back to top


SEO

  • Google Analytics: High Google Analytics is installed and correctly configured.
  • Headings logic: Medium Heading text helps to understand the content in the current page.
  • sitemap.xml: High A sitemap.xml exists and was submitted to Google Search Console (previously Google Webmaster Tools).
  • robots.txt: High The robots.txt is not blocking webpages.
  • Structured Data: High Pages using structured data are tested and are without errors. Structured data helps crawlers understand the content in the current page.
  • Sitemap HTML: Medium An HTML sitemap is provided and is accessible via a link in the footer of your website.

⬆ back to top


Translation

The Front-End Checklist is also available in other languages. Thanks for all translators and their awesome work!


Front-End Checklist Badge

If you want to show you are following the rules of the Front-End Checklist, put this badge on your README file!

Front‑End_Checklist followed

[![Front‑End_Checklist followed](https://img.shields.io/badge/Front‑End_Checklist-followed-brightgreen.svg)](https://github.com/thedaviddias/Front-End-Checklist/)

⬆ back to top


Contributing

Open an issue or a pull request to suggest changes or additions.

Guide

The Front-End Checklist repository consists of two branches:

1. master

This branch consists of the README.md file that is automatically reflected on the Front-End Checklist website.

2. develop

This branch will be used to make some significant changes to the structure, content if needed. It is preferable to use the master branch to fix small errors or add a new item.

Contributors

Check out all the super awesome contributors.

Support

If you have any question or suggestion, don't hesitate to use Gitter or Twitter:

Authors

David Dias

License

CC0

⬆ back to top

About

🗂 Modern web siteleri ve özenli geliştiriciler için kusursuz Front-End Checklist

http://frontendchecklist.com

License:Creative Commons Zero v1.0 Universal