Difference between revisions of "User:Soli/user-guide"
(Created page with "Test") |
|||
Line 1: | Line 1: | ||
− | + | ||
+ | = GCwiki User Guide = | ||
+ | How to use this wiki framework. | ||
+ | |||
+ | == Structure == | ||
+ | # This wiki has been modularized, meaning we are using '''''transclusions'''''<nowiki> (notation as follows: {{:</nowiki>''AnyValidPageTitle''<nowiki>}}</nowiki> | ||
+ | # The structure looks like this: | ||
+ | |||
+ | # '''Home''' (a single page view of all levels 1.x) | ||
+ | |||
+ | ## '''Header''' | ||
+ | ## '''Spotlight''' (a single section view of all levels 1.2.x) | ||
+ | ### '''Spotlight-1-a''' | ||
+ | ### '''Spotlight-2-b''' | ||
+ | ## '''Main''' (a single section view of all levels 1.3.x) | ||
+ | ### '''Main-1''' (page summary) | ||
+ | #### '''Page or article 1''' (full article) | ||
+ | ##### '''Header-small''' | ||
+ | ##### '''Page content''' | ||
+ | ##### '''Footer''' (same as Section 1.4) | ||
+ | ### '''Main-2''' (page summary) | ||
+ | #### '''Page or article 2''' (full article, same as 1.3.1.1) | ||
+ | ### '''Main-3''' (page summary) | ||
+ | #### '''Page or article 3''' (full article, same as 1.3.1.1) | ||
+ | ### '''Main-4''' (page summary) | ||
+ | #### '''Page or article 4''' (full article, same as 1.3.1.1) | ||
+ | ### '''Main-5''' (page summary) | ||
+ | #### '''Page or article 5''' (full article, same as 1.3.1.1) | ||
+ | ### '''Main-6''' (page summary) | ||
+ | #### '''Page or article 6''' (full article, same as 1.3.1.1) | ||
+ | ### '''Main-7''' (page summary) | ||
+ | #### '''Page or article 7''' (full article, same as 1.3.1.1) | ||
+ | ### '''Main-8''' (page summary) | ||
+ | #### '''Page or article 8''' (full article, same as 1.3.1.1) | ||
+ | ### '''Main-9''' (page summary) | ||
+ | #### '''Page or article 9''' (full article, same as 1.3.1.1) | ||
+ | ## '''Footer''' | ||
+ | |||
+ | # TBA | ||
+ | |||
+ | == Home, Header (call-to-action), and Footer == | ||
+ | # '''''Home''''' is also known as Section 1 or [[User:Soli]] | ||
+ | # The '''''Home''''' page simply contains '''''transclusions''''' which “paste” page content into other pages, like so: | ||
+ | {| class="wikitable" | ||
+ | |<!-- -- -- OPTIONAL TOC --> | ||
+ | |||
+ | <nowiki>__NOTOC__</nowiki> | ||
+ | |||
+ | <nowiki>{{:User:Soli/header}}</nowiki> | ||
+ | |||
+ | <nowiki>{{:User:Soli/spotlight}}</nowiki> | ||
+ | |||
+ | <nowiki>{{:User:Soli/main}}</nowiki> | ||
+ | |||
+ | <nowiki>{{:User:Soli/footer}}</nowiki> | ||
+ | |} | ||
+ | These '''''transclusions'''''<nowiki> are used throughout the structure of this wiki framework. By using {{:</nowiki>''FullPageTitle''<nowiki>}}, GCwiki allows a user to include or transclude existing content.</nowiki> | ||
+ | # '''''Header''''' is also known as Section 1.1 or [[User:Soli/header]] | ||
+ | # The '''''Header''''' page contains the following 3 parts. These parts are unlikely to change often: | ||
+ | ## A transparent header image | ||
+ | ## An H2 header | ||
+ | ## A subtitle or caption | ||
+ | # If ever a change is required, edit [[User:Soli/header]] and look for the following comments: | ||
+ | {| class="wikitable" | ||
+ | |<!-- | ||
+ | |||
+ | Change HEADER IMAGE HERE! | ||
+ | |||
+ | --> | ||
+ | |} | ||
+ | {| class="wikitable" | ||
+ | |<!-- | ||
+ | |||
+ | EDIT H2 HEADER here! | ||
+ | |||
+ | --> | ||
+ | |} | ||
+ | {| class="wikitable" | ||
+ | |<!-- | ||
+ | |||
+ | EDIT HEADER CAPTION here! | ||
+ | |||
+ | --> | ||
+ | |} | ||
+ | # This page is bilingual. Change to French content is made on the same page (at the bottom, just following the @fr| tag), like so: | ||
+ | {| class="wikitable" | ||
+ | |<!-- | ||
+ | |||
+ | FRENCH content starts here! | ||
+ | |||
+ | --> | ||
+ | |||
+ | @fr| | ||
+ | |} | ||
+ | |||
+ | == Spotlight == | ||
+ | # '''''Spotlight''''' is also known as Section 1.2 or [[User:Soli/spotlight]] | ||
+ | # The '''''Spotlight''''' page does not require much change. It does contain 2 parts and/or '''''transclusions''''' that may require partially regular updates: | ||
+ | ## Spotlight 1 (Section 1.2.1), also known as [[User:Soli/spotlight-1]] (“Lend a hand!”) | ||
+ | ## Spotlight 2 (Section 1.2.2), also known as [[User:Soli/spotlight-2]] (“Access. statement”) | ||
+ | # If ever a change is required, edit either [[User:Soli/spotlight-1]] or [[User:Soli/spotlight-2]] and look for the following comments: | ||
+ | {| class="wikitable" | ||
+ | |<!-- | ||
+ | |||
+ | EDIT CONTENT here! | ||
+ | |||
+ | --> | ||
+ | |} | ||
+ | '''NOTE:''' Regular wiki markup may be used. Be sure to remain between the previous EDIT comment and the following: | ||
+ | {| class="wikitable" | ||
+ | |<!-- | ||
+ | |||
+ | END CONTENT here! | ||
+ | |||
+ | --> | ||
+ | |} | ||
+ | # These pages are bilingual. Change to French content is made on the same page (at the bottom, just following the @fr| tag), like so: | ||
+ | {| class="wikitable" | ||
+ | |<!-- | ||
+ | |||
+ | FRENCH content starts here! | ||
+ | |||
+ | --> | ||
+ | |||
+ | @fr| | ||
+ | |} | ||
+ | |||
+ | == Main == | ||
+ | # '''''Main''''' is also known as Section 1.3 or [[User:Soli/main]] | ||
+ | # The '''''Main''''' page does not require much change. It does contain 9 parts and/or '''''transclusions''''' that may require partially regular updates. '''''Main''''' requires 1 part for each new addition: | ||
+ | ## '''''Main-1…2...3''''' (Section 1.3.1...2...3), caption or leader text and a link to a page, also known as [[User:Soli/main-1]] (main-2, main-3, etc.) | ||
+ | # If ever a change is required, edit of the [[User:Soli/main-1]] (main-2, main-3, etc.) page and look for the following comments: | ||
+ | {| class="wikitable" | ||
+ | |<!-- | ||
+ | |||
+ | EDIT CONTENT here! | ||
+ | |||
+ | --> | ||
+ | |} | ||
+ | '''NOTE:''' Regular wiki markup may be used. Be sure to remain between the previous EDIT comment and the following: | ||
+ | {| class="wikitable" | ||
+ | |<!-- | ||
+ | |||
+ | END CONTENT here! | ||
+ | |||
+ | --> | ||
+ | |} | ||
+ | # As mentioned earlier, this page would normally contain a title, leader text, and a valid link. This link will be a link to '''''any page.''''' If this page does exist, create it first and note and replace the full title in the link. Due to certain '''''limitations''''' enforced by GCwiki, it is important to be careful replacing '''''only existing content''''', avoiding changes to the existing '''<nowiki><div></nowiki>''' and '''<nowiki><span></nowiki>''' framework setup, for example, replace only content in the highlighted areas (image (yellow), header/link (aqua), and caption/leader text (green)): | ||
+ | {| class="wikitable" | ||
+ | |<!-- -- -- | ||
+ | |||
+ | Change IMAGE HERE! --> | ||
+ | |||
+ | <nowiki>[[File:Man-in-an-assistive-chair.jpg|none|350px|link=Accessibility-confident organizations|alt=A man on an assistive scooter.]]</nowiki> | ||
+ | |||
+ | <'''span''' style="color:rgb(28,48,47); width=350px; font-family:'Helvetica Neue', Helvetica, Arial, sans-serif; font-size:14px; height:auto; text-size-adjust:100%;"> | ||
+ | |||
+ | <!-- -- -- | ||
+ | |||
+ | Change LINK AND TITLE HERE! --> | ||
+ | |||
+ | <'''h4'''>[[Accessibility-confident organizations|<'''span''' style="color:rgb(28,48,47);"> | ||
+ | |||
+ | Accessibility-confident organizations</'''span'''>]]</'''h4'''></'''p'''> | ||
+ | |||
+ | <!-- -- -- | ||
+ | |||
+ | Change CAPTION HERE! --> | ||
+ | |||
+ | <'''p''' style="max-width:350px;">Learn how your department and agency can prepare to meet or exceed the requirements of the Accessible Canada Act.</'''p'''> | ||
+ | |||
+ | </'''span'''> | ||
+ | |||
+ | <!-- | ||
+ | |||
+ | END CONTENT here! | ||
+ | |||
+ | --> | ||
+ | |} | ||
+ | '''NOTE:''' Line-breaks (pressing ''Enter'' once or more anywhere in a wiki page) can affect how the page is drawn. Extra line-breaks will often change the look of a wiki page. '''''Be careful not to add any new or unnecessary line-breaks.''''' | ||
+ | # These pages are bilingual. Change to French content is made on the same page (at the bottom, just following the @fr| tag), like so: | ||
+ | {| class="wikitable" | ||
+ | |<!-- | ||
+ | |||
+ | FRENCH content starts here! | ||
+ | |||
+ | --> | ||
+ | |||
+ | @fr| | ||
+ | |} | ||
+ | |||
+ | == New Pages == | ||
+ | # '''''Page''''' is also known as Section 1.3.1.1 or any valid page address using [[User:Soli/page-template]]: | ||
+ | # The '''''Page''''' is new content. It contains 3 parts and/or '''''transclusions'''''. '''''Page''''' requires 3 parts for each new addition: | ||
+ | ## A small header | ||
+ | ## Content | ||
+ | ## A footer | ||
+ | # [[User:Soli/page-template]] - use the following template, which includes a small header, some sample text, and the site footer. | ||
+ | |||
+ | == Accessibility Testing, and Special Notes == | ||
+ | These tools will more or less test for and provide similar results. It is important to test for the “basics”. Not all tools work in all operating systems or browsers. These tools will examine the entire wiki. In most cases, a user will not be able to alter the wiki styles and code, so focus can be directed to testing new content. | ||
+ | |||
+ | === Page Contents === | ||
+ | # Page title (H1 provided in the wiki page title) | ||
+ | # Image text alternatives ("alt text") (pictures, illustrations, charts, etc.) | ||
+ | # Text | ||
+ | ## Headings (all H2 through H6 headers) | ||
+ | ## Contrast ratio ("color contrast") | ||
+ | ## Resize Text | ||
+ | # Interaction | ||
+ | ## Keyboard access and visual focus | ||
+ | ## Forms, labels, and errors (including Search fields) | ||
+ | # General | ||
+ | ## Moving, Flashing, or Blinking Content | ||
+ | ## Multimedia (video, audio) alternatives | ||
+ | ## Basic Structure Check | ||
+ | |||
+ | === Tools and best practices === | ||
+ | # '''WAVE Browser Extensions''' (for Google Chrome and Mozilla Firefox) - once installed, this extension can run tests for errors on any single page and will alert the author if any missing, broken, or inappropriately set attributes (i.e. image alt text, headings, contrast, etc.) | ||
+ | |||
+ | # '''Accessibility Insights''' by Microsoft (for Google Chrome and Microsoft Edge) - once installed, the powerful tools can guide you through a series of automatic and manual single page tests. It is recommended that the following test be run. With the page in question open, open Accessibility Insights. A new window will open. Follow these steps: | ||
+ | ## '''FastPass''' - select FastPass and allow: | ||
+ | ### '''Automated Checks''' - these will run and report automatically. Follow instructions for resolving any found issues. | ||
+ | |||
+ | ### '''Tab stops''' - once automated checks have competed, select “Tab Stops” from the left menu and set “Show tab stops” to “On”. Click back on the browser window containing the site to be tested and click “Tab” and “Shift+Tab”. | ||
+ | NOTE: A page refresh may be required. | ||
+ | ### Ensure that the tab order follows the expected order. | ||
+ | |||
+ | ## '''Assessment''' - from the pulldown menu at the top left, select “Assessment”. While there are many tests that could be considered, it is important to test the following: | ||
+ | ### '''Headings''' | ||
+ | |||
+ | ## Others? | ||
+ | |||
+ | # Help:Contents - MediaWiki - general wiki markup and best practice | ||
+ | # Accessibility - MediaWiki - general accessibility wiki markup and best practice | ||
+ | # Accessibility guide for developers - MediaWiki - advanced best practices | ||
+ | |||
+ | === Advanced testing === | ||
+ | # '''SiteImprove''' (for Google Chrome and Mozilla Firefox) - another single page test that offers a summary of top-level tests. | ||
+ | |||
+ | # '''NVDA''' by NV Access (free text-to-speech tool; Windows only) - a popular text-to-speech tool that works in all browsers. Please consult the following user guide: NVDA User Guide | ||
+ | # '''High Contrast''' extension for Google Chrome (for browser-only high contrast testing) - once installed, allows for high contrast testing without setting the OS global setting to “High Contrast” | ||
+ | # '''Browser Inspector and the “Accessibility” tab''' (advanced; for most browsers) - in most browsers, clicking “F12” will open the browser inspector (also available from a right-click and select “Inspect” on any webpage). Under the “Elements” tab, select the “Accessibility” tab. This view will report on the “Accessibility Tree”, “ARIA Attributes”, and “Computed Properties”. This can be useful if other tools cannot provide enough information to find the cause of an issue. | ||
+ | |||
+ | # '''Browser Inspector and the aXe - Web Accessibility Testing extension''' (advanced; for Google Chrome and Mozilla Firefox) - in most browsers, clicking “F12” will open the browser inspector. Once installed, “axe” will be available in the main inspector window. Click on it to analyse a single page. | ||
+ | # Videos and other external data? | ||
+ | # PDFs and other documents? |
Revision as of 17:37, 27 January 2020
GCwiki User Guide
How to use this wiki framework.
Structure
- This wiki has been modularized, meaning we are using transclusions (notation as follows: {{:AnyValidPageTitle}}
- The structure looks like this:
- Home (a single page view of all levels 1.x)
- Header
- Spotlight (a single section view of all levels 1.2.x)
- Spotlight-1-a
- Spotlight-2-b
- Main (a single section view of all levels 1.3.x)
- Main-1 (page summary)
- Page or article 1 (full article)
- Header-small
- Page content
- Footer (same as Section 1.4)
- Page or article 1 (full article)
- Main-2 (page summary)
- Page or article 2 (full article, same as 1.3.1.1)
- Main-3 (page summary)
- Page or article 3 (full article, same as 1.3.1.1)
- Main-4 (page summary)
- Page or article 4 (full article, same as 1.3.1.1)
- Main-5 (page summary)
- Page or article 5 (full article, same as 1.3.1.1)
- Main-6 (page summary)
- Page or article 6 (full article, same as 1.3.1.1)
- Main-7 (page summary)
- Page or article 7 (full article, same as 1.3.1.1)
- Main-8 (page summary)
- Page or article 8 (full article, same as 1.3.1.1)
- Main-9 (page summary)
- Page or article 9 (full article, same as 1.3.1.1)
- Main-1 (page summary)
- Footer
- TBA
- Home is also known as Section 1 or User:Soli
- The Home page simply contains transclusions which “paste” page content into other pages, like so:
__NOTOC__ {{:User:Soli/header}} {{:User:Soli/spotlight}} {{:User:Soli/main}} {{:User:Soli/footer}} |
These transclusions are used throughout the structure of this wiki framework. By using {{:FullPageTitle}}, GCwiki allows a user to include or transclude existing content.
- Header is also known as Section 1.1 or User:Soli/header
- The Header page contains the following 3 parts. These parts are unlikely to change often:
- A transparent header image
- An H2 header
- A subtitle or caption
- If ever a change is required, edit User:Soli/header and look for the following comments:
- This page is bilingual. Change to French content is made on the same page (at the bottom, just following the @fr| tag), like so:
@fr| |
Spotlight
- Spotlight is also known as Section 1.2 or User:Soli/spotlight
- The Spotlight page does not require much change. It does contain 2 parts and/or transclusions that may require partially regular updates:
- Spotlight 1 (Section 1.2.1), also known as User:Soli/spotlight-1 (“Lend a hand!”)
- Spotlight 2 (Section 1.2.2), also known as User:Soli/spotlight-2 (“Access. statement”)
- If ever a change is required, edit either User:Soli/spotlight-1 or User:Soli/spotlight-2 and look for the following comments:
NOTE: Regular wiki markup may be used. Be sure to remain between the previous EDIT comment and the following:
- These pages are bilingual. Change to French content is made on the same page (at the bottom, just following the @fr| tag), like so:
@fr| |
Main
- Main is also known as Section 1.3 or User:Soli/main
- The Main page does not require much change. It does contain 9 parts and/or transclusions that may require partially regular updates. Main requires 1 part for each new addition:
- Main-1…2...3 (Section 1.3.1...2...3), caption or leader text and a link to a page, also known as User:Soli/main-1 (main-2, main-3, etc.)
- If ever a change is required, edit of the User:Soli/main-1 (main-2, main-3, etc.) page and look for the following comments:
NOTE: Regular wiki markup may be used. Be sure to remain between the previous EDIT comment and the following:
- As mentioned earlier, this page would normally contain a title, leader text, and a valid link. This link will be a link to any page. If this page does exist, create it first and note and replace the full title in the link. Due to certain limitations enforced by GCwiki, it is important to be careful replacing only existing content, avoiding changes to the existing <div> and <span> framework setup, for example, replace only content in the highlighted areas (image (yellow), header/link (aqua), and caption/leader text (green)):
[[File:Man-in-an-assistive-chair.jpg|none|350px|link=Accessibility-confident organizations|alt=A man on an assistive scooter.]] <span style="color:rgb(28,48,47); width=350px; font-family:'Helvetica Neue', Helvetica, Arial, sans-serif; font-size:14px; height:auto; text-size-adjust:100%;">
</span> |
NOTE: Line-breaks (pressing Enter once or more anywhere in a wiki page) can affect how the page is drawn. Extra line-breaks will often change the look of a wiki page. Be careful not to add any new or unnecessary line-breaks.
- These pages are bilingual. Change to French content is made on the same page (at the bottom, just following the @fr| tag), like so:
@fr| |
New Pages
- Page is also known as Section 1.3.1.1 or any valid page address using User:Soli/page-template:
- The Page is new content. It contains 3 parts and/or transclusions. Page requires 3 parts for each new addition:
- A small header
- Content
- A footer
- User:Soli/page-template - use the following template, which includes a small header, some sample text, and the site footer.
Accessibility Testing, and Special Notes
These tools will more or less test for and provide similar results. It is important to test for the “basics”. Not all tools work in all operating systems or browsers. These tools will examine the entire wiki. In most cases, a user will not be able to alter the wiki styles and code, so focus can be directed to testing new content.
Page Contents
- Page title (H1 provided in the wiki page title)
- Image text alternatives ("alt text") (pictures, illustrations, charts, etc.)
- Text
- Headings (all H2 through H6 headers)
- Contrast ratio ("color contrast")
- Resize Text
- Interaction
- Keyboard access and visual focus
- Forms, labels, and errors (including Search fields)
- General
- Moving, Flashing, or Blinking Content
- Multimedia (video, audio) alternatives
- Basic Structure Check
Tools and best practices
- WAVE Browser Extensions (for Google Chrome and Mozilla Firefox) - once installed, this extension can run tests for errors on any single page and will alert the author if any missing, broken, or inappropriately set attributes (i.e. image alt text, headings, contrast, etc.)
- Accessibility Insights by Microsoft (for Google Chrome and Microsoft Edge) - once installed, the powerful tools can guide you through a series of automatic and manual single page tests. It is recommended that the following test be run. With the page in question open, open Accessibility Insights. A new window will open. Follow these steps:
- FastPass - select FastPass and allow:
- Automated Checks - these will run and report automatically. Follow instructions for resolving any found issues.
- FastPass - select FastPass and allow:
- Tab stops - once automated checks have competed, select “Tab Stops” from the left menu and set “Show tab stops” to “On”. Click back on the browser window containing the site to be tested and click “Tab” and “Shift+Tab”.
NOTE: A page refresh may be required.
- Ensure that the tab order follows the expected order.
- Assessment - from the pulldown menu at the top left, select “Assessment”. While there are many tests that could be considered, it is important to test the following:
- Headings
- Assessment - from the pulldown menu at the top left, select “Assessment”. While there are many tests that could be considered, it is important to test the following:
- Others?
- Help:Contents - MediaWiki - general wiki markup and best practice
- Accessibility - MediaWiki - general accessibility wiki markup and best practice
- Accessibility guide for developers - MediaWiki - advanced best practices
Advanced testing
- SiteImprove (for Google Chrome and Mozilla Firefox) - another single page test that offers a summary of top-level tests.
- NVDA by NV Access (free text-to-speech tool; Windows only) - a popular text-to-speech tool that works in all browsers. Please consult the following user guide: NVDA User Guide
- High Contrast extension for Google Chrome (for browser-only high contrast testing) - once installed, allows for high contrast testing without setting the OS global setting to “High Contrast”
- Browser Inspector and the “Accessibility” tab (advanced; for most browsers) - in most browsers, clicking “F12” will open the browser inspector (also available from a right-click and select “Inspect” on any webpage). Under the “Elements” tab, select the “Accessibility” tab. This view will report on the “Accessibility Tree”, “ARIA Attributes”, and “Computed Properties”. This can be useful if other tools cannot provide enough information to find the cause of an issue.
- Browser Inspector and the aXe - Web Accessibility Testing extension (advanced; for Google Chrome and Mozilla Firefox) - in most browsers, clicking “F12” will open the browser inspector. Once installed, “axe” will be available in the main inspector window. Click on it to analyse a single page.
- Videos and other external data?
- PDFs and other documents?