Template:Circa/doc/sortable

If the parameter "sortable=yes" is specified, the template generates invisible text that will cause the column to sort correctly in sortable tables. However, it is at the cost of having that invisible text read out audibly by many screen readers. "Col 1" without the template does not sort correctly. "Col 2" with the template and sortable=yes sorts correctly.

class="sortable wikitable" style=text-align:right;
TitleCol 1Col 2
style=text-align:left; | Foo10661066
style=text-align:left; | Barc. 1510{{circa|1510|sortable=yes}}
style=text-align:left; | Baz19561956
style=text-align:left; | Jazc. 410{{circa|410|sortable=yes}}

class="sortable wikitable" style=text-align:right;
TitleCol 1Col 2
style=text-align:left; | Foo10661066
style=text-align:left; | Barc. 1510{{circa|1510|sortable=yes}}
style=text-align:left; | Baz19561956
style=text-align:left; | Jazc. 410{{circa|410|sortable=yes}}