Steps to replicate the issue (include links if applicable):
What happens?:
Results are rendered with a DOM kind of like this:
<ul class="mw-search-results"> <li class="mw-search-result mw-search-result-ns-0"> <table class="searchResultImage"> <tbody> <tr> <td class="searchResultImage-thumbnail"> <a href="..." class="image"> <img alt="" src="..." decoding="async" data-file-width="1920" data-file-height="2400" width="96" height="120"> </a> </td> <td class="searchResultImage-text"> <div class="mw-search-result-heading"> <a href="/wiki/Mecca" title="Mecca" data-serp-pos="0">Mecca</a> </div> <div class="searchresult"> many tunnels.<span class="searchmatch"><ref>https://www.constructionweekonline.com/projects-tenders/article-22689-makkah-building-eight-tunnels-to-ease-congestion</ref</span>> ===Rapid... </div> <div class="mw-search-result-data">97 KB (10,753 words) - 09:06, 7 October 2022</div> </td> </tr> </tbody> </table> </li> ... </ul>
What should have happened instead?: CSS flex should be used. These are not HTML data tables; the tables are being used strictly for presentation. The DOM should look something like this:
<ul class="mw-search-results"> <li class="mw-search-result mw-search-result-ns-0 searchResultImage"> <div class="searchResultImage-thumbnail"> <a href="..." class="image"> <img alt="" src="..." decoding="async" data-file-width="1920" data-file-height="2400" width="96" height="120"> </a> </div> <div class="searchResultImage-text"> <div class="mw-search-result-heading"> <a href="/wiki/Mecca" title="Mecca" data-serp-pos="0">Mecca</a> </div> <div class="searchresult"> many tunnels.<span class="searchmatch"><ref>https://www.constructionweekonline.com/projects-tenders/article-22689-makkah-building-eight-tunnels-to-ease-congestion</ref</span>> ===Rapid... </div> <div class="mw-search-result-data">97 KB (10,753 words) - 09:06, 7 October 2022</div> </div> </li> ... </ul>
with appropriate CSS flex styling.