This exercise discusses the
scope attribute. What is the purpose of the scope attribute and are row and col the only values this attribute can have?
is used by screen readers to enhance accessibility for visually impaired users. In addition to the row and col values shown in this exercise, thescope` attribute can also have the following values:
- rowgroup: used for table headings that group multiple rows.
- colgroup:used for table headings that group multiple columns.
- auto: the default value
In lessons 8 and 9 you will learn how to create cells that span multiple rows or columns. For improved accessibility, we should use the appropriate rowgroup and colgroup values within these headings.