Wikipedia:Manual of Style/Accessibility/Data tables tutorial: Difference between revisions

Content deleted Content added
Dodoïste (talk | contribs)
Dodoïste (talk | contribs)
restructuring
Line 93:
In this example all column headers have an abbreviation except the column with the date of the last edit, which is short enough.
 
== ProvidingBonus a summaryguidelines ==
 
=== Avoiding more than two levels of headers ===
*Priority: high (A accessibility level)
*Difficulty: very hard (Same issue with alt texts for images containing a lot of information (charts, etc.): it takes a lot of time to write, and the user doesn't have the slightest idea what to write in it. They don't benefit from it, so it doesn't blend in with editorial practices at all. Table summaries should not be encouraged in Wikipedia because they will be misused.)
 
*Priority: unknown (recommended by [[WebAIM]] techniques)
Example of mistake (from [http://en.wikipedia.org/w/index.php?title=Tobin_Bell&oldid=382433698&diff=382587006 this diff])
*Difficulty: ... (not yet rated)
<pre>
{| class="wikitable sortable" summary="List of Television appearances and roles"
|+ Television
</pre>
 
Tables should not contain more than two levels of headers (which means 1) headers 2) sub-headers; but no 3) sub-sub headers)<ref>[http://webaim.org/techniques/tables/data#twolevels Avoid Tables with More than Two Levels of Row and/or Column Headers], Creating Accessible Tables, 2. Data Tables, WebAiM</ref>.
[http://www.w3.org/TR/2008/NOTE-WCAG20-TECHS-20081211/H73 H73: Using the summary attribute of the table element to give an overview of data tables]
 
== Converting timelines into data tables ==
 
Priority: high (A accessibility level, since <nowiki><timeline></nowiki> and images of timelines are hard to make accessible due to limitations in MediaWiki)
Difficulty: hard (Fairly good skills are needed to make a table out of complex timelines, and even more skill is needed to make it accessible. Although if you feel confident about it do not hesitate for a second: it will improve accessibility greatly.)
 
[[:File:RHCP Members by Year.png]] and [[Wikipedia_talk:Manual_of_Style_(accessibility)#Question regarding timeline]]
 
timelines visualizer (almaghi)
 
== Bonus guidelines ==
 
=== Provide meaningful and precise headers title ===
Line 128 ⟶ 113:
Row headers spanning several rows (without more precise sub row headers), [http://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Manual_of_Style_(accessibility)&oldid=379786633#How_to_make_accessible_tables example with an issue on the date], see http://webaim.org/techniques/tables/data#spanned
 
=== AvoidingConverting moretimelines thaninto twodata levels of headerstables ===
 
Priority: high (A accessibility level, since <nowiki><timeline></nowiki> and images of timelines are hard to make accessible due to limitations in MediaWiki)
*Priority: unknown (recommended by [[WebAIM]] techniques)
Difficulty: hard (Fairly good skills are needed to make a table out of complex timelines, and even more skill is needed to make it accessible. Although if you feel confident about it do not hesitate for a second: it will improve accessibility greatly.)
*Difficulty: ... (not yet rated)
 
[[:File:RHCP Members by Year.png]] and [[Wikipedia_talk:Manual_of_Style_(accessibility)#Question regarding timeline]]
Tables should not contain more than two levels of headers (which means 1) headers 2) sub-headers; but no 3) sub-sub headers)<ref>[http://webaim.org/techniques/tables/data#twolevels Avoid Tables with More than Two Levels of Row and/or Column Headers], Creating Accessible Tables, 2. Data Tables, WebAiM</ref>.
 
timelines visualizer (almaghi)
 
=== Providing a summary ===
 
*Priority: high (A accessibility level)
*Difficulty: very hard (Same issue with alt texts for images containing a lot of information (charts, etc.): it takes a lot of time to write, and the user doesn't have the slightest idea what to write in it. They don't benefit from it, so it doesn't blend in with editorial practices at all. Table summaries should not be encouraged in Wikipedia because they will be misused.)
 
Example of mistake (from [http://en.wikipedia.org/w/index.php?title=Tobin_Bell&oldid=382433698&diff=382587006 this diff])
<pre>
{| class="wikitable sortable" summary="List of Television appearances and roles"
|+ Television
</pre>
 
[http://www.w3.org/TR/2008/NOTE-WCAG20-TECHS-20081211/H73 H73: Using the summary attribute of the table element to give an overview of data tables]
 
=== Avoiding rowspan/colpan ===