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

Content deleted Content added
Line 12:
| minthreadsleft = 4
}}
 
== 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)
 
:{{re|PresN}} I created an issue for it here: [[MediaWiki talk:Common.css#Plainrowheaders row and rowgroup scopes]]. [[User:Jroberson108|Jroberson108]] ([[User talk:Jroberson108|talk]]) 21:25, 20 March 2022 (UTC)
::{{re|Jroberson108}} Thanks! --'''[[User:PresN|<span style="color:green">Pres</span>]][[User talk:PresN|<span style="color:blue">N</span>]]''' 22:24, 20 March 2022 (UTC)
:::This is now fixed. --'''[[User:PresN|<span style="color:green">Pres</span>]][[User talk:PresN|<span style="color:blue">N</span>]]''' 17:56, 22 March 2022 (UTC)
 
== Row with blank data ==