anarres: (Default)
anarres ([personal profile] anarres) wrote in [site community profile] dw_accessibility2010-07-13 11:41 am
Entry tags:

New statistics graphs

Hi all, I'm one of the Google Summer of Code students, working on the statistics project. I've written a module that generates graph images, which will be shown on http://www.dreamwidth.org/stats/site. I wanted to get some feedback on the images from an accessibility point of view. I don't know much about accessibility, but I guess the main questions would be, are the colours on the pie chart different enough to be distinguished by people with partial colour-blindness, and is the text visible enough?

The graphs module is found in an uncommitted patch here: Bug 2699 - Create a graphical front-end for the statistics system.

I was also wondering about alt text. I started out with the idea that the alt text would just repeat all the numbers shown visually in the graph, but I'm not sure if this is helpful, or just annoying. I guess maybe giving numbers in alt text is more useful when there are only 4 or 5 numbers like in the pie chart, but less useful if there are lots of numbers, like in the line graph?

Here are some example graphs:

Pie chart: value 1: 1; value 2: 0.05; value 3: 0.07; value 4: 1.5; value 5: 0.12





Bar chart: value 1: 13.377; value 2: 15.9; value 3: 145.67788; value 4: 123.1111; value 5: 0.1; value 5: 0.1; value 6: 44.03455; value 7: 33.3; value 8: 43; value 9: 123





Bar chart with two datasets: bar 1 dataset 1: 7243; bar 1 dataset 2: 4243; bar 2 dataset 1: 15901; bar 2 dataset 2: 12901; bar 3 dataset 1: 26188; bar 3 dataset 2: 11188





Line graph showing 3 datasets: dataset 1: 1900, 2035, 2078, 2140, 2141, 2200, 2460, 2470, 2576; dataset 2: 871, 996, 990, 1058, 1102, 1162, 1105, 1150; dataset 3:  200, 360, 370, 471, 496, 690, 758, 802


Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org