Providing Sample Output

The Lab Rubric specifies that if sample output is provided, it is given in text format or as a screen capture with descriptive text that fully specifies the output requirements.

Here is a link to a Lab 1 assignment document in Microsoft Word format that is used in many of our CIS 122 course shells. This assignment document meets accessibility requirements by providing sample output in text format:

The application should output the following sentence to the user’s screen, with a blank line between each output:

The bed that was chosen will cost ______, including delivery fee and trade in credit for the old bed.

However, the assignment document also includes the following screen capture:

A screen capture of sample output with no alt text.

If we right click on this picture and select "Format Picture...", we can see that this image has no Alt Text:

The Picture Format contains no alt text.

Therefore, the text of the screen capture will be inaccessible to a blind student. We can easily improve this image by typing the text contents of this image into the alt text and saving:

Picture Format with alt text added.

This adds valuable information for a blind student, since the exact output in the screen capture matches the expected output from the Sample Input that is provided in the assignment document:

Sample input:

Original PriceDelivery FeeTrade In Amount
100.0020.005.00
89.9510.000.00
50.000.004.90

After adding the alt text, screen readers will be able to read this text in line, as part of the document. For example, here's an audio recording of the NVDA screen reader reading this Word document, starting from a few lines before the screen capture:

We also note that the accessibility of the table of sample input can be improved by adding header rows, which will make it more compatible with screen reading software. This issue has been addressed in the HTML table above.

Please see the section on Example Code for a closely related standard.

Accessibility Survival Guide for Instructors, © 2014 by their respective authors, Marc Goodman, Gayathri Iyer, Supada Amornchat, Karen Sorensen, and Susan Watson