Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0, 2.0.0-EE-Beta1, 2.0.1
-
Fix Version/s: 2.1-Beta, 3.0, EE-2.0.0.GA_P01
-
Component/s: ICE-Components
-
Labels:None
-
Environment:-
-
Assignee Priority:P2
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
In order to achieve 508 compliance, the ice:dataTable must associate data cells with column/row headers through the use of ´scope´ attribute. The 'scope' attribute needs to placed within the <th> tags and within the first <td> element of each row. For example:
<table>
<tr>
<th> </th>
<th scope="col" >Header1</th> <th scope="col" >Header2</th> <th scope="col" >Header3</th> <th scope="col" >Header4</th> </tr>
<tr> <td scope="row" >Row1-Data1</td> <td>Row1-Data2</td>
</tr>
<tr> <td scope="row" >Row2-Data1</td> <td>Row2-Data2</td>
</tr>
</table>
<table>
<tr>
<th> </th>
<th scope="col" >Header1</th> <th scope="col" >Header2</th> <th scope="col" >Header3</th> <th scope="col" >Header4</th> </tr>
<tr> <td scope="row" >Row1-Data1</td> <td>Row1-Data2</td>
</tr>
<tr> <td scope="row" >Row2-Data1</td> <td>Row2-Data2</td>
</tr>
</table>
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Fix committed to icefaces2\trunk\icefaces\compat
Command: Commit
Modified: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\compat\components\src\main\java\com\icesoft\faces\component\ext\renderkit\TableRenderer.java
Sending content: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\compat\components\src\main\java\com\icesoft\faces\component\ext\renderkit\TableRenderer.java
Completed: At revision: 25133
Fix committed to icefaces2\branches\icefaces-2.0.x-maintenance\icefaces\compat\
Command: Commit
Modified: D:\work\development\head\svn\ossrepo\icefaces2\branches\icefaces-2.0.x-maintenance\icefaces\compat\components\src\main\java\com\icesoft\faces\component\ext\renderkit\TableRenderer.java
Sending content: D:\work\development\head\svn\ossrepo\icefaces2\branches\icefaces-2.0.x-maintenance\icefaces\compat\components\src\main\java\com\icesoft\faces\component\ext\renderkit\TableRenderer.java
Completed: At revision: 25134