Working with Tables

This page describes how to use tables in the Campus WCMS.

On this page:

Important Accessibility Notes:

Tables should not be used for design/layout purposes. This is because, without care and correct labeling, they are not accessible for people who use assistive technology such as screen readers. They also create other design problems. Our built-in styles make it difficult to use tables for design/layout purposes, so it will be frustrating for those who try to use them in this way.

Tables are more useful for tabular data (rows and columns of information), but even then, it is best to keep them simple. In some cases, the List Page is a more graceful way to organize data than a table.

Accessibility Check!

section 508 compliance iconFor any table inserted on your page, you must enter "alt text" for accessibility purposes. You should also set the Header Row Scope.

Inserting a Table

screenshot

1.) On the page where you want to insert a table, click "Edit" and put your cursor where you'd like your table to be.

2.) Click the "Table" tab

3.) Select the number of columns and rows.

(Don't worry, you can always add or remove rows and columns at any time) 

On the "Advanced" tab, enter a description of your table in the "Summary" field. This is important for accessibility purposes and is required by the system.

Cellpadding and Cellspacing are set by the style sheets so there is no need to enter anything in those fields.

In the WYSIWYG editor, fill in your table with data. Note that you can bold text using the standard WYSIWYG tools. You can also change the size of the table by clicking on it and dragging the sides.

Many functions can be accomplished easily by right-clicking (control-click on a Mac). 

screenshot

Click "Preview Draft" and then "Submit".

For accessibility reasons, tables should be captioned. To insert a caption, follow these steps:

  1. Click on the table and click the "table properties" icon:
    screenshot
  2. In the dialog box that appears, check the box for table captions and then click "Ok":
    screenshot
  3. A table row appears above the table. This is where you type your caption. The caption should describe what the table contains:
    screenshot
  4. This is how your caption displays on your page after you publish it:
    screenshot

Setting Header Row Scope:

section 508 compliance iconSetting the scope of your table columns is an important accessibility component. By setting the scope value in your table's header row, you inform screen reader software what that column is used for. This means that people using screen readers can use your table much more easily because they will now know what kind of data to expect in each column.

Instructions:Right click menu for table cell properties

  1. After inserting your table, highlight the cells in the top row

  2. Right click on the highlighted area (Command + click for Mac users)

  3. On the right-click menu, select "Cell" and then "Cell properties"

  4. Change the "Cell Type" setting from "None" to "Header cell"

  5. Set the "Scope" value to "Column Group" or "Row Group":

  • Use "Column" if the headers go across the top of your table, with the data going down in columns
  • Use "Row" if the headers go down the side of your table, with the data going across in rows
xx xx xx
xx xx xx

See Also