I'm reading that the CSS "display: contents;" on TR and (implicit) TBODY elements wrecks accessibility of tables as tabular data, rendering their TH and TD cells as ordinary content with no tabular relationship instead, but since these are tables "misapplied" for layout only and never meant to be tabular data themselves (one of the only ways to control page layout in pre-CSS and CSS1 days), that seems like a perk in this specific case.
Mozilla Developer Network, "Realizing common layouts using grids": https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Grid_layout/Common_grid_layouts
Reading guides like that while lamenting the shortcomings of vintage Web browsing, even via RetroZilla in a Windows 98SE VM, does strange things to a girl, y'know?
Related: CSS grids are 3 years older than Chromium-based Microsoft Edge and only 2 years younger than EdgeHTML (Trident)-based Microsoft Edge Legacy.