Web Design

(Nancy Kaufman) #1

245


CHAPTER

Making Sites Accessible 10


TIPS


Why can I not see my table’s summary?
The summary is one of the very few things you add
to your code for accessibility that exists purely for
disabled users, specifically the visually impaired.
Users with a screen reader hear the summary, but it
does not appear anywhere on the page.

Can I change the appearance of the caption?
Yes, with CSS. It is important to make sure that your
page without CSS makes logical sense. Once
it does, you are free to style it to appear however
you want.

● When viewed in a Web
browser, the table’s headers
appear, along with the
caption. The summary does
not appear.

3 Within the opening


tag, type
summary=”?”, replacing?
with a summary of the table’s
structure and contents.

3