Upgrade to Pro — share decks privately, control downloads, hide ads and more …

This One Simple 600-Year-Old Trick Makes Your Website More Accessible!

Nick Piesco
September 13, 2018

This One Simple 600-Year-Old Trick Makes Your Website More Accessible!

‘Accessibility and the Web’ sounds like a thoroughly modern set of challenges, but it includes problems that people have been trying to solve for hundreds of years. In mediaeval times, a knight being able to recognise a friend or foe at a distance was a matter of life and death. Rules evolved around the coats of arms that they bore to make identifying each other easier, giving birth to the science of heraldry. Those rules can still be useful to us today – including the most important one of those rules, the one around colour contrast.

First, we’ll talk about why colour contrast is so important to accessibility and what exactly we mean when we say ‘colour contrast’. (Hint: it doesn’t really have a lot to do with actual colour.) Then I’ll take us on a whirlwind tour through the history of heraldry, from Ancient Greece through the Age of Chivalry, all the way to last October.

You’ll get a quick primer on blazon, the language of heraldry, the HTML and CSS of arms. Then we’ll put it all together, showing how rules that originated on the mediaeval tournament ground inform our best practices here in the 21st century.

This talk is from CSS Meetup Wellington on 13 September 2018.

Nick Piesco

September 13, 2018
Tweet

More Decks by Nick Piesco

Other Decks in Programming

Transcript

  1. https://www.smashingmagazine.com/2014/10/color-contrast-tips-and-tools-for-accessibility/ • ~4% of the world’s population has low vision;

    ~0.6% are blind • Colour-vision deficiency: 7–12% of men; < 1% of women • ~50% of people over 50 have some degree of low-vision condition
  2. It’s easier to see the difference between light and dark

    than it is to see the difference between colours
  3. Rods (extremely sensitive, used in low light) ~120 million Cones

    (responsible for colour vision; used in high light) ~6 million
  4. ‘Armory is that science of which the rules and the

    laws govern the use, display, meaning, and knowledge of the pictured signs and emblems appertaining to shield, helmet, or banner.’ — A.C. Fox-Davies
  5. ‘[C]orrect, cumptrolle and refourme all mann’ of armes, crests, cognizances

    and devices unlawfull or unlawfully usurped, borne or taken by any p’son or p’sons within the p’vince contary to the due order of the laws of armes, and the same to rev’se, put downe or otherwise deface at his discrecon as well in coote armors, helmes, standerd, pennons and hatchmets of tents and pavilions, as also in plate jewells, pap’, parchement, windowes, gravestones and monuments, or elsewhere wheresoev’ they be sett or placed, whether they be in shelde, schoocheon, lozenge, square, rundell or otherwise howsoev’ contarie to the autentiq’ and auncient lawes, customes, rules, privilege and orders of armes.’
  6. Wikimandia, Caranorn/Wikimedia Commons CC-BY-SA 4.0; Balmung0731, Yves LG, Louis Brun,

    Jimmy44/Wikimedia Commons CC-BY-SA 3.0 Tinctures Colours Azure Gules Purpure Sable Vert Argent Or Ermine Vair Metals Furs
  7. A1 Aardvark/Wikimedia Commons CC-BY-SA 3.0 Azure within two chevronels Or

    five bezants in chief three mullets chevronwise and one in the base Argent
  8. Sodacan/Wikimedia Commons CC-BY-SA 3.0 Quarterly 1st and 4th Sable a

    lion rampant on a canton Argent a cross Gules 2nd and 3rd quarterly Argent and Gules in the 2nd and 3rd quarters a fret Or overall on a bend Sable three escallops of the first and as an augmentation in chief an inescutcheon Argent a cross Gules and thereon an inescutcheon Azure three fleurs-de-lis Or
  9. ‘Metal should not be put on metal, nor colour on

    colour.’ — Humphrey Llwyd, 1568
  10. Wikimandia, Caranorn/Wikimedia Commons CC-BY-SA 4.0; Balmung0731, Yves LG, Louis Brun,

    Jimmy44/Wikimedia Commons CC-BY-SA 3.0 Tinctures Colours Azure Gules Purpure Sable Vert Argent Or Ermine Vair Metals Furs
  11. England takes the rule more seriously than the continent, but

    still only less than 2% of arms violate it