WP Accessibility - Version 1.5.0

Version Description

  • Updated toolbar fonts
  • Updated toolbar to use
  • Improved fontsize increase default CSS. Most themes will still benefit from custom styles.
  • Added option to place toolbar on right side of screen.
  • Update load method for text domain
  • WP A11y recent posts widget removed.
Download this release

Release Info

Developer joedolson
Plugin Icon 128x128 WP Accessibility
Version 1.5.0
Comparing to
See all releases

Code changes from version 1.4.6 to 1.5.0

readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === WP Accessibility ===
2
  Contributors: joedolson
3
- Donate link: http://www.joedolson.com/donate.php
4
  Tags: title, accessibility, accessible, navigation, wcag, a11y, section508, focus, alt text, labels, aria
5
  Requires at least: 3.4.2
6
- Tested up to: 4.3.1
7
- Stable tag: 1.4.5
8
  Text Domain: wp-accessibility
9
  License: GPLv2 or later
10
 
@@ -63,7 +63,14 @@ Visit the [WP Accessibility translations site](http://translate.joedolson.com/pr
63
 
64
  = Future =
65
 
66
- * Note: WP A11y recent posts widget will be removed in 1.5.0
 
 
 
 
 
 
 
67
 
68
  = 1.4.6 =
69
 
1
  === WP Accessibility ===
2
  Contributors: joedolson
3
+ Donate link: http://www.joedolson.com/donate/
4
  Tags: title, accessibility, accessible, navigation, wcag, a11y, section508, focus, alt text, labels, aria
5
  Requires at least: 3.4.2
6
+ Tested up to: 4.4.0
7
+ Stable tag: 1.4.6
8
  Text Domain: wp-accessibility
9
  License: GPLv2 or later
10
 
63
 
64
  = Future =
65
 
66
+ = 1.5.0 =
67
+
68
+ * Updated toolbar fonts
69
+ * Updated toolbar to use <button> instead of <a>
70
+ * Improved fontsize increase default CSS. Most themes will still benefit from custom styles.
71
+ * Added option to place toolbar on right side of screen.
72
+ * Update load method for text domain
73
+ * WP A11y recent posts widget removed.
74
 
75
  = 1.4.6 =
76
 
toolbar/css/a11y-fontsize.css CHANGED
@@ -1,5 +1,5 @@
1
  /* enqueue these as a separate stylesheet so they can be filtered */
2
- .fontsize, .fontsize h1, .fontsize h2, .fontsize h3, .fontsize h4, .fontsize h5, .fontsize h6, .fontsize p, .fontsize li, .fontsize label, .fontsize input, .fontsize select, .fontsize textarea, .fontsize legend, .fontsize code, .fontsize pre, .fontsize dd, .fontsize dt, .fontsize blockquote {
3
  font-size: 150% !important;
4
  line-height: 1.4;
5
  }
@@ -13,5 +13,5 @@
13
  }
14
 
15
  .fontsize .a11y-toolbar ul li {
16
- font-size: auto !important;
17
  }
1
  /* enqueue these as a separate stylesheet so they can be filtered */
2
+ .fontsize, .fontsize > h1, .fontsize > h2, .fontsize > h3, .fontsize > h4, .fontsize > h5, .fontsize > h6, .fontsize > p, .fontsize > li, .fontsize > label, .fontsize > input, .fontsize > select, .fontsize > textarea, .fontsize > legend, .fontsize > code, .fontsize > pre, .fontsize > dd, .fontsize > dt, .fontsize > blockquote {
3
  font-size: 150% !important;
4
  line-height: 1.4;
5
  }
13
  }
14
 
15
  .fontsize .a11y-toolbar ul li {
16
+ font-size: 66.666666% !important;
17
  }
toolbar/css/a11y.css CHANGED
@@ -10,8 +10,19 @@
10
  background: yellow;
11
  }
12
 
13
- @-moz-document url-prefix() {
14
- /*.a11y-toggle-grayscale { display:none !important; }*/
 
 
 
 
 
 
 
 
 
 
 
15
  }
16
 
17
  .a11y-toolbar {
@@ -35,20 +46,20 @@
35
  display: block;
36
  }
37
 
38
- .a11y-toolbar ul li a {
39
  font-size: 1.6em;
40
  padding: .25em;
41
  }
42
 
43
- .a11y-toolbar a {
44
  color: #000 !important;
45
  }
46
 
47
- .a11y-toolbar a.active {
48
  color: #fff !important;
49
  }
50
 
51
- .a11y-toolbar ul li a {
52
  display: block;
53
  background: #e2e2e2;
54
  text-align: center;
@@ -56,23 +67,24 @@
56
  border-bottom: 1px solid #d2d2d2;
57
  }
58
 
59
- .a11y-toolbar ul li a:hover {
60
  background: #fff;
61
  }
62
 
63
- .a11y-toolbar ul li a.active {
64
  background: #181818;
65
  border-bottom: 1px solid #525252;
66
  }
67
 
68
- .a11y-toolbar ul li:first-child a {
69
  border-top-right-radius: 4px;
70
  }
71
 
72
- .a11y-toolbar ul li:last-child a {
73
  border-bottom-right-radius: 4px;
74
  }
75
 
 
76
  .a11y-toolbar .offscreen, .a11y_stylesheet_path {
77
  position: absolute !important;
78
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
@@ -85,24 +97,24 @@
85
  }
86
 
87
  /* a11y toolbar RTL */
88
- .a11y-toolbar.rtl {
89
  right: 0;
90
  left: auto;
91
  }
92
 
93
- .a11y-toolbar.rtl ul {
94
  border-top-left-radius: 4px;
95
  border-bottom-left-radius: 4px;
96
  border-top-right-radius: 0;
97
  border-bottom-right-radius: 0;
98
  }
99
 
100
- .a11y-toolbar.rtl ul li:first-child a {
101
  border-top-left-radius: 4px;
102
  border-top-right-radius: 0;
103
  }
104
 
105
- .a11y-toolbar.rtl ul li:last-child a {
106
  border-bottom-left-radius: 4px;
107
  border-bottom-right-radius: 0;
108
  }
10
  background: yellow;
11
  }
12
 
13
+ /* reset styles */
14
+ .a11y-toolbar button {
15
+ border: 0;
16
+ color: inherit;
17
+ background-color: transparent;
18
+ text-decoration: none;
19
+ padding: 0;
20
+ line-height: inherit;
21
+ margin: 0;
22
+ font: inherit;
23
+ width: 100%;
24
+ height: 100%;
25
+ text-align: left;
26
  }
27
 
28
  .a11y-toolbar {
46
  display: block;
47
  }
48
 
49
+ .a11y-toolbar ul li button {
50
  font-size: 1.6em;
51
  padding: .25em;
52
  }
53
 
54
+ .a11y-toolbar button {
55
  color: #000 !important;
56
  }
57
 
58
+ .a11y-toolbar button.active {
59
  color: #fff !important;
60
  }
61
 
62
+ .a11y-toolbar ul li button {
63
  display: block;
64
  background: #e2e2e2;
65
  text-align: center;
67
  border-bottom: 1px solid #d2d2d2;
68
  }
69
 
70
+ .a11y-toolbar ul li button:hover {
71
  background: #fff;
72
  }
73
 
74
+ .a11y-toolbar ul li button.active {
75
  background: #181818;
76
  border-bottom: 1px solid #525252;
77
  }
78
 
79
+ .a11y-toolbar ul li:first-child button {
80
  border-top-right-radius: 4px;
81
  }
82
 
83
+ .a11y-toolbar ul li:last-child button {
84
  border-bottom-right-radius: 4px;
85
  }
86
 
87
+
88
  .a11y-toolbar .offscreen, .a11y_stylesheet_path {
89
  position: absolute !important;
90
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
97
  }
98
 
99
  /* a11y toolbar RTL */
100
+ .a11y-toolbar.rtl, .a11y-toolbar.right {
101
  right: 0;
102
  left: auto;
103
  }
104
 
105
+ .a11y-toolbar.rtl ul, .a11y-toolbar.right ul {
106
  border-top-left-radius: 4px;
107
  border-bottom-left-radius: 4px;
108
  border-top-right-radius: 0;
109
  border-bottom-right-radius: 0;
110
  }
111
 
112
+ .a11y-toolbar.rtl ul li:first-child button, .a11y-toolbar.right ul li:first-child button {
113
  border-top-left-radius: 4px;
114
  border-top-right-radius: 0;
115
  }
116
 
117
+ .a11y-toolbar.rtl ul li:last-child button, .a11y-toolbar.right ul li:last-child button {
118
  border-bottom-left-radius: 4px;
119
  border-bottom-right-radius: 0;
120
  }
toolbar/fonts/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- Font license info
2
-
3
-
4
- ## Font Awesome
5
-
6
- Copyright (C) 2012 by Dave Gandy
7
-
8
- Author: Dave Gandy
9
- License: SIL ()
10
- Homepage: http://fortawesome.github.com/Font-Awesome/
11
-
12
-
13
- ## Entypo
14
-
15
- Copyright (C) 2012 by Daniel Bruce
16
-
17
- Author: Daniel Bruce
18
- License: SIL (http://scripts.sil.org/OFL)
19
- Homepage: http://www.entypo.com
20
-
21
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
toolbar/fonts/README.txt DELETED
@@ -1,75 +0,0 @@
1
- This webfont is generated by http://fontello.com open source project.
2
-
3
-
4
- ================================================================================
5
- Please, note, that you should obey original font licences, used to make this
6
- webfont pack. Details available in LICENSE.txt file.
7
-
8
- - Usually, it's enough to publish content of LICENSE.txt file somewhere on your
9
- site in "About" section.
10
-
11
- - If your project is open-source, usually, it will be ok to make LICENSE.txt
12
- file publically available in your repository.
13
-
14
- - Fonts, used in Fontello, don't require to make clickable links on your site.
15
- But any kind of additional authors crediting is welcome.
16
- ================================================================================
17
-
18
-
19
- Comments on archive content
20
- ---------------------------
21
-
22
- - /font/* - fonts in different formats
23
-
24
- - /css/* - different kinds of css, for all situations. Should be ok with
25
- twitter bootstrap. Also, you can skip <i> style and assign icon classes
26
- directly to text elements, if you don't mind about IE7.
27
-
28
- - demo.html - demo file, to show your webfont content
29
-
30
- - LICENSE.txt - license info about source fonts, used to build your one.
31
-
32
- - config.json - keeps your settings. You can import it back to fontello anytime,
33
- to continue your work
34
-
35
-
36
- Why so many CSS files ?
37
- -----------------------
38
-
39
- Because we like to fit all your needs :)
40
-
41
- - basic file, <your_font_name>.css - is usually enougth, in contains @font-face
42
- and character codes definition
43
-
44
- - *-ie7.css - if you need IE7 support, but still don't wish to put char codes
45
- directly into html
46
-
47
- - *-codes.css and *-ie7-codes.css - if you like to use your own @font-face
48
- rules, but still wish to benefit of css generation. That can be very
49
- convenient for automated assets build systems. When you need to update font -
50
- no needs to manually edit files, just override old version with archive
51
- content. See fontello source codes for example.
52
-
53
- - *-embedded.css - basic css file, but with embedded WOFF font, to avoid
54
- CORS issues in Firefox and IE9+, when fonts are hosted on the separate domain.
55
- We strongly recommend to resolve this issue by `Access-Control-Allow-Origin`
56
- server headers. But if you ok with dirty hack - this file is for you. Note,
57
- that data url moved to separate @font-face to avoid problems with <IE9, when
58
- string is too long.
59
-
60
- - animate.css - use it to get ideas about spinner rotation animation.
61
-
62
-
63
- Attention for server setup
64
- --------------------------
65
-
66
- You MUST setup server to reply with proper `mime-types` for font files. In other
67
- case, some browsers will fail to show fonts.
68
-
69
- Usually, `apache` already has necessary settings, but `nginx` and other
70
- webservers should be tuned. Here is list of mime types for our file extentions:
71
-
72
- - `application/vnd.ms-fontobject` - eot
73
- - `application/x-font-woff` - woff
74
- - `application/x-font-ttf` - ttf
75
- - `image/svg+xml` - svg
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
toolbar/fonts/config.json DELETED
@@ -1,28 +0,0 @@
1
- {
2
- "name": "a11y-toolbar",
3
- "css_prefix_text": "icon-",
4
- "css_use_suffix": false,
5
- "hinting": true,
6
- "units_per_em": 1000,
7
- "ascent": 850,
8
- "glyphs": [
9
- {
10
- "uid": "f9cbf7508cd04145ade2800169959eef",
11
- "css": "fontsize",
12
- "code": 59392,
13
- "src": "fontawesome"
14
- },
15
- {
16
- "uid": "ca90da02d2c6a3183f2458e4dc416285",
17
- "css": "contrast",
18
- "code": 59393,
19
- "src": "fontawesome"
20
- },
21
- {
22
- "uid": "4efb719e797c54b3c58e5ae061d29d53",
23
- "css": "saturation",
24
- "code": 59394,
25
- "src": "entypo"
26
- }
27
- ]
28
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
toolbar/fonts/css/PNG/icon-contrast.png ADDED
Binary file
toolbar/fonts/css/PNG/icon-fontsize.png ADDED
Binary file
toolbar/fonts/css/PNG/icon-saturation.png ADDED
Binary file
toolbar/fonts/css/SVG/icon-contrast.svg ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generated by IcoMoon.io -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" viewBox="0 0 32 32">
5
+ <path fill="#444444" d="M16 0c-8.837 0-16 7.163-16 16s7.163 16 16 16 16-7.163 16-16-7.163-16-16-16zM4 16c0-6.627 5.373-12 12-12v24c-6.627 0-12-5.373-12-12z"></path>
6
+ </svg>
toolbar/fonts/css/SVG/icon-fontsize.svg ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generated by IcoMoon.io -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" viewBox="0 0 32 32">
5
+ <path fill="#444444" d="M2 16h12v4h-4v12h-4v-12h-4zM30 8h-7.867v24h-4.266v-24h-7.867v-4h20z"></path>
6
+ </svg>
toolbar/fonts/css/SVG/icon-saturation.svg ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generated by IcoMoon.io -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" viewBox="0 0 32 32">
5
+ <path fill="#444444" d="M27.020 14.786c-2.055-5.732-6.41-10.88-11.020-14.786-4.61 3.907-8.965 9.054-11.020 14.786-1.271 3.545-1.396 7.393 0.393 10.794 2.058 3.911 6.207 6.42 10.626 6.42s8.569-2.509 10.626-6.42c1.79-3.401 1.664-7.249 0.393-10.794zM23.086 23.717c-1.369 2.602-4.15 4.283-7.086 4.283-1.723 0-3.391-0.579-4.753-1.583 0.414 0.054 0.832 0.083 1.254 0.083 3.67 0 7.146-2.1 8.856-5.351 1.402-2.665 1.281-5.433 0.746-7.636 0.455 0.88 0.841 1.756 1.151 2.623 0.706 1.971 1.251 4.886-0.168 7.581z"></path>
6
+ </svg>
toolbar/fonts/css/a11y-toolbar-codes.css DELETED
@@ -1,16 +0,0 @@
1
-
2
- .icon-fontsize:before {
3
- content: '\e800';
4
- }
5
-
6
- /* '' */
7
- .icon-contrast:before {
8
- content: '\e801';
9
- }
10
-
11
- /* '' */
12
- .icon-saturation:before {
13
- content: '\e802';
14
- }
15
-
16
- /* '' */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
toolbar/fonts/css/a11y-toolbar-embedded.css DELETED
@@ -1,72 +0,0 @@
1
- @font-face {
2
- font-family: 'a11y-toolbar';
3
- src: url('../font/a11y-toolbar.eot?51174085');
4
- src: url('../font/a11y-toolbar.eot?51174085#iefix') format('embedded-opentype'),
5
- url('../font/a11y-toolbar.svg?51174085#a11y-toolbar') format('svg');
6
- font-weight: normal;
7
- font-style: normal;
8
- }
9
-
10
- @font-face {
11
- font-family: 'a11y-toolbar';
12
- src: url('data:application/octet-stream;base64,d09GRgABAAAAAAvcAA4AAAAAFDwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABRAAAAEQAAABWPhRIwWNtYXAAAAGIAAAAOgAAAUrQExm3Y3Z0IAAAAcQAAAAKAAAACgAAAABmcGdtAAAB0AAABZQAAAtwiJCQWWdhc3AAAAdkAAAACAAAAAgAAAAQZ2x5ZgAAB2wAAAGwAAABxqmJF9BoZWFkAAAJHAAAADQAAAA2AwMM4WhoZWEAAAlQAAAAIAAAACQHUANUaG10eAAACXAAAAAQAAAAEA0RAABsb2NhAAAJgAAAAAoAAAAKAWEAqG1heHAAAAmMAAAAHQAAACAAlAvDbmFtZQAACawAAAGNAAAC/bJMDfpwb3N0AAALPAAAADcAAABJmiT1tHByZXAAAAt0AAAAZQAAAHvdawOFeJxjYGR2YZzAwMrAwVTFtIeBgaEHQjM+YDBkZGJgYGJgZWbACgLSXFMYHF4wvGBiDvqfxRDFbMfQBBRmBMkBANYwC1N4nGNgYGBmgGAZBkYGEHAB8hjBfBYGDSDNBqQZGZgYGF4w/f8PUvCCAURLMELVAwEjG8OIBwBmAQawAAAAAAAAAAA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ZZrABY7AEJmEgsAQlYGQjsAMlYGRQWCEbIyFZIyAgsAQmI0ZhOFktsDcssAAWICAgsAUmIC5HI0cjYSM8OC2wOCywABYgsAgjQiAgIEYjR7ABKyNhOC2wOSywABawAyWwAiVHI0cjYbAAVFguIDwjIRuwAiWwAiVHI0cjYSCwBSWwBCVHI0cjYbAGJbAFJUmwAiVhuQgACABjYyMgWGIbIVljuAQAYiCwAFBYsEBgWWawAWNgIy4jICA8ijgjIVktsDossAAWILAIQyAuRyNHI2EgYLAgYGawAmIgsABQWLBAYFlmsAFjIyAgPIo4LbA7LCMgLkawAiVGUlggPFkusSsBFCstsDwsIyAuRrACJUZQWCA8WS6xKwEUKy2wPSwjIC5GsAIlRlJYIDxZIyAuRrACJUZQWCA8WS6xKwEUKy2wPiywNSsjIC5GsAIlRlJYIDxZLrErARQrLbA/LLA2K4ogIDywBCNCijgjIC5GsAIlRlJYIDxZLrErARQrsARDLrArKy2wQCywABawBCWwBCYgLkcjRyNhsAlDKyMgPCAuIzixKwEUKy2wQSyxCAQlQrAAFrAEJbAEJSAuRyNHI2EgsAQjQrAJQysgsGBQWCCwQFFYswIgAyAbswImAxpZQkIjIEewBEOwAmIgsABQWLBAYFlmsAFjYCCwASsgiophILACQ2BkI7ADQ2FkUFiwAkNhG7ADQ2BZsAMlsAJiILAAUFiwQGBZZrABY2GwAiVGYTgjIDwjOBshICBGI0ewASsjYTghWbErARQrLbBCLLA1Ky6xKwEUKy2wQyywNishIyAgPLAEI0IjOLErARQrsARDLrArKy2wRCywABUgR7AAI0KyAAEBFRQTLrAxKi2wRSywABUgR7AAI0KyAAEBFRQTLrAxKi2wRiyxAAEUE7AyKi2wRyywNCotsEgssAAWRSMgLiBGiiNhOLErARQrLbBJLLAII0KwSCstsEossgAAQSstsEsssgABQSstsEwssgEAQSstsE0ssgEBQSstsE4ssgAAQistsE8ssgABQistsFAssgEAQistsFEssgEBQistsFIssgAAPistsFMssgABPistsFQssgEAPistsFUssgEBPistsFYssgAAQCstsFcssgABQCstsFgssgEAQCstsFkssgEBQCstsFossgAAQystsFsssgABQystsFwssgEAQystsF0ssgEBQystsF4ssgAAPystsF8ssgABPystsGAssgEAPystsGEssgEBPystsGIssDcrLrErARQrLbBjLLA3K7A7Ky2wZCywNyuwPCstsGUssAAWsDcrsD0rLbBmLLA4Ky6xKwEUKy2wZyywOCuwOystsGgssDgrsDwrLbBpLLA4K7A9Ky2waiywOSsusSsBFCstsGsssDkrsDsrLbBsLLA5K7A8Ky2wbSywOSuwPSstsG4ssDorLrErARQrLbBvLLA6K7A7Ky2wcCywOiuwPCstsHEssDorsD0rLbByLLMJBAIDRVghGyMhWUIrsAhlsAMkUHiwARUwLQBLuADIUlixAQGOWbABuQgACABjcLEABUKxAAAqsQAFQrEACCqxAAVCsQAIKrEABUK5AAAACSqxAAVCuQAAAAkqsQMARLEkAYhRWLBAiFixA2REsSYBiFFYugiAAAEEQIhjVFixAwBEWVlZWbEADCq4Af+FsASNsQIARAA=') format('truetype');
14
- }
15
-
16
- /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
17
- /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
18
- /*
19
- @media screen and (-webkit-min-device-pixel-ratio:0) {
20
- @font-face {
21
- font-family: 'a11y-toolbar';
22
- src: url('../font/a11y-toolbar.svg?51174085#a11y-toolbar') format('svg');
23
- }
24
- }
25
- */
26
-
27
- [class^="icon-"]:before, [class*=" icon-"]:before {
28
- font-family: "a11y-toolbar";
29
- font-style: normal;
30
- font-weight: normal;
31
- speak: none;
32
-
33
- display: inline-block;
34
- text-decoration: inherit;
35
- width: 1em;
36
- margin-right: .2em;
37
- text-align: center;
38
- /* opacity: .8; */
39
-
40
- /* For safety - reset parent styles, that can break glyph codes*/
41
- font-variant: normal;
42
- text-transform: none;
43
-
44
- /* fix buttons height, for twitter bootstrap */
45
- line-height: 1em;
46
-
47
- /* Animation center compensation - margins should be symmetric */
48
- /* remove if not needed */
49
- margin-left: .2em;
50
-
51
- /* you can be more comfortable with increased icons size */
52
- /* font-size: 120%; */
53
-
54
- /* Uncomment for 3D effect */
55
- /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
56
- }
57
-
58
- .icon-fontsize:before {
59
- content: '\e800';
60
- }
61
-
62
- /* '' */
63
- .icon-contrast:before {
64
- content: '\e801';
65
- }
66
-
67
- /* '' */
68
- .icon-saturation:before {
69
- content: '\e802';
70
- }
71
-
72
- /* '' */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
toolbar/fonts/css/a11y-toolbar-ie7-codes.css DELETED
@@ -1,12 +0,0 @@
1
-
2
- .icon-fontsize {
3
- *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe800;&nbsp;');
4
- }
5
-
6
- .icon-contrast {
7
- *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe801;&nbsp;');
8
- }
9
-
10
- .icon-saturation {
11
- *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe802;&nbsp;');
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
toolbar/fonts/css/a11y-toolbar-ie7.css DELETED
@@ -1,23 +0,0 @@
1
- [class^="icon-"], [class*=" icon-"] {
2
- font-family: 'a11y-toolbar';
3
- font-style: normal;
4
- font-weight: normal;
5
-
6
- /* fix buttons height */
7
- line-height: 1em;
8
-
9
- /* you can be more comfortable with increased icons size */
10
- /* font-size: 120%; */
11
- }
12
-
13
- .icon-fontsize {
14
- *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe800;&nbsp;');
15
- }
16
-
17
- .icon-contrast {
18
- *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe801;&nbsp;');
19
- }
20
-
21
- .icon-saturation {
22
- *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe802;&nbsp;');
23
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
toolbar/fonts/css/a11y-toolbar.css CHANGED
@@ -1,47 +1,36 @@
1
  @font-face {
2
- font-family: 'a11y-toolbar';
3
- src: url('../font/a11y-toolbar.eot?87287305');
4
- src: url('../font/a11y-toolbar.eot?87287305#iefix') format('embedded-opentype'),
5
- url('../font/a11y-toolbar.woff?87287305') format('woff'),
6
- url('../font/a11y-toolbar.ttf?87287305') format('truetype'),
7
- url('../font/a11y-toolbar.svg?87287305#a11y-toolbar') format('svg');
8
- font-weight: normal;
9
- font-style: normal;
10
  }
11
 
12
- /* Chrome hack: SVG is rendered more smoothly in Windozze. 100% magic, uncomment if you need it. */
13
- /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
14
- /*
15
- @media screen and (-webkit-min-device-pixel-ratio:0) {
16
- @font-face {
17
- font-family: 'a11y-toolbar';
18
- src: url('../font/a11y-toolbar.svg?87287305#a11y-toolbar') format('svg');
19
- }
20
- }
21
- */
22
-
23
  [class^="aticon-"]:before, [class*=" aticon-"]:before {
24
- font-family: "a11y-toolbar" !important;
25
- font-style: normal;
26
- font-weight: normal;
27
- speak: none;
28
- display: inline-block;
29
- text-decoration: inherit;
30
- text-align: center;
31
- font-variant: normal;
32
- text-transform: none;
33
- line-height: 1em;
34
- text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
35
  }
36
 
37
  .aticon-font:before {
38
- content: '\e800';
39
  }
40
 
41
  .aticon-adjust:before {
42
- content: '\e801';
43
  }
44
 
45
  .aticon-tint:before {
46
- content: '\e802';
47
  }
1
  @font-face {
2
+ font-family: 'a11y';
3
+ src:url('a11y.eot');
4
+ src:url('a11y.eot?#iefix') format('embedded-opentype'),
5
+ url('a11y.ttf') format('truetype'),
6
+ url('a11y.woff') format('woff'),
7
+ url('a11y.svg#a11y') format('svg');
8
+ font-weight: normal;
9
+ font-style: normal;
10
  }
11
 
 
 
 
 
 
 
 
 
 
 
 
12
  [class^="aticon-"]:before, [class*=" aticon-"]:before {
13
+ font-family: 'a11y' !important;
14
+ speak: none;
15
+ font-style: normal;
16
+ font-weight: normal;
17
+ font-variant: normal;
18
+ text-transform: none;
19
+ line-height: 1;
20
+
21
+ /* Better Font Rendering =========== */
22
+ -webkit-font-smoothing: antialiased;
23
+ -moz-osx-font-smoothing: grayscale;
24
  }
25
 
26
  .aticon-font:before {
27
+ content: '\e602';
28
  }
29
 
30
  .aticon-adjust:before {
31
+ content: '\e601';
32
  }
33
 
34
  .aticon-tint:before {
35
+ content: '\e600';
36
  }
toolbar/fonts/css/a11y.eot ADDED
Binary file
toolbar/fonts/css/a11y.svg ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="a11y" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
+ <glyph unicode="&#xe600;" glyph-name="icon-saturation" d="M864.626 486.838c-65.754 183.44-205.11 348.15-352.626 473.162-147.516-125.012-286.87-289.722-352.626-473.162-40.664-113.436-44.682-236.562 12.584-345.4 65.846-125.14 198.632-205.438 340.042-205.438s274.196 80.298 340.040 205.44c57.27 108.838 53.25 231.962 12.586 345.398zM738.764 201.044c-43.802-83.252-132.812-137.044-226.764-137.044-55.12 0-108.524 18.536-152.112 50.652 13.242-1.724 26.632-2.652 40.112-2.652 117.426 0 228.668 67.214 283.402 171.242 44.878 85.292 40.978 173.848 23.882 244.338 14.558-28.15 26.906-56.198 36.848-83.932 22.606-63.062 40.024-156.34-5.368-242.604z" />
11
+ <glyph unicode="&#xe601;" glyph-name="icon-contrast" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512 512 229.23 512 512-229.23 512-512 512zM128 448c0 212.078 171.922 384 384 384v-768c-212.078 0-384 171.922-384 384z" />
12
+ <glyph unicode="&#xe602;" glyph-name="icon-fontsize" d="M64 448h384v-128h-128v-384h-128v384h-128zM960 704h-251.75v-768h-136.5v768h-251.75v128h640z" />
13
+ </font></defs></svg>
toolbar/fonts/css/a11y.ttf ADDED
Binary file
toolbar/fonts/css/a11y.woff ADDED
Binary file
toolbar/fonts/css/a11y.woff2 ADDED
Binary file
toolbar/fonts/css/animation.css DELETED
@@ -1,90 +0,0 @@
1
- /*
2
- Animation example, for spinners
3
- */
4
- .animate-spin {
5
- -moz-animation: spin 2s infinite linear;
6
- -o-animation: spin 2s infinite linear;
7
- -webkit-animation: spin 2s infinite linear;
8
- animation: spin 2s infinite linear;
9
- display: inline-block;
10
- }
11
-
12
- @-moz-keyframes spin {
13
- 0% {
14
- -moz-transform: rotate(0deg);
15
- -o-transform: rotate(0deg);
16
- -webkit-transform: rotate(0deg);
17
- transform: rotate(0deg);
18
- }
19
-
20
- 100% {
21
- -moz-transform: rotate(359deg);
22
- -o-transform: rotate(359deg);
23
- -webkit-transform: rotate(359deg);
24
- transform: rotate(359deg);
25
- }
26
- }
27
-
28
- @-webkit-keyframes spin {
29
- 0% {
30
- -moz-transform: rotate(0deg);
31
- -o-transform: rotate(0deg);
32
- -webkit-transform: rotate(0deg);
33
- transform: rotate(0deg);
34
- }
35
-
36
- 100% {
37
- -moz-transform: rotate(359deg);
38
- -o-transform: rotate(359deg);
39
- -webkit-transform: rotate(359deg);
40
- transform: rotate(359deg);
41
- }
42
- }
43
-
44
- @-o-keyframes spin {
45
- 0% {
46
- -moz-transform: rotate(0deg);
47
- -o-transform: rotate(0deg);
48
- -webkit-transform: rotate(0deg);
49
- transform: rotate(0deg);
50
- }
51
-
52
- 100% {
53
- -moz-transform: rotate(359deg);
54
- -o-transform: rotate(359deg);
55
- -webkit-transform: rotate(359deg);
56
- transform: rotate(359deg);
57
- }
58
- }
59
-
60
- @-ms-keyframes spin {
61
- 0% {
62
- -moz-transform: rotate(0deg);
63
- -o-transform: rotate(0deg);
64
- -webkit-transform: rotate(0deg);
65
- transform: rotate(0deg);
66
- }
67
-
68
- 100% {
69
- -moz-transform: rotate(359deg);
70
- -o-transform: rotate(359deg);
71
- -webkit-transform: rotate(359deg);
72
- transform: rotate(359deg);
73
- }
74
- }
75
-
76
- @keyframes spin {
77
- 0% {
78
- -moz-transform: rotate(0deg);
79
- -o-transform: rotate(0deg);
80
- -webkit-transform: rotate(0deg);
81
- transform: rotate(0deg);
82
- }
83
-
84
- 100% {
85
- -moz-transform: rotate(359deg);
86
- -o-transform: rotate(359deg);
87
- -webkit-transform: rotate(359deg);
88
- transform: rotate(359deg);
89
- }
90
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
toolbar/fonts/css/selection.json ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "IcoMoonType": "selection",
3
+ "icons": [
4
+ {
5
+ "icon": {
6
+ "paths": [
7
+ "M864.626 473.162c-65.754-183.44-205.11-348.15-352.626-473.162-147.516 125.012-286.87 289.722-352.626 473.162-40.664 113.436-44.682 236.562 12.584 345.4 65.846 125.14 198.632 205.438 340.042 205.438s274.196-80.298 340.040-205.44c57.27-108.838 53.25-231.962 12.586-345.398zM738.764 758.956c-43.802 83.252-132.812 137.044-226.764 137.044-55.12 0-108.524-18.536-152.112-50.652 13.242 1.724 26.632 2.652 40.112 2.652 117.426 0 228.668-67.214 283.402-171.242 44.878-85.292 40.978-173.848 23.882-244.338 14.558 28.15 26.906 56.198 36.848 83.932 22.606 63.062 40.024 156.34-5.368 242.604z"
8
+ ],
9
+ "attrs": [],
10
+ "tags": [
11
+ "droplet",
12
+ "color",
13
+ "water"
14
+ ],
15
+ "grid": 16
16
+ },
17
+ "attrs": [],
18
+ "properties": {
19
+ "id": 87,
20
+ "order": 3,
21
+ "prevSize": 32,
22
+ "ligatures": "droplet, color2",
23
+ "name": "icon-saturation",
24
+ "code": 58880
25
+ },
26
+ "setIdx": 0,
27
+ "setId": 0,
28
+ "iconIdx": 11
29
+ },
30
+ {
31
+ "icon": {
32
+ "paths": [
33
+ "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512 512-229.23 512-512-229.23-512-512-512zM128 512c0-212.078 171.922-384 384-384v768c-212.078 0-384-171.922-384-384z"
34
+ ],
35
+ "attrs": [],
36
+ "tags": [
37
+ "contrast"
38
+ ],
39
+ "grid": 16
40
+ },
41
+ "attrs": [],
42
+ "properties": {
43
+ "id": 854,
44
+ "order": 2,
45
+ "prevSize": 32,
46
+ "ligatures": "contrast",
47
+ "name": "icon-contrast",
48
+ "code": 58881
49
+ },
50
+ "setIdx": 0,
51
+ "setId": 0,
52
+ "iconIdx": 213
53
+ },
54
+ {
55
+ "icon": {
56
+ "paths": [
57
+ "M64 512h384v128h-128v384h-128v-384h-128zM960 256h-251.75v768h-136.5v-768h-251.75v-128h640z"
58
+ ],
59
+ "attrs": [],
60
+ "tags": [
61
+ "font-size",
62
+ "wysiwyg"
63
+ ],
64
+ "grid": 16
65
+ },
66
+ "attrs": [],
67
+ "properties": {
68
+ "id": 1226,
69
+ "order": 1,
70
+ "prevSize": 32,
71
+ "ligatures": "font-size, wysiwyg3",
72
+ "name": "icon-fontsize",
73
+ "code": 58882
74
+ },
75
+ "setIdx": 0,
76
+ "setId": 0,
77
+ "iconIdx": 353
78
+ }
79
+ ],
80
+ "height": 1024,
81
+ "metadata": {
82
+ "name": "a11y"
83
+ },
84
+ "preferences": {
85
+ "showGlyphs": true,
86
+ "showQuickUse": true,
87
+ "showQuickUse2": true,
88
+ "showSVGs": true,
89
+ "fontPref": {
90
+ "prefix": "icon-",
91
+ "metadata": {
92
+ "fontFamily": "a11y",
93
+ "majorVersion": 1,
94
+ "minorVersion": 0
95
+ },
96
+ "metrics": {
97
+ "emSize": 1024,
98
+ "baseline": 6.25,
99
+ "whitespace": 50
100
+ },
101
+ "embed": false,
102
+ "showSelector": false,
103
+ "resetPoint": 58880
104
+ },
105
+ "imagePref": {
106
+ "prefix": "icon-",
107
+ "png": true,
108
+ "useClassSelector": true,
109
+ "color": 4473924,
110
+ "bgColor": 16777215,
111
+ "classSelector": ".icon",
112
+ "columns": 16,
113
+ "margin": 16,
114
+ "height": 32
115
+ },
116
+ "historySize": 100,
117
+ "showCodes": true
118
+ }
119
+ }
toolbar/fonts/demo.html DELETED
@@ -1,323 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head><!--[if lt IE 9]>
4
- <script language="javascript" type="text/javascript" src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
5
- <![endif]-->
6
- <meta charset="UTF-8">
7
- <style>/*
8
- * Bootstrap v2.2.1
9
- *
10
- * Copyright 2012 Twitter, Inc
11
- * Licensed under the Apache License v2.0
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Designed and built with all the love in the world @twitter by @mdo and @fat.
15
- */
16
- .clearfix {
17
- *zoom: 1;
18
- }
19
-
20
- .clearfix:before,
21
- .clearfix:after {
22
- display: table;
23
- content: "";
24
- line-height: 0;
25
- }
26
-
27
- .clearfix:after {
28
- clear: both;
29
- }
30
-
31
- html {
32
- font-size: 100%;
33
- -webkit-text-size-adjust: 100%;
34
- -ms-text-size-adjust: 100%;
35
- }
36
-
37
- a:focus {
38
- outline: thin dotted #333;
39
- outline: 5px auto -webkit-focus-ring-color;
40
- outline-offset: -2px;
41
- }
42
-
43
- a:hover,
44
- a:active {
45
- outline: 0;
46
- }
47
-
48
- button,
49
- input,
50
- select,
51
- textarea {
52
- margin: 0;
53
- font-size: 100%;
54
- vertical-align: middle;
55
- }
56
-
57
- button,
58
- input {
59
- *overflow: visible;
60
- line-height: normal;
61
- }
62
-
63
- button::-moz-focus-inner,
64
- input::-moz-focus-inner {
65
- padding: 0;
66
- border: 0;
67
- }
68
-
69
- body {
70
- margin: 0;
71
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
72
- font-size: 14px;
73
- line-height: 20px;
74
- color: #333;
75
- background-color: #fff;
76
- }
77
-
78
- a {
79
- color: #08c;
80
- text-decoration: none;
81
- }
82
-
83
- a:hover {
84
- color: #005580;
85
- text-decoration: underline;
86
- }
87
-
88
- .row {
89
- margin-left: -20px;
90
- *zoom: 1;
91
- }
92
-
93
- .row:before,
94
- .row:after {
95
- display: table;
96
- content: "";
97
- line-height: 0;
98
- }
99
-
100
- .row:after {
101
- clear: both;
102
- }
103
-
104
- [class*="span"] {
105
- float: left;
106
- min-height: 1px;
107
- margin-left: 20px;
108
- }
109
-
110
- .container,
111
- .navbar-static-top .container,
112
- .navbar-fixed-top .container,
113
- .navbar-fixed-bottom .container {
114
- width: 940px;
115
- }
116
-
117
- .span12 {
118
- width: 940px;
119
- }
120
-
121
- .span11 {
122
- width: 860px;
123
- }
124
-
125
- .span10 {
126
- width: 780px;
127
- }
128
-
129
- .span9 {
130
- width: 700px;
131
- }
132
-
133
- .span8 {
134
- width: 620px;
135
- }
136
-
137
- .span7 {
138
- width: 540px;
139
- }
140
-
141
- .span6 {
142
- width: 460px;
143
- }
144
-
145
- .span5 {
146
- width: 380px;
147
- }
148
-
149
- .span4 {
150
- width: 300px;
151
- }
152
-
153
- .span3 {
154
- width: 220px;
155
- }
156
-
157
- .span2 {
158
- width: 140px;
159
- }
160
-
161
- .span1 {
162
- width: 60px;
163
- }
164
-
165
- [class*="span"].pull-right,
166
- .row-fluid [class*="span"].pull-right {
167
- float: right;
168
- }
169
-
170
- .container {
171
- margin-right: auto;
172
- margin-left: auto;
173
- *zoom: 1;
174
- }
175
-
176
- .container:before,
177
- .container:after {
178
- display: table;
179
- content: "";
180
- line-height: 0;
181
- }
182
-
183
- .container:after {
184
- clear: both;
185
- }
186
-
187
- p {
188
- margin: 0 0 10px;
189
- }
190
-
191
- .lead {
192
- margin-bottom: 20px;
193
- font-size: 21px;
194
- font-weight: 200;
195
- line-height: 30px;
196
- }
197
-
198
- small {
199
- font-size: 85%;
200
- }
201
-
202
- h1 {
203
- margin: 10px 0;
204
- font-family: inherit;
205
- font-weight: bold;
206
- line-height: 20px;
207
- color: inherit;
208
- text-rendering: optimizelegibility;
209
- }
210
-
211
- h1 small {
212
- font-weight: normal;
213
- line-height: 1;
214
- color: #999;
215
- }
216
-
217
- h1 {
218
- line-height: 40px;
219
- }
220
-
221
- h1 {
222
- font-size: 38.5px;
223
- }
224
-
225
- h1 small {
226
- font-size: 24.5px;
227
- }
228
-
229
- body {
230
- margin-top: 90px;
231
- }
232
-
233
- .header {
234
- position: fixed;
235
- top: 0;
236
- left: 50%;
237
- margin-left: -480px;
238
- background-color: #fff;
239
- border-bottom: 1px solid #ddd;
240
- padding-top: 10px;
241
- z-index: 10;
242
- }
243
-
244
- .footer {
245
- color: #ddd;
246
- font-size: 12px;
247
- text-align: center;
248
- margin-top: 20px;
249
- }
250
-
251
- .footer a {
252
- color: #ccc;
253
- text-decoration: underline;
254
- }
255
-
256
- .the-icons {
257
- font-size: 14px;
258
- line-height: 24px;
259
- }
260
-
261
- .switch {
262
- position: absolute;
263
- right: 0;
264
- bottom: 10px;
265
- color: #666;
266
- }
267
-
268
- .switch input {
269
- margin-right: 0.3em;
270
- }
271
-
272
- .codesOn .i-name {
273
- display: none;
274
- }
275
-
276
- .codesOn .i-code {
277
- display: inline;
278
- }
279
-
280
- .i-code {
281
- display: none;
282
- }
283
- </style>
284
- <link rel="stylesheet" href="css/a11y-toolbar.css">
285
- <link rel="stylesheet" href="css/animation.css">
286
- <!--[if IE 7]>
287
- <link rel="stylesheet" href="css/a11y-toolbar-ie7.css"><![endif]-->
288
- <script>
289
- function toggleCodes(on) {
290
- var obj = document.getElementById('icons');
291
-
292
- if (on) {
293
- obj.className += ' codesOn';
294
- } else {
295
- obj.className = obj.className.replace(' codesOn', '');
296
- }
297
- }
298
-
299
- </script>
300
- </head>
301
- <body>
302
- <div class="container header">
303
- <h1>
304
- a11y-toolbar
305
- <small>font demo</small>
306
- </h1>
307
- <label class="switch">
308
- <input type="checkbox" onclick="toggleCodes(this.checked)">show codes
309
- </label>
310
- </div>
311
- <div id="icons" class="container">
312
- <div class="row">
313
- <div title="Code: 0xe800" class="the-icons span3"><i class="icon-fontsize"></i> <span class="i-name">icon-fontsize</span><span
314
- class="i-code">0xe800</span></div>
315
- <div title="Code: 0xe801" class="the-icons span3"><i class="icon-contrast"></i> <span class="i-name">icon-contrast</span><span
316
- class="i-code">0xe801</span></div>
317
- <div title="Code: 0xe802" class="the-icons span3"><i class="icon-saturation"></i> <span class="i-name">icon-saturation</span><span
318
- class="i-code">0xe802</span></div>
319
- </div>
320
- </div>
321
- <div class="container footer">Generated by <a href="http://fontello.com">fontello.com</a></div>
322
- </body>
323
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
toolbar/fonts/font/a11y-toolbar.eot DELETED
Binary file
toolbar/fonts/font/a11y-toolbar.svg DELETED
@@ -1,14 +0,0 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
- <svg xmlns="http://www.w3.org/2000/svg">
4
- <metadata>Copyright (C) 2014 by original authors @ fontello.com</metadata>
5
- <defs>
6
- <font id="a11y-toolbar" horiz-adv-x="1000" >
7
- <font-face font-family="a11y-toolbar" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
8
- <missing-glyph horiz-adv-x="1000" />
9
- <glyph glyph-name="fontsize" unicode="&#xe800;" d="m0-79l1 44q13 4 31 7t32 6 28 8 25 17 17 28l132 344 156 404h72q4-8 6-12l114-268q19-44 60-144t63-153q9-19 33-81t40-94q11-25 19-31 11-9 49-17t47-11q4-22 4-32 0-2-1-7t0-8q-35 0-106 5t-107 4q-42 0-120-4t-99-4q0 24 2 43l73 16q1 0 7 1t9 2 8 3 9 4 6 4 5 6 1 8q0 9-17 54t-40 99-24 56l-251 1q-14-33-43-109t-28-91q0-12 8-21t24-14 27-7 32-5 23-2q1-11 1-32 0-5-2-16-32 0-97 6t-97 6q-5 0-15-3t-12-2q-45-8-105-8z m310 366q18 0 76-1t89-1q11 0 32 1-48 141-102 252z" horiz-adv-x="928.6" />
10
- <glyph glyph-name="contrast" unicode="&#xe801;" d="m0 350q0 117 58 215t155 156 216 58 215-58 156-156 57-215-57-215-156-156-215-58-216 58-155 156-58 215z m125 0q0-83 41-152t110-111 153-41v608q-83 0-153-41t-110-111-41-152z" horiz-adv-x="857.1" />
11
- <glyph glyph-name="saturation" unicode="&#xe802;" d="m290 822q14-118 60-219t92-159 82-136 36-160q0-114-83-196t-197-82-197 82-83 196q0 82 36 160t82 136 92 159 60 219q2 8 11 8t9-8z m-42-392q2 4-2 14-6 6-14 6t-12-6l-40-58q-32-46-48-70t-34-75-18-101q0-24 17-41t41-17q58 0 58 68 0 94 42 246 2 6 5 17t5 17z" horiz-adv-x="560" />
12
- </font>
13
- </defs>
14
- </svg>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
toolbar/fonts/font/a11y-toolbar.ttf DELETED
Binary file
toolbar/fonts/font/a11y-toolbar.woff DELETED
Binary file
toolbar/js/a11y.js CHANGED
@@ -34,18 +34,18 @@ jQuery(document).ready(function ($) {
34
  // Saturation handler
35
  if (readCookie('a11y-desaturated')) {
36
  $('body').addClass('desaturated');
37
- $('#is_normal_color').attr('id', 'is_grayscale').attr('aria-checked', true).addClass('active');
38
  }
39
  ;
40
  $('.toggle-grayscale').on('click', function () {
41
  if ($(this).attr('id') == "is_normal_color") {
42
  $('body').addClass('desaturated');
43
- $(this).attr('id', 'is_grayscale').attr('aria-checked', true).addClass('active');
44
  createCookie('a11y-desaturated', '1');
45
  return false;
46
  } else {
47
  $('body').removeClass('desaturated');
48
- $(this).attr('id', 'is_normal_color').removeAttr('aria-checked').removeClass('active');
49
  eraseCookie('a11y-desaturated');
50
  return false;
51
  }
@@ -55,7 +55,7 @@ jQuery(document).ready(function ($) {
55
  if (readCookie('a11y-high-contrast')) {
56
  $('body').addClass('contrast');
57
  $('head').append($("<link href='" + a11y_stylesheet_path + "' id='highContrastStylesheet' rel='stylesheet' type='text/css' />"));
58
- $('#is_normal_contrast').attr('id', 'is_high_contrast').attr('aria-checked', true).addClass('active');
59
  $('.a11y-toolbar ul li a i').addClass('icon-white');
60
  }
61
  ;
@@ -64,14 +64,14 @@ jQuery(document).ready(function ($) {
64
  if ($(this).attr('id') == "is_normal_contrast") {
65
  $('head').append($("<link href='" + a11y_stylesheet_path + "' id='highContrastStylesheet' rel='stylesheet' type='text/css' />"));
66
  $('body').addClass('contrast');
67
- $(this).attr('id', 'is_high_contrast').attr('aria-checked', true).addClass('active');
68
  $(this).parent().parent().find('i').addClass('icon-white');
69
  createCookie('a11y-high-contrast', '1');
70
  return false;
71
  } else {
72
  $('#highContrastStylesheet').remove();
73
  $('body').removeClass('contrast');
74
- $(this).attr('id', 'is_normal_contrast').removeAttr('aria-checked').removeClass('active');
75
  $(this).parent().parent().find('i').removeClass('icon-white');
76
  eraseCookie('a11y-high-contrast');
77
  return false;
34
  // Saturation handler
35
  if (readCookie('a11y-desaturated')) {
36
  $('body').addClass('desaturated');
37
+ $('#is_normal_color').attr('id', 'is_grayscale').attr('aria-pressed', true).addClass('active');
38
  }
39
  ;
40
  $('.toggle-grayscale').on('click', function () {
41
  if ($(this).attr('id') == "is_normal_color") {
42
  $('body').addClass('desaturated');
43
+ $(this).attr('id', 'is_grayscale').attr('aria-pressed', true).addClass('active');
44
  createCookie('a11y-desaturated', '1');
45
  return false;
46
  } else {
47
  $('body').removeClass('desaturated');
48
+ $(this).attr('id', 'is_normal_color').removeAttr('aria-pressed').removeClass('active');
49
  eraseCookie('a11y-desaturated');
50
  return false;
51
  }
55
  if (readCookie('a11y-high-contrast')) {
56
  $('body').addClass('contrast');
57
  $('head').append($("<link href='" + a11y_stylesheet_path + "' id='highContrastStylesheet' rel='stylesheet' type='text/css' />"));
58
+ $('#is_normal_contrast').attr('id', 'is_high_contrast').attr('aria-pressed', true).addClass('active');
59
  $('.a11y-toolbar ul li a i').addClass('icon-white');
60
  }
61
  ;
64
  if ($(this).attr('id') == "is_normal_contrast") {
65
  $('head').append($("<link href='" + a11y_stylesheet_path + "' id='highContrastStylesheet' rel='stylesheet' type='text/css' />"));
66
  $('body').addClass('contrast');
67
+ $(this).attr('id', 'is_high_contrast').attr('aria-pressed', true).addClass('active');
68
  $(this).parent().parent().find('i').addClass('icon-white');
69
  createCookie('a11y-high-contrast', '1');
70
  return false;
71
  } else {
72
  $('#highContrastStylesheet').remove();
73
  $('body').removeClass('contrast');
74
+ $(this).attr('id', 'is_normal_contrast').removeAttr('aria-pressed').removeClass('active');
75
  $(this).parent().parent().find('i').removeClass('icon-white');
76
  eraseCookie('a11y-high-contrast');
77
  return false;
wp-accessibility.php CHANGED
@@ -3,16 +3,17 @@
3
  Plugin Name: WP Accessibility
4
  Plugin URI: http://www.joedolson.com/wp-accessibility/
5
  Description: Helps improve accessibility in your WordPress site, like removing title attributes.
6
- Version: 1.4.6
7
  Author: Joe Dolson
8
  Text Domain: wp-accessibility
 
9
  Author URI: http://www.joedolson.com/
10
 
11
- Copyright 2012-2015 Joe Dolson (joe@joedolson.com)
12
 
13
- This program is software; you can redistribute it and/or modify
14
  it under the terms of the GNU General Public License as published by
15
- the Software Foundation; either version 2 of the License, or
16
  (at your option) any later version.
17
 
18
  This program is distributed in the hope that it will be useful,
@@ -21,12 +22,17 @@ Author URI: http://www.joedolson.com/
21
  GNU General Public License for more details.
22
 
23
  You should have received a copy of the GNU General Public License
24
- along with this program; if not, write to the Software
25
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  */
27
 
28
  register_activation_hook( __FILE__, 'wpa_install' );
29
- load_plugin_textdomain( 'wp-accessibility', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' );
 
 
 
 
 
30
 
31
  // ADMIN MENU
32
  add_action( 'admin_menu', 'add_wpa_admin_menu' );
@@ -37,7 +43,7 @@ function add_wpa_admin_menu() {
37
 
38
  // ACTIVATION
39
  function wpa_install() {
40
- $wpa_version = '1.4.6';
41
  if ( get_option( 'wpa_installed' ) != 'true' ) {
42
  add_option( 'rta_from_nav_menu', 'on' );
43
  add_option( 'rta_from_page_lists', 'on' );
@@ -141,7 +147,7 @@ function wpa_register_scripts() {
141
  }
142
 
143
  add_action( 'wp_footer', 'wpa_jquery_asl', 100 );
144
- add_action( 'wp_enqueue_scripts', 'wpa_enqueue_scripts' );
145
  add_action( 'wp_head', 'wpa_css' );
146
  add_action( 'wp_enqueue_scripts', 'wpa_core_scripts' );
147
  add_action( 'wp_enqueue_scripts', 'wpa_stylesheet' );
@@ -150,7 +156,7 @@ function wpa_core_scripts() {
150
  wp_enqueue_script( 'jquery' );
151
  }
152
 
153
- function wpa_enqueue_scripts() {
154
  if ( get_option( 'asl_enable' ) == 'on' ) {
155
  wp_enqueue_script( 'skiplinks.webkit' );
156
  }
@@ -254,22 +260,24 @@ function wpa_toolbar_js() {
254
  $grayscale = __( 'Toggle Grayscale', 'wp-accessibility' );
255
  $fontsize = __( 'Toggle Font size', 'wp-accessibility' );
256
  $enable_grayscale = ( get_option( 'wpa_toolbar_gs' ) == 'on' ) ? true : false;
257
- $location = apply_filters( 'wpa_move_toolbar', 'body' );
 
258
  $is_rtl = ( is_rtl() ) ? ' rtl' : ' ltr';
 
259
  echo
260
  "
261
  <script type='text/javascript'>
262
  //<![CDATA[
263
  (function( $ ) { 'use strict';
264
  var insert_a11y_toolbar = '<!-- a11y toolbar -->';
265
- insert_a11y_toolbar += '<div class=\"a11y-toolbar$is_rtl\">';
266
  insert_a11y_toolbar += '<ul>';
267
- insert_a11y_toolbar += '<li><a href=\"#\" role=\"button\" class=\"a11y-toggle-contrast toggle-contrast\" id=\"is_normal_contrast\" title=\"$contrast\"><span class=\"offscreen\">$contrast</span><span class=\"aticon aticon-adjust\" aria-hidden=\"true\"></span></a></li>';";
268
  if ( get_option( 'wpa_toolbar' ) == 'on' && $enable_grayscale ) {
269
- echo "insert_a11y_toolbar += '<li><a href=\"#\" role=\"button\" class=\"a11y-toggle-grayscale toggle-grayscale\" id=\"is_normal_color\" title=\"$grayscale\"><span class=\"offscreen\">$grayscale</span><span class=\"aticon aticon-tint\" aria-hidden=\"true\"></span></a></li>';";
270
  }
271
  echo "
272
- insert_a11y_toolbar += '<li><a href=\"#\" role=\"button\" class=\"a11y-toggle-fontsize toggle-fontsize\" id=\"is_normal_fontsize\" title=\"$fontsize\"><span class=\"offscreen\">$fontsize</span><span class=\"aticon aticon-font\" aria-hidden=\"true\"></span></a></li>';
273
  insert_a11y_toolbar += '</ul>';
274
  insert_a11y_toolbar += '</div>';
275
  insert_a11y_toolbar += '<!-- // a11y toolbar -->';
@@ -620,6 +628,8 @@ function wpa_update_settings() {
620
  $wpa_toolbar_size = ( isset( $_POST['wpa_toolbar_size'] ) ) ? $_POST['wpa_toolbar_size'] : '';
621
  $wpa_widget_toolbar = ( isset( $_POST['wpa_widget_toolbar'] ) ) ? 'on' : '';
622
  $wpa_toolbar_gs = ( isset( $_POST['wpa_toolbar_gs'] ) ) ? 'on' : '';
 
 
623
  $wpa_admin_css = ( isset( $_POST['wpa_admin_css'] ) ) ? 'on' : '';
624
  $wpa_row_actions = ( isset( $_POST['wpa_row_actions'] ) ) ? 'on' : '';
625
  $wpa_diagnostics = ( isset( $_POST['wpa_diagnostics'] ) ) ? 'on' : '';
@@ -639,6 +649,8 @@ function wpa_update_settings() {
639
  update_option( 'wpa_toolbar_size', $wpa_toolbar_size );
640
  update_option( 'wpa_widget_toolbar', $wpa_widget_toolbar );
641
  update_option( 'wpa_toolbar_gs', $wpa_toolbar_gs );
 
 
642
  update_option( 'wpa_focus_color', $wpa_focus_color );
643
  update_option( 'wpa_continue', $wpa_continue );
644
  update_option( 'wpa_admin_css', $wpa_admin_css );
@@ -1007,12 +1019,35 @@ function wpa_admin_menu() {
1007
  } ?>/> <label
1008
  for="wpa_image_titles"><?php _e( 'Remove title attribute from images inserted into post content and featured images.', 'wp-accessibility' ); ?></label>
1009
  </li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1010
  <li><input type="checkbox" id="wpa_toolbar"
1011
  name="wpa_toolbar" <?php if ( get_option( 'wpa_toolbar' ) == "on" ) {
1012
  echo 'checked="checked" ';
1013
  } ?>/> <label
1014
  for="wpa_toolbar"><?php _e( 'Add Accessibility toolbar with fontsize adjustment and contrast toggle', 'wp-accessibility' ); ?></label>
1015
  </li>
 
 
 
1016
  <?php
1017
  $size = get_option( 'wpa_toolbar_size' );
1018
  ?>
@@ -1042,23 +1077,14 @@ function wpa_admin_menu() {
1042
  } ?>/> <label
1043
  for="wpa_toolbar_gs"><?php _e( 'Include grayscale toggle with Accessibility toolbar', 'wp-accessibility' ); ?></label>
1044
  </li>
1045
- <li><input type="checkbox" id="wpa_diagnostics"
1046
- name="wpa_diagnostics" <?php if ( get_option( 'wpa_diagnostics' ) == "on" ) {
1047
  echo 'checked="checked" ';
1048
  } ?>/> <label
1049
- for="wpa_diagnostics"><?php _e( 'Enable diagnostic CSS', 'wp-accessibility' ); ?></label>
1050
  </li>
1051
- <li><input type="checkbox" id="wpa_focus"
1052
- name="wpa_focus" <?php if ( get_option( 'wpa_focus' ) == "on" ) {
1053
- echo 'checked="checked" ';
1054
- } ?>/> <label
1055
- for="wpa_focus"><?php _e( 'Add outline to elements on keyboard focus', 'wp-accessibility' ); ?></label>
1056
- <label
1057
- for="wpa_focus_color"><?php _e( 'Outline color (hexadecimal, optional)', 'wp-accessibility' ); ?></label><input
1058
- type="text" id="wpa_focus_color" name="wpa_focus_color"
1059
- value="#<?php esc_attr_e( get_option( 'wpa_focus_color' ) ); ?>"/></li>
1060
  </ul>
1061
- </fieldset>
1062
  <p>
1063
  <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce( 'wpa-nonce' ); ?>"/>
1064
  <input type="hidden" name="action" value="misc"/>
@@ -1174,10 +1200,10 @@ function wpa_admin_menu() {
1174
  }
1175
  }(document, "script", "twitter-wjs");</script>
1176
  </p>
1177
- <p><?php _e( "If you've found WP Accessibility useful, then please consider <a href='http://wordpress.org/extend/plugins/wp-accessibility/'>rating it five stars</a>, <a href='http://www.joedolson.com/donate.php'>making a donation</a>, or <a href='http://translate.joedolson.com/projects/wp-accessibility'>helping with translation</a>.", 'wp-accessibility' ); ?></p>
1178
 
1179
  <div>
1180
- <p><?php _e( '<a href="http://www.joedolson.com/donate.php">Make a donation today!</a> Your donation counts - donate $5, $20, or $100 and help me keep this plug-in running!', 'wp-to-twitter' ); ?></p>
1181
 
1182
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
1183
  <div>
@@ -1314,104 +1340,10 @@ function wpa_remove_title_attributes( $output ) {
1314
  return $output;
1315
  }
1316
 
1317
- // The built-in Recent Posts widget hard-coded title attributes until 3.8.
1318
- class WP_Widget_Recent_Posts_No_Title_Attributes extends WP_Widget {
1319
-
1320
- function __construct() {
1321
- parent::__construct( false, $name = __( 'WP A11Y: Recent Posts', 'wp-accessibility' ) );
1322
- }
1323
-
1324
- function widget( $args, $instance ) {
1325
- $cache = wp_cache_get( 'widget_recent_posts', 'widget' );
1326
-
1327
- if ( ! is_array( $cache ) ) {
1328
- $cache = array();
1329
- }
1330
-
1331
- if ( isset( $cache[ $args['widget_id'] ] ) ) {
1332
- echo $cache[ $args['widget_id'] ];
1333
-
1334
- return;
1335
- }
1336
-
1337
- ob_start();
1338
- extract( $args );
1339
-
1340
- $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Recent Posts' ) : $instance['title'], $instance, $args );
1341
- if ( ! $number = (int) $instance['number'] ) {
1342
- $number = 5;
1343
- }
1344
-
1345
- $r = new WP_Query( array( 'showposts' => $number,
1346
- 'nopaging' => 0,
1347
- 'post_status' => 'publish',
1348
- 'ignore_sticky_posts' => 1
1349
- ) );
1350
- if ( $r->have_posts() ) :
1351
- ?>
1352
- <?php echo $before_widget; ?>
1353
- <?php if ( $title ) {
1354
- echo $before_title . $title . $after_title;
1355
- } ?>
1356
- <?php echo wpa_deprecated_warning( 'recent_posts' ); ?>
1357
- <ul>
1358
- <?php while ( $r->have_posts() ) : $r->the_post(); ?>
1359
- <li><a href="<?php the_permalink() ?>"><?php if ( get_the_title() ) {
1360
- the_title();
1361
- } else {
1362
- the_ID();
1363
- } ?> </a></li>
1364
- <?php endwhile; ?>
1365
- </ul>
1366
- <?php echo $after_widget; ?>
1367
- <?php
1368
- wp_reset_query(); // Restore global post data stomped by the_post().
1369
- endif;
1370
-
1371
- $cache[ $args['widget_id'] ] = ob_get_flush();
1372
- wp_cache_add( 'widget_recent_posts', $cache, 'widget' );
1373
- }
1374
-
1375
- function update( $new_instance, $old_instance ) {
1376
- $instance = $old_instance;
1377
- $instance['title'] = strip_tags( $new_instance['title'] );
1378
- $instance['number'] = abs( (int) $new_instance['number'] );
1379
- $this->flush_widget_cache();
1380
-
1381
- $alloptions = wp_cache_get( 'alloptions', 'options' );
1382
- if ( isset( $alloptions['widget_recent_entries'] ) ) {
1383
- delete_option( 'widget_recent_entries' );
1384
- }
1385
-
1386
- return $instance;
1387
- }
1388
-
1389
- function flush_widget_cache() {
1390
- wp_cache_delete( 'widget_recent_posts', 'widget' );
1391
- }
1392
-
1393
- function form( $instance ) {
1394
- $title = ( isset( $instance['title'] ) ) ? esc_attr( $instance['title'] ) : '';
1395
- if ( ! isset( $instance['number'] ) || $number != (int) $instance['number'] ) {
1396
- $number = 5;
1397
- }
1398
- ?>
1399
- <p><label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label>
1400
- <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>"
1401
- name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php esc_attr_e( $title ); ?>"/>
1402
- </p>
1403
-
1404
- <p><label
1405
- for="<?php echo $this->get_field_id( 'number' ); ?>"><?php _e( 'Number of posts to show:' ); ?></label>
1406
- <input id="<?php echo $this->get_field_id( 'number' ); ?>"
1407
- name="<?php echo $this->get_field_name( 'number' ); ?>" type="text" value="<?php esc_attr_e( $number ); ?>"
1408
- size="3"/></p>
1409
- <?php
1410
- }
1411
- }
1412
-
1413
- add_action( 'widgets_init', create_function( '', 'return register_widget("WP_Widget_Recent_Posts_No_Title_Attributes");' ) );
1414
 
 
 
 
1415
  function wpa_deprecated_warning( $context ) {
1416
  if ( is_user_logged_in() && current_user_can( 'manage_options' ) ) {
1417
  switch ( $context ) {
@@ -1424,6 +1356,7 @@ function wpa_deprecated_warning( $context ) {
1424
 
1425
  return;
1426
  }
 
1427
 
1428
  function wpa_get_support_form() {
1429
  global $current_user, $wpa_version;
@@ -1534,7 +1467,7 @@ $plugins_string
1534
  <input type='checkbox' name='has_read_faq' id='has_read_faq' value='on' /> <label for='has_read_faq'>" . sprintf( __( 'I have read <a href="%1$s">the FAQ for this plug-in</a> <span>(required)</span>', 'wp-accessibility' ), 'http://www.joedolson.com/wp-accessibility/faqs/' ) . "</label>
1535
  </p>
1536
  <p>
1537
- <input type='checkbox' name='has_donated' id='has_donated' value='on' /> <label for='has_donated'>" . sprintf( __( 'I have <a href="%1$s">made a donation to help support this plug-in</a>', 'wp-accessibility' ), 'http://www.joedolson.com/donate.php' ) . "</label>
1538
  </p>
1539
  <p>
1540
  <label for='support_request'>" . __( 'Support Request:', 'wp-accessibility' ) . "</label><br /><textarea name='support_request' required aria-required='true' id='support_request' cols='80' rows='10'>" . stripslashes( $request ) . "</textarea>
3
  Plugin Name: WP Accessibility
4
  Plugin URI: http://www.joedolson.com/wp-accessibility/
5
  Description: Helps improve accessibility in your WordPress site, like removing title attributes.
6
+ Version: 1.5.0
7
  Author: Joe Dolson
8
  Text Domain: wp-accessibility
9
+ Domain Path: /lang
10
  Author URI: http://www.joedolson.com/
11
 
12
+ Copyright 2012-2016 Joe Dolson (joe@joedolson.com)
13
 
14
+ This program is free software; you can redistribute it and/or modify
15
  it under the terms of the GNU General Public License as published by
16
+ the Free Software Foundation; either version 2 of the License, or
17
  (at your option) any later version.
18
 
19
  This program is distributed in the hope that it will be useful,
22
  GNU General Public License for more details.
23
 
24
  You should have received a copy of the GNU General Public License
25
+ along with this program; if not, write to the Free Software
26
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
27
  */
28
 
29
  register_activation_hook( __FILE__, 'wpa_install' );
30
+
31
+ // Enable internationalisation
32
+ add_action( 'plugins_loaded', 'wpa_load_textdomain' );
33
+ function wpa_load_textdomain() {
34
+ load_plugin_textdomain( 'wp-accessibility', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' );
35
+ }
36
 
37
  // ADMIN MENU
38
  add_action( 'admin_menu', 'add_wpa_admin_menu' );
43
 
44
  // ACTIVATION
45
  function wpa_install() {
46
+ $wpa_version = '1.5.0';
47
  if ( get_option( 'wpa_installed' ) != 'true' ) {
48
  add_option( 'rta_from_nav_menu', 'on' );
49
  add_option( 'rta_from_page_lists', 'on' );
147
  }
148
 
149
  add_action( 'wp_footer', 'wpa_jquery_asl', 100 );
150
+ add_action( 'wp_enqueue_scripts', 'wpacc_enqueue_scripts' );
151
  add_action( 'wp_head', 'wpa_css' );
152
  add_action( 'wp_enqueue_scripts', 'wpa_core_scripts' );
153
  add_action( 'wp_enqueue_scripts', 'wpa_stylesheet' );
156
  wp_enqueue_script( 'jquery' );
157
  }
158
 
159
+ function wpacc_enqueue_scripts() {
160
  if ( get_option( 'asl_enable' ) == 'on' ) {
161
  wp_enqueue_script( 'skiplinks.webkit' );
162
  }
260
  $grayscale = __( 'Toggle Grayscale', 'wp-accessibility' );
261
  $fontsize = __( 'Toggle Font size', 'wp-accessibility' );
262
  $enable_grayscale = ( get_option( 'wpa_toolbar_gs' ) == 'on' ) ? true : false;
263
+ $default = ( get_option( 'wpa_toolbar_default' ) != '' ) ? get_option( 'wpa_toolbar_default' ) : 'body';
264
+ $location = apply_filters( 'wpa_move_toolbar', $default );
265
  $is_rtl = ( is_rtl() ) ? ' rtl' : ' ltr';
266
+ $is_right = ( get_option( 'wpa_toolbar_right' ) == 'on' ) ? ' right' : '';
267
  echo
268
  "
269
  <script type='text/javascript'>
270
  //<![CDATA[
271
  (function( $ ) { 'use strict';
272
  var insert_a11y_toolbar = '<!-- a11y toolbar -->';
273
+ insert_a11y_toolbar += '<div class=\"a11y-toolbar$is_rtl$is_right\">';
274
  insert_a11y_toolbar += '<ul>';
275
+ insert_a11y_toolbar += '<li><button type=\"button\" class=\"a11y-toggle-contrast toggle-contrast\" id=\"is_normal_contrast\"><span class=\"offscreen\">$contrast</span><span class=\"aticon aticon-adjust\" aria-hidden=\"true\"></span></button></li>';";
276
  if ( get_option( 'wpa_toolbar' ) == 'on' && $enable_grayscale ) {
277
+ echo "insert_a11y_toolbar += '<li><button type=\"button\" class=\"a11y-toggle-grayscale toggle-grayscale\" id=\"is_normal_color\"><span class=\"offscreen\">$grayscale</span><span class=\"aticon aticon-tint\" aria-hidden=\"true\"></span></button></li>';";
278
  }
279
  echo "
280
+ insert_a11y_toolbar += '<li><button type=\"button\" class=\"a11y-toggle-fontsize toggle-fontsize\" id=\"is_normal_fontsize\"><span class=\"offscreen\">$fontsize</span><span class=\"aticon aticon-font\" aria-hidden=\"true\"></span></button></li>';
281
  insert_a11y_toolbar += '</ul>';
282
  insert_a11y_toolbar += '</div>';
283
  insert_a11y_toolbar += '<!-- // a11y toolbar -->';
628
  $wpa_toolbar_size = ( isset( $_POST['wpa_toolbar_size'] ) ) ? $_POST['wpa_toolbar_size'] : '';
629
  $wpa_widget_toolbar = ( isset( $_POST['wpa_widget_toolbar'] ) ) ? 'on' : '';
630
  $wpa_toolbar_gs = ( isset( $_POST['wpa_toolbar_gs'] ) ) ? 'on' : '';
631
+ $wpa_toolbar_default = ( isset( $_POST['wpa_toolbar_default'] ) ) ? $_POST['wpa_toolbar_default'] : '';
632
+ $wpa_toolbar_right = ( isset( $_POST['wpa_toolbar_right'] ) ) ? 'on' : '';
633
  $wpa_admin_css = ( isset( $_POST['wpa_admin_css'] ) ) ? 'on' : '';
634
  $wpa_row_actions = ( isset( $_POST['wpa_row_actions'] ) ) ? 'on' : '';
635
  $wpa_diagnostics = ( isset( $_POST['wpa_diagnostics'] ) ) ? 'on' : '';
649
  update_option( 'wpa_toolbar_size', $wpa_toolbar_size );
650
  update_option( 'wpa_widget_toolbar', $wpa_widget_toolbar );
651
  update_option( 'wpa_toolbar_gs', $wpa_toolbar_gs );
652
+ update_option( 'wpa_toolbar_default', $wpa_toolbar_default );
653
+ update_option( 'wpa_toolbar_right', $wpa_toolbar_right );
654
  update_option( 'wpa_focus_color', $wpa_focus_color );
655
  update_option( 'wpa_continue', $wpa_continue );
656
  update_option( 'wpa_admin_css', $wpa_admin_css );
1019
  } ?>/> <label
1020
  for="wpa_image_titles"><?php _e( 'Remove title attribute from images inserted into post content and featured images.', 'wp-accessibility' ); ?></label>
1021
  </li>
1022
+ <li><input type="checkbox" id="wpa_diagnostics"
1023
+ name="wpa_diagnostics" <?php if ( get_option( 'wpa_diagnostics' ) == "on" ) {
1024
+ echo 'checked="checked" ';
1025
+ } ?>/> <label
1026
+ for="wpa_diagnostics"><?php _e( 'Enable diagnostic CSS', 'wp-accessibility' ); ?></label>
1027
+ </li>
1028
+ <li><input type="checkbox" id="wpa_focus"
1029
+ name="wpa_focus" <?php if ( get_option( 'wpa_focus' ) == "on" ) {
1030
+ echo 'checked="checked" ';
1031
+ } ?>/> <label
1032
+ for="wpa_focus"><?php _e( 'Add outline to elements on keyboard focus', 'wp-accessibility' ); ?></label>
1033
+ <label
1034
+ for="wpa_focus_color"><?php _e( 'Outline color (hexadecimal, optional)', 'wp-accessibility' ); ?></label><input
1035
+ type="text" id="wpa_focus_color" name="wpa_focus_color"
1036
+ value="#<?php esc_attr_e( get_option( 'wpa_focus_color' ) ); ?>"/></li>
1037
+ </ul>
1038
+ </fieldset>
1039
+ <fieldset>
1040
+ <legend><?php _e( 'Accessibility Toolbar Settings', 'wp-accessibility' ); ?></legend>
1041
+ <ul>
1042
  <li><input type="checkbox" id="wpa_toolbar"
1043
  name="wpa_toolbar" <?php if ( get_option( 'wpa_toolbar' ) == "on" ) {
1044
  echo 'checked="checked" ';
1045
  } ?>/> <label
1046
  for="wpa_toolbar"><?php _e( 'Add Accessibility toolbar with fontsize adjustment and contrast toggle', 'wp-accessibility' ); ?></label>
1047
  </li>
1048
+ <li>
1049
+ <label for="wpa_toolbar_default"><?php _e( 'Toolbar location (ID attribute)', 'wp-accessibility' ); ?></label> <input type="text" id="wpa_toolbar_default" name="wpa_toolbar_default" value="<?php esc_attr_e( get_option( 'wpa_toolbar_default' ) ); ?>" />
1050
+ </li>
1051
  <?php
1052
  $size = get_option( 'wpa_toolbar_size' );
1053
  ?>
1077
  } ?>/> <label
1078
  for="wpa_toolbar_gs"><?php _e( 'Include grayscale toggle with Accessibility toolbar', 'wp-accessibility' ); ?></label>
1079
  </li>
1080
+ <li><input type="checkbox" id="wpa_toolbar_right"
1081
+ name="wpa_toolbar_right" <?php if ( get_option( 'wpa_toolbar_right' ) == "on" ) {
1082
  echo 'checked="checked" ';
1083
  } ?>/> <label
1084
+ for="wpa_toolbar_right"><?php _e( 'Place toolbar on right side of screen.', 'wp-accessibility' ); ?></label>
1085
  </li>
 
 
 
 
 
 
 
 
 
1086
  </ul>
1087
+ </fieldset>
1088
  <p>
1089
  <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce( 'wpa-nonce' ); ?>"/>
1090
  <input type="hidden" name="action" value="misc"/>
1200
  }
1201
  }(document, "script", "twitter-wjs");</script>
1202
  </p>
1203
+ <p><?php _e( "If you've found WP Accessibility useful, then please consider <a href='http://wordpress.org/extend/plugins/wp-accessibility/'>rating it five stars</a>, <a href='http://www.joedolson.com/donate/'>making a donation</a>, or <a href='http://translate.joedolson.com/projects/wp-accessibility'>helping with translation</a>.", 'wp-accessibility' ); ?></p>
1204
 
1205
  <div>
1206
+ <p><?php _e( '<a href="http://www.joedolson.com/donate/">Make a donation today!</a> Your donation counts - donate $5, $20, or $100 and help me keep this plug-in running!', 'wp-to-twitter' ); ?></p>
1207
 
1208
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
1209
  <div>
1340
  return $output;
1341
  }
1342
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1343
 
1344
+ /**
1345
+ * Reuse this function next time I deprecate a feature.
1346
+
1347
  function wpa_deprecated_warning( $context ) {
1348
  if ( is_user_logged_in() && current_user_can( 'manage_options' ) ) {
1349
  switch ( $context ) {
1356
 
1357
  return;
1358
  }
1359
+ */
1360
 
1361
  function wpa_get_support_form() {
1362
  global $current_user, $wpa_version;
1467
  <input type='checkbox' name='has_read_faq' id='has_read_faq' value='on' /> <label for='has_read_faq'>" . sprintf( __( 'I have read <a href="%1$s">the FAQ for this plug-in</a> <span>(required)</span>', 'wp-accessibility' ), 'http://www.joedolson.com/wp-accessibility/faqs/' ) . "</label>
1468
  </p>
1469
  <p>
1470
+ <input type='checkbox' name='has_donated' id='has_donated' value='on' /> <label for='has_donated'>" . sprintf( __( 'I <a href="%1$s">made a donation to help support this plug-in</a>', 'wp-accessibility' ), 'http://www.joedolson.com/donate/' ) . "</label>
1471
  </p>
1472
  <p>
1473
  <label for='support_request'>" . __( 'Support Request:', 'wp-accessibility' ) . "</label><br /><textarea name='support_request' required aria-required='true' id='support_request' cols='80' rows='10'>" . stripslashes( $request ) . "</textarea>