Help:Sortable tables: Difference between revisions

Content deleted Content added
Line 407:
|}
 
The first unsortable row can also be a hidden row, with each element marked with <code><nowiki><span &nbsp;style="display:none">...</span></nowiki></code>, to ensure that each column has the desired sort mode. However, this technique creates tables that have [[WP:ACCESSIBILITY|accessibility]] issues, as it causes problems with [[screen reader]]s and text browsers.
Alternatively, the entire row can be marked as hidden with <code>|-style="display:none"</code>, which is probably better.
 
=== Making a column unsortable ===