murattunalı.
Reading

R

Redirect chain A redirect chain is when an address reaches its final address not in a single hop but by passing through more than one redirect; for example, if an old address is redirected first to an intermediate address and from there to the final address, there is a two-hop chain. Site migration

Reflow A reflow is the browser recomputing the positions and sizes of elements on a page after a change. Performance

What is relative luminance?

Relative luminance is the value expressing a colour’s perceived lightness between 0 and 1, and it is the basis of the contrast ratio calculation.

The contrast ratio is not computed directly from colour values; the relative luminance of each colour is found first, then the ratio of the two is taken. That intermediate step also explains why the calculation can produce results that run against intuition.

The calculation has two stages. First each colour channel is reduced to the 0–1 range and gamma correction is undone — a necessary step, because displays produce colours along a non-linear curve. Then the three channels are summed with weights.

The weights are not equal, and the difference is large: green 0.7152, red 0.2126, blue 0.0722. In other words the green channel determines roughly three quarters of a colour’s perceived lightness. That reflects the dominance of the eye’s green-sensitive cone cells.

  • Practical consequence one: if two colours have close green values, the contrast between them stays low — however different their red and blue may be.
  • Practical consequence two: for a designer wanting to darken or lighten a palette, the most effective channel is green.
  • Practical consequence three: pure blue text on a white background gives higher contrast than expected; pure yellow gives much lower.

The ratio formula also carries a constant: 0.05 is added to both luminance values. That constant represents the assumption that displays never produce absolute black and that there is always some ambient reflection. As a result the ratio is never infinite; the ceiling is 21:1 — the value between pure black and pure white.

This calculation need not be done by hand, but knowing how it works teaches one thing: the eye deceives. White text on bright yellow looks vivid and measures 1.1:1. That is why contrast is computed.

Another practical consequence of the formula appears in dark theme design. A dark blue that measures 10:1 on a light background falls to 1.5:1 on a dark one and becomes unreadable, because its luminance has moved close to the background’s. That is why serious palette systems define a separate accent tone for dark backgrounds and measure the two themes separately.

Automating the calculation is easy too: a function of a few lines can scan every colour pair in a palette file and report those falling below the threshold. That turns contrast decisions from a one-off measurement into a standing guard — and stops them going stale when the palette is edited.

If you want to know whether your site meets these criteria, the web accessibility audit measures every template against WCAG 2.2 point by point, fixes problems at the source and documents the result.

Accessibility

S

Screen reader A screen reader is assistive technology that turns on-screen content into speech or braille output and lets the user navigate by keyboard. Accessibility

Search Console is a free service from Google for monitoring a site’s status in Google Search and for seeing and fixing its problems. Being found on Google

Semantic HTML means choosing each element for its meaning rather than its appearance — a heading element for a heading, a button element for a button, a list element for a list. Accessibility

Sitemap A sitemap is a file, usually written in XML, that lists the addresses of a site’s pages and, optionally, their last modification dates for search engines in a single file. Being found on Google

Social compliance audit A social compliance audit is the examination by an independent auditor of working conditions, occupational health and safety and business ethics at a production site against a code of conduct. Certified manufacturing

Soft 404 A soft 404 is a page that shows visitors “page not found” or empty content but returns a 200 (success) code from the server instead of an error code; Google treats these pages as error pages and does not index them. Site migration

Structured data is an additional layer that labels a page’s content with a standard vocabulary machines can understand. Answer engines

T

Text expansion is the same content being of different lengths in different languages, and the layout having to flex accordingly. Multilingual

TLS certificate lifetime is the period from the day the certificate that provides a site’s HTTPS connection is issued to the day its validity ends. Certified manufacturing

Total cost of ownership is the sum of all the costs of buying an asset or service and using it over its service life. Certified manufacturing

Transaction certificate A transaction certificate is the document, issued by a certification body under Textile Exchange standards, that shows a specific delivered consignment of goods is certified. Certified manufacturing

Translation memory A translation memory is a database that stores previously translated sentences and suggests them when the same or a similar sentence comes up again. Multilingual

TTFB (Time to First Byte) is the time between the browser sending a request and receiving the first byte from the server. Performance

U

URL inventory A URL inventory is a single list that gathers every address of a site that search engines know — current pages, address variants and old addresses; in a site redesign or migration, the redirect map is derived from this list. Site migration

W

WCAG (Web Content Accessibility Guidelines) is the international standard published by the W3C that defines the accessibility of web content through testable success criteria. Accessibility

X

x-default is a special hreflang value declaring the default page to show when no language version matches the user’s language. Multilingual

SOURCES