User:Timeshifter/Sandbox115

Expanding class=wikitable to make tables accessible to blind, and to align cell text.

Expanding what  does could instantly solve a lot of problems the blind and visually impaired have with hundreds of thousands of tables on Wikipedia. And it would align row header cell text to the left. For more info see: User:Timeshifter/Sandbox114 and 115. See related discussion.

Standard  table below. It includes  overall, and   on first-column cells.

The blind need scopes on all header cells. Added row headers, scope=row, scope=rowgroup, scope=col, scope=colgroup, :

Same as above. Added  and   - I made one cell light yellow to show a couple shades of yellow.

  - It could be expanded to add scopes to all header cells, including those spanning columns and rows (colspan and rowspan). And it could align row header text to the left as does  . The scopes would allow users of screen readers (the blind) to understand nearly all tables on Wikipedia, since nearly all use class=wikitable.

  could also add a yellow or light yellow background to headers. That would solve 's problem with dark grey as a header background due to his visual impairment. It would help all readers. Highlighter felt-tip markers usually come in some shade of yellow. That is because this background color behind black text is one of the most legible color combinations.

  does not use bolded text in row headers. Many people do not like default bolded row headers. Especially in wide country lists, and other tables, where the width matters due to long country names, etc.. Also, people sometimes prefer to bold selected words or phrases in row headers.

Wikitext below is for the above yellow table if   did scopes, color, and plain row headers. It's much simpler to edit by the average editor. Compressed horizontal format is more intuitive without all the inline CSS, etc..

Wikitext below is the actual wikitext for the above yellow table, and includes all the inline CSS, etc.: