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

Content deleted Content added
Line 81:
:::::I think a gray background with black text is not enough contrast. Especially when the gray is too dark as in Wikipedia tables. And I keep my monitor brightness turned down. As recommended by many eye doctors. That makes the contrast even less.
:::::It is annoying. So it would be nice to have truly plain row headers with a white background and a regular (non-bold) font. Then people would be more likely to add scopes for row headers. At least for more complex tables. Scopes are not needed on simple tables. --[[User:Timeshifter|'''Timeshifter''']] ([[User talk:Timeshifter|talk]]) 02:25, 11 December 2021 (UTC)
 
== Rowgroups and plainrowheaders ==
 
Hi, currently in the `Complex tables` section (but not in any section previous), it is recommended to use scope=rowgroup for row headers that are part of a rowspan. I was going to add this to my accessibility reviews at [[WP:FLC]], but quickly found out that the 'plainrowheaders' table class doesn't seem to affect scope=rowgroup cells, only scope=row. Is this a known issue? For example:
 
{| class="wikitable sortable plainrowheaders"
|+{{sronly|Awards and nominations received by Anne Hathaway}}
|-
! scope="col" | Organizations
! scope="col" | Year
! scope="col" | Recipient(s)
! scope="col" | Category
! scope="col" | Result
|-
!scope="rowgroup" rowspan="2"| [[Academy Awards]] {{anchor|A}}
| [[81st Academy Awards|2009]]
| ''[[Rachel Getting Married]]''
| [[Academy Award for Best Actress|Best Actress]]
| {{nom}}
|-
| [[85th Academy Awards|2013]]
| ''[[Les Misérables (2012 film)|Les Misérables]]''
| [[Academy Award for Best Supporting Actress|Best Supporting Actress]]
| {{won}}
|-
!scope="row"| [[Alliance of Women Film Journalists]]
| 2009
| ''[[Rachel Getting Married]]''
|Best Ensemble Cast
| {{won}}
|}
 
plainrowheaders is affecting the second non-spanned row but not the first, spanned row. --'''[[User:PresN|<span style="color:green">Pres</span>]][[User talk:PresN|<span style="color:blue">N</span>]]''' 15:10, 20 March 2022 (UTC)