├── .gitignore ├── .gitmodules ├── CODE_OF_CONDUCT.md ├── Gemfile ├── Gemfile.lock ├── README.md ├── _config.yml ├── _config_staging.yml ├── _data ├── lang.json ├── navigation.yaml ├── techniques.yml ├── translations.yml └── wcag.yml ├── content-images └── wai-tutorials │ ├── carousels │ ├── carousels-paging-buttons.png │ ├── carousels-styling-contrast.png │ ├── chevron-left.png │ ├── chevron-right.png │ ├── ex-teddy1.jpg │ ├── ex-teddy2.jpg │ └── ex-teddy3.jpg │ ├── forms │ └── zxcvbn.js │ ├── html5-badge-h-css3-graphics-multimedia-semantics.png │ ├── images │ ├── bad-top-text.png │ ├── castle-etching.jpg │ ├── castle-fluro.jpg │ ├── castle-painting.jpg │ ├── chart.png │ ├── counter-clockwise.jpg │ ├── crocus.jpg │ ├── dog.jpg │ ├── family.jpg │ ├── fax.png │ ├── harbarbarahand.ttf │ ├── html5logo.png │ ├── kew.jpg │ ├── new-window.png │ ├── orgchart.png │ ├── pdfdocument.png │ ├── peafowl.jpg │ ├── phone.png │ ├── print.png │ ├── repeat1.png │ ├── searchbutton.png │ ├── sleeping.jpg │ ├── star-empty.png │ ├── star-full.png │ ├── star-half.png │ ├── topinfo_bg.png │ ├── w3c.png │ ├── wai.png │ └── worddocument.png │ ├── menus │ ├── ex-dropdown-active.png │ └── ex-dropdown-inactive.png │ ├── page-structure │ ├── page-structure-aside.png │ ├── page-structure-aside@2x.png │ ├── page-structure-aside@3x.png │ ├── page-structure-footer.png │ ├── page-structure-footer@2x.png │ ├── page-structure-footer@3x.png │ ├── page-structure-header.png │ ├── page-structure-header@2x.png │ ├── page-structure-header@3x.png │ ├── page-structure-headings-2.png │ ├── page-structure-headings-2@2x.png │ ├── page-structure-headings-2@3x.png │ ├── page-structure-headings-intro.png │ ├── page-structure-headings-intro@2x.png │ ├── page-structure-headings-intro@3x.png │ ├── page-structure-headings.png │ ├── page-structure-headings@2x.png │ ├── page-structure-headings@3x.png │ ├── page-structure-main.png │ ├── page-structure-main@2x.png │ ├── page-structure-main@3x.png │ ├── page-structure-navigation.png │ ├── page-structure-navigation@2x.png │ └── page-structure-navigation@3x.png │ └── tables │ ├── headers-in-one-column-all-data-in-second.png │ ├── img-caption.png │ ├── img-caption.svg │ ├── img-irreg.png │ ├── img-irreg.svg │ ├── img-multi.png │ ├── img-multi.svg │ ├── img-multidir.png │ ├── img-multidir.svg │ ├── img-scope.png │ ├── img-simple.png │ ├── img-simple.svg │ └── table-text-resize.png ├── content ├── acknowledgements.md ├── carousels │ ├── animations.md │ ├── examples │ │ ├── carousel.js │ │ └── focusinoutpolyfill.js │ ├── full-code.md │ ├── functionality.md │ ├── index.md │ ├── structure.md │ ├── styling.md │ └── working-example.md ├── changelog.md ├── forms │ ├── custom-controls.md │ ├── examples │ │ └── password.md │ ├── grouping.md │ ├── index.md │ ├── instructions.md │ ├── labels.md │ ├── multi-page.md │ ├── notifications.md │ └── validation.md ├── images │ ├── complex.md │ ├── decision-tree.de.md │ ├── decision-tree.fr.md │ ├── decision-tree.id.md │ ├── decision-tree.ja.md │ ├── decision-tree.ko.md │ ├── decision-tree.md │ ├── decorative.md │ ├── examples │ │ ├── 2014-first-qtr.md │ │ └── imagemap.md │ ├── functional.md │ ├── groups.md │ ├── imagemap.md │ ├── index.md │ ├── informative.md │ ├── textual.md │ └── tips.md ├── index.md ├── menus │ ├── application-menus-code.md │ ├── application-menus.md │ ├── flyout.md │ ├── index.md │ ├── structure.md │ └── styling.md ├── page-structure │ ├── content.md │ ├── example.md │ ├── headings.md │ ├── index.md │ ├── labels.md │ └── regions.md └── tables │ ├── caption-summary.md │ ├── examples │ ├── headertoprow.md │ ├── headertoprowfirstcol.md │ ├── multiplecolumnheaders.md │ ├── scope-multiple.md │ ├── scope-offset.md │ ├── scope-simple.md │ └── threeheaders.md │ ├── index.md │ ├── irregular.md │ ├── multi-level.md │ ├── one-header.md │ ├── tips.md │ └── two-headers.md ├── netlify.toml └── w3c.json /.gitignore: -------------------------------------------------------------------------------- 1 | _site 2 | .sass-cache 3 | .jekyll-* 4 | .DS_Store 5 | .nosync 6 | .ruby-version 7 | 8 | # Local Netlify folder 9 | .netlify 10 | .vscode -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "_external/data"] 2 | path = _external/data 3 | url = https://github.com/w3c/wai-website-data.git 4 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Code of Conduct 2 | 3 | All documentation, code and communication under this repository are covered by the [W3C Code of Ethics and Professional Conduct](https://www.w3.org/Consortium/cepc/). 4 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem "wai-gems", :path => "_external/data/wai-gems" 4 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | PATH 2 | remote: _external/data/wai-gems 3 | specs: 4 | wai-gems (1.0.0) 5 | jekyll-github-metadata 6 | jekyll-include-cache 7 | jekyll-paginate 8 | jekyll-redirect-from 9 | jekyll-relative-links 10 | jekyll-remote-theme 11 | jekyll-seo-tag 12 | jekyll-sitemap 13 | wai-website-plugin 14 | 15 | GEM 16 | remote: https://rubygems.org/ 17 | specs: 18 | addressable (2.8.7) 19 | public_suffix (>= 2.0.2, < 7.0) 20 | bigdecimal (3.1.8) 21 | colorator (1.1.0) 22 | concurrent-ruby (1.3.3) 23 | em-websocket (0.5.3) 24 | eventmachine (>= 0.12.9) 25 | http_parser.rb (~> 0) 26 | eventmachine (1.2.7) 27 | faraday (2.9.2) 28 | faraday-net_http (>= 2.0, < 3.2) 29 | faraday-net_http (3.1.0) 30 | net-http 31 | ffi (1.17.0-arm64-darwin) 32 | ffi (1.17.0-x86_64-linux-gnu) 33 | forwardable-extended (2.6.0) 34 | google-protobuf (4.27.2-arm64-darwin) 35 | bigdecimal 36 | rake (>= 13) 37 | google-protobuf (4.27.2-x86_64-linux) 38 | bigdecimal 39 | rake (>= 13) 40 | http_parser.rb (0.8.0) 41 | i18n (1.14.5) 42 | concurrent-ruby (~> 1.0) 43 | jekyll (4.3.3) 44 | addressable (~> 2.4) 45 | colorator (~> 1.0) 46 | em-websocket (~> 0.5) 47 | i18n (~> 1.0) 48 | jekyll-sass-converter (>= 2.0, < 4.0) 49 | jekyll-watch (~> 2.0) 50 | kramdown (~> 2.3, >= 2.3.1) 51 | kramdown-parser-gfm (~> 1.0) 52 | liquid (~> 4.0) 53 | mercenary (>= 0.3.6, < 0.5) 54 | pathutil (~> 0.9) 55 | rouge (>= 3.0, < 5.0) 56 | safe_yaml (~> 1.0) 57 | terminal-table (>= 1.8, < 4.0) 58 | webrick (~> 1.7) 59 | jekyll-github-metadata (2.16.1) 60 | jekyll (>= 3.4, < 5.0) 61 | octokit (>= 4, < 7, != 4.4.0) 62 | jekyll-include-cache (0.2.1) 63 | jekyll (>= 3.7, < 5.0) 64 | jekyll-paginate (1.1.0) 65 | jekyll-redirect-from (0.16.0) 66 | jekyll (>= 3.3, < 5.0) 67 | jekyll-relative-links (0.7.0) 68 | jekyll (>= 3.3, < 5.0) 69 | jekyll-remote-theme (0.4.3) 70 | addressable (~> 2.0) 71 | jekyll (>= 3.5, < 5.0) 72 | jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0) 73 | rubyzip (>= 1.3.0, < 3.0) 74 | jekyll-sass-converter (3.0.0) 75 | sass-embedded (~> 1.54) 76 | jekyll-seo-tag (2.8.0) 77 | jekyll (>= 3.8, < 5.0) 78 | jekyll-sitemap (1.4.0) 79 | jekyll (>= 3.7, < 5.0) 80 | jekyll-watch (2.2.1) 81 | listen (~> 3.0) 82 | kramdown (2.4.0) 83 | rexml 84 | kramdown-parser-gfm (1.1.0) 85 | kramdown (~> 2.0) 86 | liquid (4.0.4) 87 | listen (3.9.0) 88 | rb-fsevent (~> 0.10, >= 0.10.3) 89 | rb-inotify (~> 0.9, >= 0.9.10) 90 | mercenary (0.4.0) 91 | net-http (0.4.1) 92 | uri 93 | octokit (6.1.1) 94 | faraday (>= 1, < 3) 95 | sawyer (~> 0.9) 96 | pathutil (0.16.2) 97 | forwardable-extended (~> 2.6) 98 | public_suffix (6.0.0) 99 | rake (13.2.1) 100 | rb-fsevent (0.11.2) 101 | rb-inotify (0.11.1) 102 | ffi (~> 1.0) 103 | rexml (3.3.1) 104 | strscan 105 | rouge (4.3.0) 106 | rubyzip (2.3.2) 107 | safe_yaml (1.0.5) 108 | sass-embedded (1.77.5) 109 | google-protobuf (>= 3.25, < 5.0) 110 | rake (>= 13) 111 | sass-embedded (1.77.5-arm64-darwin) 112 | google-protobuf (>= 3.25, < 5.0) 113 | sawyer (0.9.2) 114 | addressable (>= 2.3.5) 115 | faraday (>= 0.17.3, < 3) 116 | strscan (3.1.0) 117 | terminal-table (3.0.2) 118 | unicode-display_width (>= 1.1.1, < 3) 119 | unicode-display_width (2.5.0) 120 | uri (0.13.0) 121 | wai-website-plugin (0.2) 122 | jekyll (>= 3.6, < 5.0) 123 | webrick (1.8.1) 124 | 125 | PLATFORMS 126 | x86_64-linux 127 | 128 | DEPENDENCIES 129 | wai-gems! 130 | 131 | BUNDLED WITH 132 | 2.5.14 133 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | > [!IMPORTANT] 2 | > This repository has been archived 11 July 2024. 3 | > 4 | > [Tutorials](https://www.w3.org/WAI/tutorials/) are now edited in the [wai-website](https://github.com/w3c/wai-website) repository. 5 | 6 | ## Archived information 7 | 8 | ### Publication branch 9 | 10 | The branch deployed to the website is the `publication` branch. More info on requesting deploys is in [Updating WAI Website Resources](https://wai-website-theme.netlify.app/workflow/) 11 | 12 | ### Translation Notes 13 | 14 | See [Resource-Specific Translation Instructions](https://www.w3.org/WAI/about/translating/resources/resource-specific-instructions/#tutorials-including-an-alt-decision-tree) 15 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | # Welcome to Jekyll! 2 | # 3 | # This config file is meant for settings that affect your whole blog, values 4 | # which you are expected to set up once and rarely need to edit after that. 5 | # For technical reasons, this file is *NOT* reloaded automatically when you use 6 | # 'jekyll serve'. If you change this file, please restart the server process. 7 | 8 | # Site settings 9 | title: "Web Accessibility Initiative (WAI)" 10 | email: your-email@domain.com 11 | description: > # this means to ignore newlines until "baseurl:" 12 | The Website of the World Wide Web Consortium’s Web Accessibility Initiative. 13 | baseurl: "/tutorials" # the subpath of your site, e.g. /blog 14 | url: "https://w3c.github.io" # the base hostname & protocol for your site 15 | twitter: 16 | username: w3c_wai 17 | author: w3c_wai 18 | exclude: 19 | - "_external" 20 | - "Gemfile" 21 | - "Gemfile.lock" 22 | - "README.md" 23 | - "w3c.json" 24 | - "CODE_OF_CONDUCT.md" 25 | 26 | # Build settings 27 | markdown: kramdown 28 | kramdown: 29 | toc_levels: 2..3 30 | input: GFM 31 | syntax_highlighter: rouge 32 | highlighter: rouge 33 | repository: w3c/wai-tutorials 34 | 35 | ytkey: AIzaSyCiZ9uToWu9jb7BTx47NtzCvmGGXKXp8nI 36 | 37 | remote_theme: w3c/wai-website-theme 38 | 39 | defaults: 40 | - scope: 41 | path: "" 42 | values: 43 | layout: "default" 44 | 45 | plugins: 46 | - jekyll-seo-tag 47 | - jekyll-sitemap 48 | - jekyll-redirect-from 49 | - jekyll-include-cache 50 | - jekyll-paginate 51 | - jekyll-remote-theme 52 | - wai-website-plugin 53 | -------------------------------------------------------------------------------- /_config_staging.yml: -------------------------------------------------------------------------------- 1 | baseurl: "" # the subpath of your site, e.g. /blog 2 | url: "" # the base hostname & protocol for your site -------------------------------------------------------------------------------- /_data/lang.json: -------------------------------------------------------------------------------- 1 | ../_external/data/lang.json -------------------------------------------------------------------------------- /_data/techniques.yml: -------------------------------------------------------------------------------- 1 | ../_external/data/techniques.yml -------------------------------------------------------------------------------- /_data/translations.yml: -------------------------------------------------------------------------------- 1 | ../_external/data/translations.yml -------------------------------------------------------------------------------- /_data/wcag.yml: -------------------------------------------------------------------------------- 1 | ../_external/data/wcag.yml -------------------------------------------------------------------------------- /content-images/wai-tutorials/carousels/carousels-paging-buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/carousels/carousels-paging-buttons.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/carousels/carousels-styling-contrast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/carousels/carousels-styling-contrast.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/carousels/chevron-left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/carousels/chevron-left.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/carousels/chevron-right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/carousels/chevron-right.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/carousels/ex-teddy1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/carousels/ex-teddy1.jpg -------------------------------------------------------------------------------- /content-images/wai-tutorials/carousels/ex-teddy2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/carousels/ex-teddy2.jpg -------------------------------------------------------------------------------- /content-images/wai-tutorials/carousels/ex-teddy3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/carousels/ex-teddy3.jpg -------------------------------------------------------------------------------- /content-images/wai-tutorials/html5-badge-h-css3-graphics-multimedia-semantics.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/html5-badge-h-css3-graphics-multimedia-semantics.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/bad-top-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/bad-top-text.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/castle-etching.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/castle-etching.jpg -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/castle-fluro.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/castle-fluro.jpg -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/castle-painting.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/castle-painting.jpg -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/chart.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/counter-clockwise.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/counter-clockwise.jpg -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/crocus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/crocus.jpg -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/dog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/dog.jpg -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/family.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/family.jpg -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/fax.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/fax.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/harbarbarahand.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/harbarbarahand.ttf -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/html5logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/html5logo.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/kew.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/kew.jpg -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/new-window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/new-window.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/orgchart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/orgchart.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/pdfdocument.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/pdfdocument.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/peafowl.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/peafowl.jpg -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/phone.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/print.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/repeat1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/repeat1.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/searchbutton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/searchbutton.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/sleeping.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/sleeping.jpg -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/star-empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/star-empty.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/star-full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/star-full.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/star-half.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/star-half.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/topinfo_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/topinfo_bg.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/w3c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/w3c.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/wai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/wai.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/images/worddocument.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/images/worddocument.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/menus/ex-dropdown-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/menus/ex-dropdown-active.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/menus/ex-dropdown-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/menus/ex-dropdown-inactive.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-aside.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-aside.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-aside@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-aside@2x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-aside@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-aside@3x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-footer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-footer.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-footer@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-footer@2x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-footer@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-footer@3x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-header.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-header@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-header@2x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-header@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-header@3x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-headings-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-headings-2.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-headings-2@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-headings-2@2x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-headings-2@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-headings-2@3x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-headings-intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-headings-intro.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-headings-intro@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-headings-intro@2x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-headings-intro@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-headings-intro@3x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-headings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-headings.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-headings@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-headings@2x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-headings@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-headings@3x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-main.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-main@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-main@2x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-main@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-main@3x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-navigation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-navigation.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-navigation@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-navigation@2x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/page-structure/page-structure-navigation@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/page-structure/page-structure-navigation@3x.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/tables/headers-in-one-column-all-data-in-second.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/tables/headers-in-one-column-all-data-in-second.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/tables/img-caption.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/tables/img-caption.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/tables/img-caption.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | img-caption 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /content-images/wai-tutorials/tables/img-irreg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/tables/img-irreg.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/tables/img-irreg.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | img-irreg 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /content-images/wai-tutorials/tables/img-multi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/tables/img-multi.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/tables/img-multi.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | img-multi 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /content-images/wai-tutorials/tables/img-multidir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/tables/img-multidir.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/tables/img-multidir.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | img-multidir 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /content-images/wai-tutorials/tables/img-scope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/tables/img-scope.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/tables/img-simple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/tables/img-simple.png -------------------------------------------------------------------------------- /content-images/wai-tutorials/tables/img-simple.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | img-simple 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /content-images/wai-tutorials/tables/table-text-resize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/wai-tutorials/ef7a612c0014bd1514bcd7e1d8d5f02fa5ed43d7/content-images/wai-tutorials/tables/table-text-resize.png -------------------------------------------------------------------------------- /content/acknowledgements.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Acknowledgements" 3 | permalink: /tutorials/acknowledgements/ 4 | ref: /tutorials/acknowledgements/ 5 | lang: en 6 | description: 7 | image: /content-images/wai-tutorials/images/social.png 8 | github: 9 | branch: 'master-2.0' 10 | repository: w3c/wai-tutorials 11 | path: 'content/acknowledgements.md' 12 | 13 | resource: 14 | ref: /tutorials/ 15 | 16 | footer: > 17 |

Editors: Eric Eggert, Shadi Abou-Zahra. Update Editor: Brian Elton. Contributors: Shawn Lawton Henry, Anna Belle Leiserson, Sharron Rush, Bim Egan, Laura Keen, AG WG participants, EOWG participants.

18 |

Developed by the Education and Outreach Working Group (EOWG). Updated with support from the WCAG Technical Assistance (WCAG TA) project. Developed with support from the WAI-ACT project, co-funded by the European Commission IST Programme.

19 | 20 | --- 21 | 22 | The WAI Tutorials were developed by the [Education Outreach Working Group (EOWG)](https://www.w3.org/groups/wg/eowg/) with support from the [WAI-ACT project](https://www.w3.org/WAI/ACT/), co-funded by the European Commission IST Programme. 23 | 24 | 25 | ## Project Leadership 26 | For the initial development and updates: 27 | 28 | - **Project Coordinator:** 29 | - Shadi Abou-Zahra, W3C WAI 30 | - **Editors:** 31 | - **Eric Eggert, W3C WAI** 32 | - Shadi Abou-Zahra, W3C WAI 33 | - **EOWG Co-Chairs:** 34 | - Sharron Rush, Knowbility 35 | - Brent Bakken, Pearson 36 | - **EOWG Staff Contact:** 37 | - [Shawn Lawton Henry](https://www.w3.org/People/shawn), W3C WAI 38 | 39 | For the recent updates: 40 | - **Project Coordinator:** 41 | - Shawn Lawton Henry 42 | - **Editor:** 43 | - Brian Elton 44 | 45 | ## Contributing Working Group Participants 46 | * Shawn Lawton Henry 47 | * Anna Belle Leiserson 48 | * Sharron Rush 49 | * Bim Egan 50 | * Laura Keen 51 | * [AG WG participants](https://www.w3.org/groups/wg/ag/participants) 52 | * [EOWG participants](https://www.w3.org/groups/wg/eowg/participants) 53 | 54 | ## Graphics, Photos, Example Text 55 | 56 | ### Graphics 57 | 58 | * [Phone designed by Tom Walsh from the Noun Project](http://thenounproject.com/term/phone/52971/) 59 | * [Fax designed by Vasily Ledovsky from the Noun Project](http://thenounproject.com/term/fax/8017/) 60 | * [Farm Fresh Web Icons](http://www.fatcow.com/free-icons) 61 | 62 | ### Photos 63 | 64 | * [Peacock image](https://en.wikipedia.org/wiki/File:Pavo_Real_Venezolano.jpg), by The Photographer [CC0], via Wikimedia Commons 65 | * [Burtons Creekside](https://secure.flickr.com/photos/makelessnoise/1423697879/in/set-72157602113996846/) by [Brian on Flickr](https://secure.flickr.com/photos/makelessnoise/) 66 | 67 | ### Example text 68 | 69 | * Peacock description from Wikipedia article [Indian peafowl](https://en.wikipedia.org/w/index.php?title=Indian_peafowl&oldid=647099660) as accessed on 16 February 2015. 70 | -------------------------------------------------------------------------------- /content/carousels/animations.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Animations 3 | 4 | lang: en 5 | permalink: /tutorials/carousels/animations/ 6 | ref: /tutorials/carousels/animations/ 7 | 8 | github: 9 | branch: 'master-2.0' 10 | repository: w3c/wai-tutorials 11 | path: 'content/carousels/animations.md' 12 | 13 | resource: 14 | ref: /tutorials/carousels/ 15 | navigation: 16 | previous: /tutorials/carousels/functionality/ 17 | next: /tutorials/carousels/styling/ 18 | 19 | wcag_success_criteria: 20 | - 2.2.2 21 | 22 | metafooter: true 23 | first_published: "May 2015" 24 | last_updated: 2019-11-27 25 | editors: 26 | - Eric Eggert: "https://www.w3.org/People/yatil/" 27 | - Shadi Abou-Zahra: "https://www.w3.org/People/shadi/" 28 | update_editors: 29 | - Brian Elton 30 | contributing_participants: 31 | - see Acknowledgements 32 | support: Developed by the Education and Outreach Working Group (EOWG). Developed with support from the WAI-ACT project, co-funded by the European Commission IST Programme. 33 | --- 34 | 35 | Provide users with control over animations in the carousel. Pausing animation is essential for people who find movement distracting or who need more time to read. 36 | 37 | ## Add Play/Stop button 38 | 39 | Provide a button to allow users to stop and resume animation. The example below illustrates how such a button can be marked-up. The button label and its function changes, depending on whether the animation is currently running or not. 40 | 41 | {::nomarkdown} 42 | {% include box.html type="start" title="Code: While animation is running" class="example" %} 43 | {:/} 44 | 45 | ~~~html 46 | 47 | ~~~ 48 | 49 | {::nomarkdown} 50 | {% include box.html type="end" %} 51 | {:/} 52 | 53 | {::nomarkdown} 54 | {% include box.html type="start" title="Code: While animation is stopped" class="example" %} 55 | {:/} 56 | 57 | ~~~html 58 | 59 | ~~~ 60 | 61 | {::nomarkdown} 62 | {% include box.html type="end" %} 63 | {:/} 64 | 65 | 66 | {% include ednote.html note="The following paragraph was show in a side column before." %}A [working demo example](/tutorials/carousels/working-example/) for this code is available. 67 | 68 | {::nomarkdown} 69 | {% include box.html type="start" title="Note" class="simple notes" %} 70 | {:/} 71 | 72 | The JavaScript only replaces the value of the ` 96 | 97 |
  • 98 | 101 |
  • 102 |
  • 103 | 106 |
  • 107 | 108 | 109 | 114 | 115 | {::nomarkdown} 116 | {% include box.html type="end" %} 117 | {:/} 118 | 119 | {% include ednote.html note="The following paragraph was show in a side column before." %}A [working demo example](/tutorials/carousels/working-example/) for this code is available. 120 | 121 | ## For smaller screens/small viewports 122 | Ensure all text is readable and not cut off or unnecessarily truncated. Make sure that [navigation buttons](/tutorials/carousels/functionality/#add-navigation-buttons) to control the slides are available, since some people cannot use swipe gestures. 123 | 124 | -------------------------------------------------------------------------------- /content/changelog.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Changelog" 3 | permalink: /tutorials/changelog/ 4 | ref: /tutorials/changelog/ 5 | lang: en 6 | description: 7 | image: /content-images/wai-tutorials/images/social.png 8 | github: 9 | branch: 'master-2.0' 10 | repository: w3c/wai-tutorials 11 | path: 'content/changelog.md' 12 | 13 | resource: 14 | ref: /tutorials/ 15 | 16 | footer: > 17 |

    Editors: Eric Eggert, Shadi Abou-Zahra. Update Editor: Brian Elton. Contributors: Shawn Lawton Henry, Anna Belle Leiserson, Sharron Rush, Bim Egan, AG WG participants, EOWG participants.

    18 |

    Developed by the Education and Outreach Working Group (EOWG). Developed with support from the WAI-ACT project, co-funded by the European Commission IST Programme.

    19 | --- 20 | 21 | {::nomarkdown} 22 | {% include box.html type="start" title="Changelog listing note" %} 23 | {:/} 24 | 25 | This changelog lists substantive content edits. It does **not** list typo fixes and other minor edits. 26 | 27 | {::nomarkdown} 28 | {% include box.html type="end" %} 29 | {:/} 30 | ## May 2024 31 | In [Forms tutorial](/tutorials/forms/) 32 | * Fixing a broken link in [Form Instructions](/tutorials/forms/instructions/#placeholder-text) 33 | * [GitHub PR #735](https://github.com/w3c/wai-tutorials/pull/735) 34 | * Fixing a color contrast issue in [Multi-page Forms](/tutorials/forms/multi-page/#using-the-html5-progress-element) 35 | * [GitHub PR #732](https://github.com/w3c/wai-tutorials/pull/732) 36 | 37 | In [Tables tutorial](/tutorials/tables/) 38 | * Fixing a table header issue in [Tables with Multi-Level Headers](/tutorials/tables/multi-level/#table-with-multiple-column-headers-in-each-column) 39 | * [GitHub PR #726](https://github.com/w3c/wai-tutorials/pull/726) 40 | 41 | In [Images tutorial](/tutorials/images/) 42 | * Updating link text in [An alt Decision Tree](/tutorials/images/decision-tree/) 43 | * [GitHub PR #774](https://github.com/w3c/wai-tutorials/pull/774) 44 | 45 | Added notes about responsive design/smaller screen considerations to: 46 | * [Page Structure > Page Regions](/tutorials/page-structure/regions/) 47 | * [Menus > Structure](/tutorials/menus/structure/) 48 | * [Forms > Labeling Controls](/tutorials/forms/labels/) 49 | * [Carousels > Styling](/tutorials/carousels/styling/) 50 | 51 | ## February 2023 52 | 53 | * In Tables main page, corrected WCAG links under [Related WCAG resources](https://www.w3.org/WAI/tutorials/tables/#related) 54 | 55 | ## 2022 56 | We published several bug fixes and typo fixes throughout 2022 57 | 58 | ## August 2018 59 | 60 | Fixing some issues: 61 | 62 | * Minor Editorial fixes: [#554](https://github.com/w3c/wai-tutorials/pull/554), [#555](https://github.com/w3c/wai-tutorials/pull/555) 63 | * [Clarify table headers/id example (#533)](https://github.com/w3c/wai-tutorials/pull/533) 64 | * [Changes to Flyout Menus Approach 2 (#534)](https://github.com/w3c/wai-tutorials/pull/534) 65 | * [Image Maps: Fix full code example (#536)](https://github.com/w3c/wai-tutorials/pull/536) 66 | * [Fix issue with flyout menu approach one (#562)](https://github.com/w3c/wai-tutorials/pull/562) 67 | * [Fix issues with application menu (#563)](https://github.com/w3c/wai-tutorials/pull/563) 68 | 69 | ## May 2017 70 | 71 | ### Overall changes: 72 | 73 | * Introducing cross-links to other documents 74 | * Making demos easier to discover 75 | * Using a new, easier to read font 76 | 77 | ### New Publications: Page Structure, Menus Tutorial, and Carousels Tutorial 78 | 79 | * Substantive clarification and simplification of the language from the previously published draft 80 | * Page Structure: 81 | * Vastly expanded page structure tutorial 82 | * Rename “Page Sections” to “Page Regions” to clarify terminology, added example images 83 | * Add a “Labeling Regions” page 84 | * Clarify the headings page, including a better description of ranks and example images for different uses of headings. 85 | * Move “articles” and “sections” from the “Page Sections” page to the “Content Structure” page 86 | * Clarify and expand on the ordered, unordered, and description lists 87 | * Remove “Styling” and “In-page Navigation” pages to focus the tutorial 88 | * Add an example that shows all techniques used 89 | * Menus: 90 | * Clearer language and structure on the structure page 91 | * Complete overhaul of the styling page to focus on menu identification and interaction 92 | * Clarify structure of the fly-out menus page 93 | * Application menus: Move code and example to separate page, clarified ARIA information 94 | * Remove the multiple ways page to focus the tutorial 95 | * Carousels: 96 | * Moved styling considerations to one central new styling page 97 | * Updated structure of the functionality page, including new content for announcing the current carousel item and focus management 98 | * Updated structure and more focus on the animations page 99 | * Moved the working example and the full code examples to their own pages 100 | 101 | ### Minor Updates: Images, Forms, and Tables Tutorial 102 | 103 | * Several minor editorial changes 104 | * Images Tutorial: [Add new description to the decision tree (Show differences)](https://services.w3.org/htmldiff?doc1=https%3A%2F%2Frawgit.com%2Fw3c%2Fwai-tutorials%2Frendered-2015-03%2Fimages%2Fdecision-tree%2F&doc2=https%3A%2F%2Frawgit.com%2Fw3c%2Fwai-tutorials%2Fbf1f9f95e2ebeec2b3f25ca1fa336dfc6caf166f%2Fimages%2Fdecision-tree%2F) 105 | * Forms Tutorial: [Use color #767676 instead of #777 for placeholders (Show differences)](https://services.w3.org/htmldiff?doc1=https%3A%2F%2Frawgit.com%2Fw3c%2Fwai-tutorials%2Frendered-2015-03%2Fforms%2Finstructions%2F&doc2=https%3A%2F%2Frawgit.com%2Fw3c%2Fwai-tutorials%2Fbf1f9f95e2ebeec2b3f25ca1fa336dfc6caf166f%2Fforms%2Finstructions%2F) 106 | * Forms Tutorial: [Emphasize explicit labels, add aria-labelledby example to labels page (Show differences)](https://services.w3.org/htmldiff?doc1=https%3A%2F%2Frawgit.com%2Fw3c%2Fwai-tutorials%2Frendered-2015-03%2Fforms%2Flabels%2F&doc2=https%3A%2F%2Frawgit.com%2Fw3c%2Fwai-tutorials%2Fbf1f9f95e2ebeec2b3f25ca1fa336dfc6caf166f%2Fforms%2Flabels%2F) 107 | * Forms Tutorial: [Add information about focus management when an error occurs (Show differences)](https://services.w3.org/htmldiff?doc1=https%3A%2F%2Frawgit.com%2Fw3c%2Fwai-tutorials%2Frendered-2015-03%2Fforms%2Fnotifications%2F&doc2=https%3A%2F%2Frawgit.com%2Fw3c%2Fwai-tutorials%2Fbf1f9f95e2ebeec2b3f25ca1fa336dfc6caf166f%2Fforms%2Fnotifications%2F) 108 | 109 | ## March 2015 110 | 111 | * Updates 112 | * Images Tutorial 113 | * Forms Tutorial 114 | * Tables Tutorial 115 | * Draft Publication 116 | * Page Structure Tutorial 117 | * Menus Tutorial 118 | * Carousels Tutorial 119 | 120 | ## September 2014 121 | 122 | * First Publication: 123 | * Images Tutorial 124 | * Forms Tutorial 125 | * Tables Tutorial 126 | -------------------------------------------------------------------------------- /content/forms/examples/password.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Complete Password Example 3 | lang: en 4 | permalink: /tutorials/forms/examples/password/ 5 | ref: /tutorials/forms/examples/password/ 6 | 7 | github: 8 | branch: 'master-2.0' 9 | repository: w3c/wai-tutorials 10 | path: 'content/forms/examples/password.md' 11 | 12 | resource_title: Forms Tutorial 13 | 14 | resource: 15 | ref: /tutorials/forms/notifications/ 16 | --- 17 | 18 | **No data is sent using the following example input field. The password is shown in plain text for demonstration purposes.** 19 | 20 | {::nomarkdown} 21 | {% include box.html type="start" title="Example" class="example" %} 22 | {:/} 23 | 24 |
    25 | 26 | 27 | 28 | 29 |
    30 | 31 | 47 | 48 | 77 | 78 | {::nomarkdown} 79 | {% include box.html type="end" %} 80 | {:/} 81 | {::nomarkdown} 82 | {% include box.html type="start" title="Code: HTML" class="example" %} 83 | {:/} 84 | 85 | ~~~ html 86 | 87 | 88 | 89 | 90 | ~~~ 91 | 92 | {::nomarkdown} 93 | {% include box.html type="end" %} 94 | {:/} 95 | 96 | {::nomarkdown} 97 | {% include box.html type="start" title="Code: 'CSS" class="example" %} 98 | {:/} 99 | 100 | ~~~ css 101 | #passwordmeter { 102 | display:inline-block; 103 | width:125px; 104 | height: 20px; 105 | border: 1px solid #666; 106 | vertical-align:middle; 107 | } 108 | #passwordmeter span { 109 | display:inline-block; 110 | height:1em; 111 | background-color: gray; 112 | width:25px; 113 | height: 20px; 114 | } 115 | ~~~ 116 | 117 | {::nomarkdown} 118 | {% include box.html type="end" %} 119 | {:/} 120 | 121 | {::nomarkdown} 122 | {% include box.html type="start" title="Code: 'JavaScript" class="example" %} 123 | {:/} 124 | 125 | ~~~ js 126 | document.getElementById('password').addEventListener('keyup', 127 | function(){ 128 | // (1) Select the password meter and message elements. 129 | var meter = document.querySelector('#passwordmeter span'); 130 | var msg = document.getElementById('passwordmessage'); 131 | 132 | // (2) Calculate the strength of the password. 133 | var pw = get_pw_strength(this.value); 134 | 135 | // (3) Set the with of the password meter to a multiple of the score. 136 | meter.style.width = (pw.score+1) * 25 + 'px'; 137 | 138 | /* (4) Set the color of the meter to 139 | a) red if the score < 3 140 | b) yellow if the score = 3 141 | c) green if the score = 4 142 | 143 | (5) Change the text of the password message element accordingly. */ 144 | if (pw.score == 0) { 145 | meter.style.backgroundColor = 'red'; 146 | msg.innerHTML = 'Really Weak Password'; 147 | } else if (pw.score < 3) { 148 | meter.style.backgroundColor = 'red'; 149 | msg.innerHTML = 'Weak Password (cracked in ' + pw.crack_time_display + ')'; 150 | } else if (pw.score == 3) { 151 | meter.style.backgroundColor = 'yellow'; 152 | msg.innerHTML = 'Good Password (cracked in ' + pw.crack_time_display + ')'; 153 | } else { 154 | meter.style.backgroundColor = 'green'; 155 | msg.innerHTML = 'Strong Password (cracked in ' + pw.crack_time_display + ')'; 156 | } 157 | 158 | /* (6) If the input is empty, there is no text output 159 | and the color of the meter is set to gray. */ 160 | if (this.value == "") { 161 | meter.style.backgroundColor = 'gray'; 162 | msg.innerHTML = ' '; 163 | } 164 | }); 165 | ~~~ 166 | 167 | {::nomarkdown} 168 | {% include box.html type="end" %} 169 | {:/} 170 | -------------------------------------------------------------------------------- /content/forms/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Forms Tutorial" 3 | permalink: /tutorials/forms/ 4 | ref: /tutorials/forms/ 5 | lang: en 6 | 7 | description: 8 | image: /content-images/wai-tutorials/forms/social.png 9 | github: 10 | branch: 'master-2.0' 11 | repository: w3c/wai-tutorials 12 | path: 'content/forms/index.md' 13 | 14 | resource_title: Forms Tutorial 15 | 16 | resource: 17 | ref: /tutorials/ 18 | navigation: 19 | next: /tutorials/forms/labels/ 20 | 21 | wcag_success_criteria: 22 | - 1.3.1 23 | - 2.4.6 24 | - 3.3.2 25 | - 4.1.2 26 | 27 | metafooter: true 28 | first_published: "September 2014" 29 | last_updated: 2019-07-27 30 | editors: 31 | - Eric Eggert: "https://www.w3.org/People/yatil/" 32 | - Shadi Abou-Zahra: "https://www.w3.org/People/shadi/" 33 | update_editors: 34 | - Brian Elton 35 | contributing_participants: 36 | - see Acknowledgements 37 | support: Developed by the Education and Outreach Working Group (EOWG). Developed with support from the WAI-ACT project, co-funded by the European Commission IST Programme. 38 | 39 | changelog: /tutorials/changelog/ 40 | acknowledgements: /tutorials/acknowledgements/ 41 | 42 | --- 43 | 44 | Forms are commonly used to provide user interaction on websites and in web applications. For example, login, registering, commenting, and purchasing. This tutorial shows you how to create accessible forms. The same concepts apply to all forms, whether they are processed client or server-side. 45 | 46 | Aside from technical considerations, users usually prefer simple and short forms. Only ask users to enter what is required to complete the transaction or process; if irrelevant or excessive data is requested, users are more likely to abandon the form. 47 | 48 | - **[Labeling Controls](/tutorials/forms/labels/):** Use the `