Wikipedia talk:Manual of Style/Accessibility/Data tables tutorial: Difference between revisions
Content deleted Content added
Timeshifter (talk | contribs) |
Timeshifter (talk | contribs) |
||
Line 380:
:::"Note: For simple tables that have the headers in the first row or column then it is sufficient to simply use the TH elements without scope."
:::See: '''[https://www.w3.org/WAI/tutorials/tables Tables Concepts • Tables • WAI Web Accessibility Tutorials].''' It says:
:::"Tables with one header for rows or columns: For tables with content that is easy to distinguish, mark up header cells with <nowiki><th></nowiki> and data cells with <nowiki><td></nowiki> elements."
:::But when you go to the fine print it says "For tables with unclear header directions, define the direction of each header by setting the scope attribute to col or row."
:::I think most tables on Wikipedia do not have unclear header directions. The column headers are on the top. The row headers are on the left.
Line 387:
:::[[Wikipedia talk:Manual of Style/Accessibility/Data tables tutorial#Comparing tables with and without scope=col and scope=row]]. Please ignore the heated tone of some of the discussion. I apologize for my part in the heated tone.
:::Getting to your questions. I don't see the need for designating row headers in the 2 column table examples you gave. Screen readers will read the column header for each data cell. It will be obvious to the user what the relationship is between the the 2 cells in each row, even without row headers. And scopes are total overkill in that example.
:::--[[User:Timeshifter|'''Timeshifter''']] ([[User talk:Timeshifter|talk]])
|