Documentation
¶
Overview ¶
Command accessible renders a chart that can be read without being seen.
It writes three files that are one chart:
- accessible.svg — the picture, carrying an accessible name and a description a screen reader announces, and drawn with dashes and marker shapes so that colour is not the only thing telling the layers apart;
- accessible.html — a page holding the picture and the same data as a table, which is the fallback for a reader who cannot use the picture and the honest answer to what is in it;
- accessible.txt — the description on its own, for a caption or an alt attribute somewhere else.
The labels are set as notation: the y axis is a fraction with a radical in it, which is what a standard error actually looks like.
go run ./examples/accessible
Click to show internal directories.
Click to hide internal directories.