(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-57) was last changed on 28-Apr-2008 19:53 by Isonomia  

This page was created on 04-Sep-2006 14:21 by Chuck Smith

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 6 added one line
* [WikkaWiki|http://wikkawiki.org]: [specs|http://wiki.tormodh.net/SimpleTable] [examples|http://docs.wikkawiki.org/SandBox]
At line 162 added 55 lines
------
!! Wikka markup for accessible tables
As a developer of Wikka, I'd like to contribute my 2 cents to the present discussion. After a long debate and a review of existing table markups in many opensource wikis, we are about to implement an extensible table markup for Wikka to produce ''accessible data tables''. This means providing support for all the attributes that are required for accessibility in XHTML, like thead, tfoot, tbody, summary, caption, scope etc. Text formatting using wiki markup is available within the table.
Obviously, basic use of table markup doesn't need all these attributes but we think it's essential for a wiki to ''be able'' to produce accessible data tables ''if required''.
The criteria we kept in mind while implementing this markup were the following:
* use easily extensible tags (so, for instance, avoid giving whitespace a function that depends on the specific element in which it's used)
* use tags that do not conflict with either natural languages or other wiki markup (so as to allow all the richness of natural languages and wiki markup ''within'' the table)
* avoid tabs because they are unsupported in textareas on many browsers
* always close markup to avoid ambiguities for humans and for the parser
The simplest possible example of table markup for Wikka, producing a 1x1 table is
{{{
||hello||
}}}
Headers can be added as follows:
{{{
|=|Header|=|
||hello||
}}}
Complex, XHTML-valid and accessible tables can be created with element id's, row headers, column groups, row and column spans, captions, summaries etc.
{{{
|!|(u:The Summary;i:mytable)||
|?|The Caption||
|=|Name|=|Number|=|(x:2)Span||
||John Smith||1||This||That||
||Jane Doe||2||That||This||
}}}
Optional per-element CSS support is also available using braces immediately after the element delimiter:
{{{
|=|Header|=]
||{color:red}hello||
}}}
(we are planning to extend this brace-markup to add styling hooks for any other HTML element in the page)
This markup will be available as of the next stable release (1.1.7).
A short summary of the table markup specs is available here: http://wiki.tormodh.net/SimpleTable
Some real-world examples are available here: http://docs.wikkawiki.org/SandBox
Full documentation on this feature will be available on the documentation server as soon as the next release is out.
I'd personally advocate against using a specific syntax for border vs. borderless tables because this means mixing content and presentation (however practical this option may sound to the end user). Borders should be taken care of IMO by a dedicated kind of markup, dealing with styling and allowing the user to select different options available in the stylesheets. Also, shouldn't line breaks follow the same syntax for ordinary line breaks?
-- [DarioTaraborelli], 2006-11-14
Version Date Modified Size Author Changes ... Change note
57 28-Apr-2008 19:53 25.823 kB Isonomia to previous
56 28-Apr-2008 19:52 26.016 kB Isonomia to previous | to last
55 28-Apr-2008 19:05 25.605 kB Isonomia to previous | to last
54 28-Apr-2008 19:01 25.397 kB Isonomia to previous | to last
53 28-Apr-2008 18:46 25.169 kB Isonomia to previous | to last
52 28-Apr-2008 18:42 25.091 kB Isonomia to previous | to last
51 25-Apr-2008 17:13 22.032 kB Isonomia to previous | to last
50 26-Sep-2007 09:34 20.998 kB ChuckSmith to previous | to last restore
49 26-Sep-2007 01:15 21.01 kB 219.138.204.162 to previous | to last
48 01-Mar-2007 12:09 20.998 kB RadomirDopieralski to previous | to last use tests not imagination
47 01-Mar-2007 01:37 19.557 kB YvesPiguet to previous | to last
46 01-Mar-2007 00:51 18.691 kB 195.225.49.22 to previous | to last "second option" means monotonity
45 28-Feb-2007 18:47 18.265 kB YvesPiguet to previous | to last Reply
44 28-Feb-2007 17:52 18.018 kB RadomirDopieralski to previous | to last explaining why they are different from headings
43 28-Feb-2007 17:44 17.786 kB YvesPiguet to previous | to last Trailing eq
42 28-Feb-2007 17:34 17.556 kB RadomirDopieralski to previous | to last stripping the = from the end
41 28-Feb-2007 16:58 17.297 kB YvesPiguet to previous | to last cell headings
« This page (revision-57) was last changed on 28-Apr-2008 19:53 by Isonomia