GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing bbc.github.io — GEL Technical Guide: Infographics InfographicsInfographics should be informative, engaging, and accessible
IntroductionVisual and figurative representations of information can help readers to quickly grasp the salient points. However, without careful and deliberate design they can be confusing, or even misleading. The visual design and labeling of infographics (or 'visualisations') is covered comprehensively in GEL. As a complement to the GEL documentation, here we shall explore two topics:
Recommended markupHow you encode infographics, and what kind of textual alternatives you provide for them, depends heavily on the nature of the infographic in question. However, it is highly recommended the SVG image format encodes the graphic itself. SVG:
Inline SVG (SVG embedded directly into the HTML) is the most malleable, since you can target individual SVG elements/artefacts with CSS and JavaScript. Embedding SVG also reduces http requests and, most importantly, content reflows[2], by loading and rendering along with the surrounding content. Labels and descriptionsEvery infographic should be provided with alternative text[3] to describe it to the visually impaired. In addition, some infographics should be accompanied by a caption. The role of the alternative text and the role of the caption are distinct. The alternative text describes, and the caption explains:
While the alternative text, describing the image non-visually, should be invisible, the caption should be visible and available to all consumers of the information. Contrary to some misconceptions, a caption (provided as a Consider the following, very simple visualisation. Here is how one would mark it up, and might provide alternative text and a caption (with notes to follow):
Charts, graphs, and tabular dataMulti-dimensional data that can be represented as a chart or graph should also be provided as a data table. By offering different means to consume the information, you meet different needs and cater for different abilities. Not only will different people have format and presentation preferences, but any one person may simultaneously find interest in the graphical presentation and utility in the raw data. Consider the following infographic, which charts cellular growth, but categorized by the morphology of the individual cultures. The source data can be presented in tabular form, using a table component:
With a data table providing an interface for the granular inspection of the data, it's no longer necessary to clumsily cram all those numbers into the alternative text of the infographic. Instead, we can just describe how the data is presented:
However, a caption should be provided to editorialize the data, and identify any key trends. Recommended layoutWhat remains is to piece all of these pieces together, and provide an interface for switching between the infographic and table views. A tab interface is well suited for this. Colour concernsIt's recommended that colour is only added to your infographics as a progressive enhancement. Design it monochrome to begin with, and only add colour where desirable. This way, you'll end up with a chart that is decipherable even on non-colour displays and among people with colour perception impairments. The previous example is not dependent on colour since each cell culture morphology can be identified with a distinct shape. Where illustrative symbols are not appropriate, or there is no room to display them at a reasonable size, it is recommended colour differentiation is supplemented by pattern differentiation. Using CSS
|
| Weeks | Circular | Irregular | Rhizoid | Total |
|---|---|---|---|---|
| Week 1 | 7 | 5 | 0 | 12 |
| Week 2 | 10 | 10 | 0 | 20 |
| Week 3 | 14 | 14 | 0 | 28 |
| Week 4 | 14 | 16 | 12 | 42 |
| Week 5 | 14 | 18 | 16 | 48 |
| Week 6 | 14 | 22 | 17 | 53 |
This topic does not yet have any related research available.
Offer choice — Inclusive Design Principles, https://inclusivedesignprinciples.org/#offer-choice ↩︎
Preventing Content Rflows from Lazy-Loaded Images — CSS-Tricks, https://css-tricks.com/preventing-content-reflow-from-lazy-loaded-images/ ↩︎
HTML5: Techniques for providing useful text alternatives — W3C, https://w3c.github.io/alt-techniques/with-pictures.html ↩︎
How do you figure? — Scott O'Hara, https://www.scottohara.me/blog/2019/01/21/how-do-you-figure.html ↩︎
WCAG2.1 1.4.1: Use Of Color, https://www.w3.org/TR/WCAG21/#x1-4-1-use-of-color ↩︎
Accessible SVG Line Graphs, https://tink.uk/accessible-svg-line-graphs/ ↩︎