Issue/Question
When I run a Page Check I get the following Moderate or Critical Problem:
scope attribute should be used correctly
Environment
Cause
Final Checks evaluate all code on a page and detect accessibility issues not meeting WCAG 2.0 (Level AA) standards.
It detected the page contains a table containing a cell with an incorrect scope property set.
Scope makes table navigation much easier for screen reader users provided it is used correctly. Incorrectly used, scope can make table navigation much harder and less efficient.
A screen reader operates under the assumption a table has a header and that this header specifies a scope. Because of how screen readers function, having an accurate header makes viewing a table far more accessible and more efficient for people who use the device.
If a table with header cells exists, ensure that they reference elements with text available to screen readers using scope correctly. Remove scope from any table data cells that are not a header.
- Click Yellow Light Bulb to check out page.
- Click Edit tab.
- Click Edit button on content area where table is located.
- Right click in header cell.
Note: See Add WKU Styling to Your Table to learn how to create table headers and style them WKU red.
- Hover over Cell in pop-up menu.
- Select Cell Properties.
- Change Scope dropdown to either Row or Column, depending for which the header is used.
- Click Save in pop-up menu.
- Repeat for all table header cells.
- Select all table data cells (non-headers) by highlighting them.
- Right click and hover over Cell in pop-up menu.
- Select Cell Properties.
- Change Scope to None.
- Click Save in pop-up menu.
- Save page.
- Click Publish button to run accessibility final check again. When the issue is resolved it will no longer display in the accessibility check.