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

From Level Access Web Labs
Jump to navigation Jump to search
 
(2 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"><span id="s1">Taxpayer</span></th>
+
<th tabindex="-1" id="tpayer"><span tabindex="-1" id="s1">Taxpayer</span></th>
<th tabindex="-1" id="sp"><span id="s2"> Spouse</span></th>
+
<th tabindex="-1" id="sp"><span tabindex="-1" id="s2"> Spouse</span></th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<th tabindex="-1" id="gross"><span id="s3">W2 Gross</span></th>
+
<th tabindex="-1" id="gross"><span tabindex="-1" id="s3">W2 Gross</span></th>
<td><input aria-labelledby="s1 s3" type="text" size="20"></td>
+
<td><input aria-labelledby="gross tpayer" type="text" size="20"></td>
<td><input aria-labelledby="s2 s3" type="text" size="20"></td>
+
<td><input aria-labelledby="gross sp" type="text" size="20"></td>
 
</tr>
 
</tr>
 
 
 
<tr>
 
<tr>
<th><span id="div1">Dividends</span></th>
+
<th id="div1" ><span id="div2">Dividends</span></th>
 
<td><input aria-labelledby="tpayer div1" type="text" size="20"></td>
 
<td><input aria-labelledby="tpayer div1" type="text" size="20"></td>
 
<td><input aria-labelledby="sp div1" type="text" size="20"></td>
 
<td><input aria-labelledby="sp div1" type="text" size="20"></td>

Latest revision as of 12:46, 8 September 2016

Taxpayer Spouse
W2 Gross
Dividends