Issue Details (XML | Word | Printable)

Key: MDL-7870
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Yu Zhang
Reporter: Martin Dougiamas
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-7860

Table cell associations

Created: 11/Dec/06 03:13 PM   Updated: 15/Dec/06 08:52 AM
Return to search
Component/s: Accessibility
Affects Version/s: 1.7
Fix Version/s: 1.8

Participants: Martin Dougiamas and Yu Zhang
Security Level: None
Resolved date: 15/Dec/06
Affected Branches: MOODLE_17_STABLE
Fixed Branches: MOODLE_18_STABLE


 Description  « Hide
For data tables, use the elements (markers) and attributes provided by the DTD used to associate data cells and header cells which have two or more logical levels of row or column headers.

WCAG 1.0 References: 5.2
Sec. 508 References: 1194.22 (h)

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Yu Zhang made changes - 12/Dec/06 09:09 AM
Field Original Value New Value
Assignee Martin Dougiamas [ dougiamas ] Yu Zhang [ lazyfish ]
Yu Zhang added a comment - 12/Dec/06 01:39 PM
5.2 For data tables that have two or more logical levels of row or column headers, use markup to associate data cells and header cells. [Priority 1]

For example, in HTML, use THEAD, TFOOT, and TBODY to group rows, COL and COLGROUP to group columns, and the "axis", "scope", and "headers" attributes, to describe more complex relationships among data.


Yu Zhang added a comment - 12/Dec/06 02:42 PM
In gradebook, User names should be headers with scope = "row". Almost all moodle table has <th> tag. We may need to add the default scope to column in all tables.

Yu Zhang added a comment - 15/Dec/06 08:52 AM
Added table header scope to all <th>s in moodle. Added code to tablelib and weblib, so when creating new tables headers always come with default scope="col".

Yu Zhang made changes - 15/Dec/06 08:52 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]