Template:Circa/doc/sortable: Difference between revisions
< Template:Circa | doc
Preciously repetitive and didactic - being vague then too detailed - style breaching WP:TL;DR fixed. |
imported>Timeshifter Clarify |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
If the parameter "<code>sortable=yes</code>" is specified, the template generates invisible text that will cause the | If the parameter "<code>sortable=yes</code>" is specified, the template generates invisible text that will cause the column to sort correctly in [[Help:Sorting|sortable]] [[Help:Tables|tables]], It is at the cost though of having that invisible text read out audibly by many screen readers. "Col 1" without the parameter does not sort correctly. "Col 2" with the sortable parameter sorts correctly. | ||
{| class="sortable wikitable" | {| class="sortable wikitable" |
Latest revision as of 07:35, 23 February 2023
If the parameter "sortable=yes
" is specified, the template generates invisible text that will cause the column to sort correctly in sortable tables, It is at the cost though of having that invisible text read out audibly by many screen readers. "Col 1" without the parameter does not sort correctly. "Col 2" with the sortable parameter sorts correctly.
Title | Col 1 | Col 2 |
---|---|---|
Foo | 1066 | 1066 |
Bar | c. 1510 | 1510 | c.
Baz | 1956 | 1956 |
Jaz | c. 410 | 410 | c.