Overview of the Container component
The Container is a non-visual layout element used to wrap content. It is tied to the system's breakpoints and manages the horizontal alignment and width of page content.
website·Indexed 6 days ago
https://build.washingtonpost.com/Documentation for the Washington Post Design System (WPDS), including guides for React, Stitches, and Tailwind integration. It provides resources on accessibility standards, component lifecycles, color tokens, and technical implementation guides for Figma and Zeplin.
Follow these two requirements for accessible tables:
<caption> tag: Provide an overview of the table. If the caption should not be visible to sighted users, apply the sr-only class.<th> tags in the <thead>: Column headers must use <th> instead of <td>. This ensures screen readers announce the header for every cell in that column, providing necessary context to the user.<table>
<caption class="sr-only">Total votes for Biden, Sanders and Warren in Super Tuesday states</caption>
<thead>
<tr>
<th>State</th>
<th>Votes for Biden</th>
<th>Votes for Sanders</th>
<th>Votes for Warren</th>
</tr>
</thead>
<tbody>
<tr>
<td>Alabama</td>
<td>15,000</td>
<td>7,000</td>
<td>2,000</td>
</tr>
</tbody>
</table>The Button component consists of three primary visual elements: an Icon, a Background Fill, and Text.
There are two main types of buttons:
InputTextarea component consists of the following structural elements: a Label, the Value (input area), a Border, and the Browser Default drag icon for resizing.In the WPDS framework, color themes and device color modes are distinct:
The Accordion component consists of the following structural elements: