|
|
| Line 628: |
Line 628: |
|
| |
|
| === Scrolling lists and collapsible content === | | === Scrolling lists and collapsible content === |
| {{shortcut|MOS:SCROLL|MOS:COLLAPSE|MOS:DONTHIDE}}
| | {{see also|UniWiki:Manual of Style/Accessibility#Users with limited CSS or JavaScript support}} |
| {{see also|Wikipedia:Manual of Style/Accessibility#Users with limited CSS or JavaScript support}} | |
|
| |
|
| [[Help:Scrolling list|Scrolling lists]], and collapsible templates that toggle text display between ''hide'' and ''show'', can interfere with readers' ability to access our content. Such mechanisms are [[Wikipedia:Spoiler|not to be used to conceal "spoiler" information]]. Templates are [[Wikipedia:Template namespace#Guidelines|not normally used to store article text]] at all, as it interferes with editors' ability to find and edit it, and [[Wikipedia:Watchlist|watchlist]] for changes. | | [[Wikipedia:Help:Scrolling list|Scrolling lists]], and collapsible templates that toggle text display between ''hide'' and ''show'', can interfere with readers' ability to access the UniWiki's content. Such mechanisms are [[Wikipedia:Wikipedia:Spoiler|not to be used to conceal "spoiler" information]]. Templates are [[Wikipedia:Wikipedia:Template namespace#Guidelines|not normally used to store article text]] at all, as it interferes with editors' ability to find and edit it, and [[Wikipedia:Wikipedia:Watchlist|watchlist]] for changes. |
|
| |
|
| When such features are used, take care that the content will still be [[Wikipedia:Manual of Style/Accessibility#Users with limited CSS or JavaScript support|accessible on devices that do not support JavaScript or CSS]], and to the 45% (and climbing) of Wikipedia readers who use the [[Help:Mobile access|mobile version of the site]],{{efn|1=See the [http://reportcard.wmflabs.org "Wikimedia Report Card"], updated at the end of each month with total and mobile-only pageviews. This is just a "hit" counter; in reality, a majority of our readers access Wikipedia via mobile devices at least some of the time.}} which has a limited set of features. Mobile ability to access the content in question is easy to test with the "Mobile view" link at the bottom of each page.{{efn|The "Mobile view" feature shows the article as it presently exists. If considering a change that could have mobile accessibility implications, please save the change first in a [[Wikipedia:User pages#Subpages|user sandbox]] and test the mobile version of that. A page's mobile version can also be accessed by changing the <code>en.wikipedia.org</code> in the address bar to <code>en.m.wikipedia.org</code> and loading that version of the URL. Note also that viewing the normal "desktop" version of the website on a mobile device is not viewing the {{em|mobile version}} of the site, though (depending on mobile browser and what transcoding it is doing) this may be a worthwhile test for some broader accessibility matters, especially on tablets, which do not always use the mobile version of Wikipedia.}} | | When such features are used, take care that the content will still be [[UniWiki:Manual of Style/Accessibility#Users with limited CSS or JavaScript support|accessible on devices that do not support JavaScript or CSS]]. |
|
| |
|
| {{strong|Collapsible templates should not conceal article content by default upon page loading.}} This includes [[Wikipedia:Citing sources#Footnotes|reference lists]], [[Wikipedia:Manual of Style/Tables|tables]] and [[Wikipedia:Manual of Style/Embedded lists|lists]] of article content, [[Wikipedia:Image use policy#Image galleries|image galleries]], and [[Wikipedia:Manual of Style/Captions|image captions]]. In particular, note that while some templates support a <code>collapsible</code> parameter or manually-added CSS class, and this is permissible, the <code>collapsed</code>, <code>mw-collapsed</code>, and <code>autocollapse</code> states {{em|should not be used in articles}} to pre-emptively force the closure of these elements, except as noted below. Any information hidden in this way when the page loads will be irreversibly invisible to the aforementioned classes of users, as well as a growing number of low-bandwidth users in Asia who reach a Wikipedia article via Google.{{efn|1=As noted, CSS and JavaScript support are required to operate the show/hide toggle. Moreover, hidden content is not available in the mobile version of Wikipedia even on devices that have that support, because the mobile version's servers strip that content out before sending the page. Starting in 2016, Google has launched a Google User Content service that, like the earlier Google Lite and Google Web Transcoder, will strip hidden material from pages when they are accessed through Google searches, before content is delivered to users with slow connections. The service has already been deployed in India (where English is a major language) and Indonesia, with additional national markets planned for 2016 and forward. These services also completely strip out navboxes. [http://searchengineland.com/google-launches-streamlined-lite-version-of-mobile-search-interface-for-slower-connections-218269] [http://searchengineland.com/google-testing-faster-lightweight-mobile-search-optimizing-your-web-page-for-slow-connections-220031]}} Several other CSS classes, used manually or by templates, will render content inaccessible to mobile users.{{efn|1=Applying, or using a template that applies, any of the following CSS classes will cause the affected content to be inaccessible to mobile users, and this list may not be exhaustive: <code>ambox</code>, <code>navbox</code>, <code>vertical-navbox</code>, <code>topicon</code>, <code>metadata</code>, <code>nomobile</code>, <code>collapsed</code>, <code>mw-collapsed</code>, and (when triggered) <code>autocollapse</code>.}}
| | Collapsed or auto-collapsing ''cells'' or ''sections'' may be used with tables if it simply repeats information covered in the main text (or is purely supplementary, e.g. several past years of statistics in collapsed tables for comparison with a table of uncollapsed current stats). Auto-collapsing is often a feature of [[Wikipedia:Wikipedia:Categories, lists, and navigation templates#Navigation templates|navboxes]]. A few [[Wikipedia:Wikipedia:Infobox|infoboxes]] also use pre-collapsed sections for infrequently accessed (usually navigational) details. If information in a list, [[Wikipedia:Wikipedia:Infobox|infobox]], or other non-navigational content seems extraneous or trivial enough to inspire pre-collapsing it, consider raising a discussion on the article (or template) talk page about whether it should be included at all. If the information is important and the concern is article density or length, consider [[UniWiki:Manual of Style/Layout#Body sections|dividing the article into more sections]], integrating [[UniWiki:Manual of Style/Trivia sections|unnecessarily list-formatted information]] into the article prose, or [[Wikipedia:Wikipedia:Summary style|splitting the article]]. |
| | |
| Collapsed or auto-collapsing ''cells'' or ''sections'' may be used with tables if it simply repeats information covered in the main text (or is purely supplementary, e.g. several past years of statistics in collapsed tables for comparison with a table of uncollapsed current stats). Auto-collapsing is often a feature of [[Wikipedia:Categories, lists, and navigation templates#Navigation templates|navboxes]]. A few [[Wikipedia:Infobox|infoboxes]] also use pre-collapsed sections for infrequently accessed (usually navigational) details. If information in a list, [[Wikipedia:Infobox|infobox]], or other non-navigational content seems extraneous or trivial enough to inspire pre-collapsing it, consider raising a discussion on the article (or template) talk page about whether it should be [[Wikipedia:What Wikipedia is not#Wikipedia is not an indiscriminate collection of information|included at all]]. If the information is important and the concern is article density or length, consider [[Wikipedia:Manual of Style/Layout#Body sections|dividing the article into more sections]], integrating [[Wikipedia:Manual of Style/Trivia sections|unnecessarily list-formatted information]] into the article prose, or [[Wikipedia:Summary style|splitting the article]]. | |
|
| |
|
| === Invisible comments === | | === Invisible comments === |