Wikipedia:Don't use hiddenStructure: Difference between revisions

Content deleted Content added
No edit summary
m link WAI
Line 2:
Recently a [[cascading style sheets]] (CSS) "hack" known more generally as "[[Wikipedia:HiddenStructure|''hiddenStructure'']]" has seen widespread use on Wikipedia. This hack makes it possible to conditionally hide rows of data in tables dependent upon whether or not certain parameters are passed (or are/aren't empty/blank).
 
By using ''hiddenStructure'' in templates, editors are creating deficient templates that may output invalid or poor HTML. Further, CSS (normally a way of applying styles such as fonts, colors, and so forth) was never really intended to be used in this manner, and doing so violates at least one [[WAI]] accessibility guideline.
 
== Problems ==