Difference between revisions of "Table cells with aria-labelledby"

From Level Access Web Labs
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<tbody><tr>
 
<tbody><tr>
 
<td></td>
 
<td></td>
<th tabindex="-1" id="tpayer">Taxpayer</th>
+
<th tabindex="-1" id="tpayer"><span tabindex="-1" id="s1">Taxpayer</span></th>
<th tabindex="-1" id="sp">Spouse</th>
+
<th tabindex="-1" id="sp"><span tabindex="-1" id="s2"> Spouse</span></th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<th id="gross">W2 Gross</th>
+
<th tabindex="-1" id="gross"><span tabindex="-1" id="s3">W2 Gross</span></th>
<td><input aria-labelledby="tpayer gross" type="text" size="20"></td>
+
<td><input aria-labelledby="gross tpayer" type="text" size="20"></td>
<td><input aria-labelledby="sp gross" type="text" size="20"></td>
+
<td><input aria-labelledby="gross sp" type="text" size="20"></td>
 
</tr>
 
</tr>
 
 
 
<tr>
 
<tr>
<th id="div">Dividends</th>
+
<th id="div1" ><span id="div2">Dividends</span></th>
<td><input aria-labelledby="tpayer div" type="text" size="20"></td>
+
<td><input aria-labelledby="tpayer div1" type="text" size="20"></td>
<td><input aria-labelledby="sp div" type="text" size="20"></td>
+
<td><input aria-labelledby="sp div1" type="text" size="20"></td>
 
</tr>
 
</tr>
 
</tbody></table>
 
</tbody></table>
 
</html>
 
</html>

Latest revision as of 12:46, 8 September 2016

Taxpayer Spouse
W2 Gross
Dividends