| Product | Price | Stock |
| Laptop | $800 | 5 |
| Mouse | $25 | 50 |
Bug 67: Table — Missing Table Headers
WCAG 1.3.1 (Info & Relationships) | Table data cells not marked as headers or associated with header cells.
Bug: All Cells as <td> (No <th>)
Bug: Headers Without Scope Attribute
<!-- BUG: No scope attribute -->
<th>Month</th>
<th>Revenue</th>
<!-- FIXED: HAL adds scope -->
<th scope="col">Month</th>
<th scope="col">Revenue</th>
Bug: Multi-Level Headers Without Structure
Complex tables with multiple header rows or columns need id/headers attributes to map cells to their headers.
Bug: Implicit vs Explicit Headers
| Date | Morning Temp | Afternoon Temp |
|---|---|---|
| Monday | 45°F | 62°F |
Screen reader should announce each cell with its associated header(s).
How HAL Fixes This: HAL detects tables and converts appropriately formatted cells to <th> elements (first row, first column, or cells that look like headers). HAL adds scope="col" or scope="row" to all header cells. For complex tables, HAL uses id/headers attributes to establish explicit relationships between data cells and headers.