WP Accessibility - Version 1.2.7

Version Description

  • For 3.8, eliminate outdated title attribute filters. (nav menus, page lists, edit post links, edit comment links, category links)
  • Add Dutch translation by Rian Rietveld
Download this release

Release Info

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

Code changes from version 1.2.6 to 1.2.7

lang/wp-accessibility-nl_NL.mo ADDED
Binary file
lang/wp-accessibility-nl_NL.po ADDED
@@ -0,0 +1,374 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of WP Accessibility in Dutch
2
+ # This file is distributed under the same license as the WP Accessibility package.
3
+ msgid ""
4
+ msgstr ""
5
+ "PO-Revision-Date: 2013-12-23 17:56:54+0000\n"
6
+ "MIME-Version: 1.0\n"
7
+ "Content-Type: text/plain; charset=UTF-8\n"
8
+ "Content-Transfer-Encoding: 8bit\n"
9
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
+ "X-Generator: GlotPress/0.1\n"
11
+ "Project-Id-Version: WP Accessibility\n"
12
+
13
+ #: wp-accessibility.php:602
14
+ msgid "Add Accessibility toolbar with fontsize adjustment and contrast toggle"
15
+ msgstr "Voeg de accessibility toolbar toe met keuzes voor fontgrootte en contrast"
16
+
17
+ #: wp-accessibility.php:603
18
+ msgid "Include grayscale toggle with Accessibility toolbar"
19
+ msgstr "Voeg keuze voor grijstinten toe aan de Accessibility toolbar"
20
+
21
+ #: wp-accessibility.php:158
22
+ msgid "Toggle High Contrast"
23
+ msgstr "Keuze voor hoog contrast"
24
+
25
+ #: wp-accessibility.php:159
26
+ msgid "Toggle Grayscale"
27
+ msgstr "Keuze grijstinten"
28
+
29
+ #: wp-accessibility.php:160
30
+ msgid "Toggle Font size"
31
+ msgstr "Kies fontgrootte"
32
+
33
+ #: wp-accessibility.php:600
34
+ msgid "Enable WordPress Admin stylesheet"
35
+ msgstr "Schakel het WordPress Admin stylesheet in"
36
+
37
+ #: wp-accessibility.php:747
38
+ msgid "Accessibility Toolbar Notes"
39
+ msgstr "Accessibility Toolbar opmerkingen"
40
+
41
+ #: wp-accessibility.php:750
42
+ msgid "It is almost impossible for the Accessibility Toolbar to guarantee a good result for large text or high contrast modes. You can author your own high-contrast styles by placing a stylesheet called <code>a11y-contrast.css</code> in your Theme's stylesheet directory."
43
+ msgstr "Het is bijna onmogelijk voor de Accessibility Toolbar om een goede weergave te garanderen voor grote tekstweergave of voor een hoog contrast. Je kunt uw eigen CSS stijl toevoegen door een stylesheet met de naam <code>a11y-contrast.css</code> in je thema's stylesheet directory te plaatsen."
44
+
45
+ #: wp-accessibility.php:753
46
+ msgid "You can define custom styles for the large print view by defining them under the body class <code>.fontsize</code> in your theme stylesheet."
47
+ msgstr "U kunt uw eigen CSS stijl instellen voor grote letters door deze te definiëren in het body class <code>.fontsize</code> in het stylesheet van uw thema."
48
+
49
+ #: wp-accessibility.php:71
50
+ msgid "Accessibility Settings"
51
+ msgstr "Accessibility instellingen"
52
+
53
+ #: wp-accessibility.php:598
54
+ msgid "Force search error on empty search submission (theme must have search.php template)"
55
+ msgstr "Geef een foutmelding bij een lege zoekopdracht (uw thema moet beschikken over een search.php template)"
56
+
57
+ #: wp-accessibility.php:606
58
+ msgid "Add outline to elements on keyboard focus"
59
+ msgstr "Voeg een outline toe aan elementen met toestenbord focus"
60
+
61
+ #: wp-accessibility.php:606
62
+ msgid "Outline color (hexadecimal, optional)"
63
+ msgstr "Kleur outline (hexadecimaal, optioneel)"
64
+
65
+ #: wp-accessibility.php:618
66
+ msgid "Color Contrast Tester"
67
+ msgstr "Tester voor kleurcontrast"
68
+
69
+ #: wp-accessibility.php:635
70
+ msgid "Luminosity Contrast Ratio for <code>#%2$s</code> and <code>#%3$s</code> is <strong>%1$s</strong> (Threshold: greater than 7:1 for AAA, 4.5:1 for AA)"
71
+ msgstr "Helderheid/contrast ratio voor<code>#%2$s</code> en <code>#%3$s</code> is <strong>%1$s</strong> (drempelwaarde: groter dan 7:1 voor AAA, 4.5:1 voor AA)"
72
+
73
+ #: wp-accessibility.php:637
74
+ msgid "The colors compared <strong>pass</strong> the relative luminosity test at level AAA."
75
+ msgstr "De vergeleken kleuren <strong>voldoen</strong> aan de eisen voor de relatieve helderheidstest van niveau AAA."
76
+
77
+ #: wp-accessibility.php:640
78
+ msgid "The colors compared <strong>pass</strong> the relative luminosity test at level AA."
79
+ msgstr "De vergeleken kleuren <strong>voldoen</strong> aan de eisen voor de relatieve helderheidstest van niveau AA."
80
+
81
+ #: wp-accessibility.php:643
82
+ msgid "The colors compared pass the relative luminosity test <strong>only when used in large print</strong> situations (greater than 18pt text or 14pt bold text.)"
83
+ msgstr "De vergeleken kleuren voldoen alleen aan de eisen voor de relatieve helderheidstest <strong>voor grote letters</strong> (groter dan 18pt tekst of 14pt vette tekst.)"
84
+
85
+ #: wp-accessibility.php:646
86
+ msgid "The colors compared <strong>do not pass</strong> the relative luminosity test."
87
+ msgstr "De vergeleken kleuren <strong>voldoen niet</strong> aan de eisen voor de relatieve helderheidstest."
88
+
89
+ #: wp-accessibility.php:648
90
+ msgid "Test another set of colors"
91
+ msgstr "Test een andere set kleuren"
92
+
93
+ #: wp-accessibility.php:663
94
+ msgid "Test of relative luminosity"
95
+ msgstr "Relatieve helderheidstest"
96
+
97
+ #: wp-accessibility.php:665
98
+ msgid "Foreground color"
99
+ msgstr "Voorgrondkleur"
100
+
101
+ #: wp-accessibility.php:666
102
+ msgid "Background color"
103
+ msgstr "Achtergrondkleur"
104
+
105
+ #: wp-accessibility.php:673
106
+ msgid "Check Color Contrast"
107
+ msgstr "Controleer kleurcontrast"
108
+
109
+ #: wp-accessibility.php:697
110
+ msgid "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>."
111
+ msgstr "Vind je WP Accessibility nuttig? Overweeg dan alsjeblieft <a href='http://wordpress.org/extend/plugins/wp-accessibility/'>een 5 sterren beoordeling</a>, <a href='http://www.joedolson.com/donate.php'>een donatie</a>, of <a href='http://translate.joedolson.com/projects/wp-accessibility'>hulp bij de vertaling</a>."
112
+
113
+ #: wp-accessibility.php:231
114
+ msgid "Skip to content"
115
+ msgstr "Spring naar de inhoud"
116
+
117
+ #: wp-accessibility.php:233
118
+ msgid "Skip to navigation"
119
+ msgstr "Spring naar de navigatie"
120
+
121
+ #: wp-accessibility.php:235
122
+ msgid "Site map"
123
+ msgstr "Sitemap"
124
+
125
+ #: wp-accessibility.php:395
126
+ msgid "Remove Title Attributes Settings Updated"
127
+ msgstr "Instellingen aangepast voor het verwijderen van Title Attributes"
128
+
129
+ #: wp-accessibility.php:415
130
+ msgid "WP Accessibility does not provide any styles for visible skiplinks. You can still set the look of the links using the textareas provided, but all other layout must be assigned in your theme."
131
+ msgstr "WP Accessibility heeft geen CSS stijl voor zichtbare skiplinks (omzeilende links). U kunt altijd de stijl van de links aanpassen met de beschikbare textareas, Alle andere aanpassingen aan de layout kan in uw thema worden gemaakt."
132
+
133
+ #: wp-accessibility.php:419
134
+ msgid "Add Skiplinks Settings Updated"
135
+ msgstr "Instellingen Skiplinks toevoegen aangepast"
136
+
137
+ #: wp-accessibility.php:447
138
+ msgid "Miscellaneous Accessibility Settings Updated"
139
+ msgstr "Diverse Accessibility instellingen aangepast"
140
+
141
+ #: wp-accessibility.php:530
142
+ msgid "WP Accessibility: Settings"
143
+ msgstr "WP Accessibility: Instellingen"
144
+
145
+ #: wp-accessibility.php:535
146
+ msgid "Remove Title Attributes"
147
+ msgstr "Verwijder Title Attributes"
148
+
149
+ #: wp-accessibility.php:539
150
+ msgid "Remove title attributes from:"
151
+ msgstr "Verwijder title attributes van:"
152
+
153
+ #: wp-accessibility.php:541
154
+ msgid "Nav menus"
155
+ msgstr "Nav menu's"
156
+
157
+ #: wp-accessibility.php:542
158
+ msgid "Page lists"
159
+ msgstr "Paginalijsten"
160
+
161
+ #: wp-accessibility.php:543
162
+ msgid "Category lists"
163
+ msgstr "Categorielijsten"
164
+
165
+ #: wp-accessibility.php:544
166
+ msgid "Archive links"
167
+ msgstr "Archieflinks"
168
+
169
+ #: wp-accessibility.php:545
170
+ msgid "Tag clouds"
171
+ msgstr "Tag clouds"
172
+
173
+ #: wp-accessibility.php:546
174
+ msgid "Category links"
175
+ msgstr "Categorielinks"
176
+
177
+ #: wp-accessibility.php:547
178
+ msgid "Post edit links"
179
+ msgstr "Bewerk links berichten"
180
+
181
+ #: wp-accessibility.php:548
182
+ msgid "Edit comment links"
183
+ msgstr "Bewerk reacties link"
184
+
185
+ #: wp-accessibility.php:555
186
+ msgid "Update Title Attribute Settings"
187
+ msgstr "Pas Title Attribute instellingen aan"
188
+
189
+ #: wp-accessibility.php:561
190
+ msgid "Add Skiplinks"
191
+ msgstr "Voeg skiplinks toe"
192
+
193
+ #: wp-accessibility.php:565
194
+ msgid "Configure Skiplinks"
195
+ msgstr "Configureer Skiplinks"
196
+
197
+ #: wp-accessibility.php:567
198
+ msgid "Enable Skiplinks"
199
+ msgstr "Pas Skiplinks toe"
200
+
201
+ #: wp-accessibility.php:568
202
+ msgid "Skiplinks always visible"
203
+ msgstr "Skiplinks zijn altijd zichtbaar"
204
+
205
+ #: wp-accessibility.php:569
206
+ msgid "Skip to Content link target (ID of your main content container)"
207
+ msgstr "Sping naar inhoud linkdoel (ID van je hoofdinhoud container)"
208
+
209
+ #: wp-accessibility.php:570
210
+ msgid "Skip to Navigation link target (ID of your main navigation container)"
211
+ msgstr "Spring naar navigatie linkdoel (ID van je hoofdnavigatie container)"
212
+
213
+ #: wp-accessibility.php:571
214
+ msgid "Site Map link target (URL for your site map)"
215
+ msgstr "Sitemap linkdoel (URL van je sitemap)"
216
+
217
+ #: wp-accessibility.php:572
218
+ msgid "Add your own link (link or container ID)"
219
+ msgstr "Voeg je eigen link toe (link of container ID)"
220
+
221
+ #: wp-accessibility.php:572
222
+ msgid "Link text for your link"
223
+ msgstr "Linktekst voor je link"
224
+
225
+ #: wp-accessibility.php:573
226
+ msgid "Styles for Skiplinks when they have focus"
227
+ msgstr "CSS-stijlen voor Skiplinks als ze focus hebben "
228
+
229
+ #: wp-accessibility.php:575
230
+ msgid "(Not currently visible)"
231
+ msgstr "(Nu niet zichtbaar)"
232
+
233
+ #: wp-accessibility.php:576
234
+ msgid "Styles for Skiplinks without focus"
235
+ msgstr "CSS-stijlen voor Skiplinks zonder focus"
236
+
237
+ #: wp-accessibility.php:584
238
+ msgid "Update Skiplink Settings"
239
+ msgstr "Pas instellingen Skiplinks aan"
240
+
241
+ #: wp-accessibility.php:590
242
+ msgid "Miscellaneous Accessibility Settings"
243
+ msgstr "Diverse Accessibility instellingen"
244
+
245
+ #: wp-accessibility.php:594
246
+ msgid "Miscellaneous"
247
+ msgstr "Diverse"
248
+
249
+ #: wp-accessibility.php:596
250
+ msgid "Add Site Language and text direction to HTML element"
251
+ msgstr "Voeg taal website en tekstrichting toe aan HTML element"
252
+
253
+ #: wp-accessibility.php:597
254
+ msgid "Remove target attribute from links"
255
+ msgstr "Verwijder target attribute van links"
256
+
257
+ #: wp-accessibility.php:599
258
+ msgid "Remove tabindex from focusable elements"
259
+ msgstr "Verwijder tabindex van elementen die focus kunnen hebben"
260
+
261
+ #: wp-accessibility.php:601
262
+ msgid "Remove title attribute from images inserted into post content and featured images."
263
+ msgstr "Verwijder title attribute van afbeeldingen toegevoegd in een bericht en de uitgelichte afbeelding"
264
+
265
+ #: wp-accessibility.php:604
266
+ msgid "Add post title to \"more\" links."
267
+ msgstr "Voeg titel bericht toe aan \"lees meer\" links"
268
+
269
+ #: wp-accessibility.php:605
270
+ msgid "Continue reading text"
271
+ msgstr "Lees meer tekst"
272
+
273
+ #: wp-accessibility.php:613
274
+ msgid "Update Miscellaneous Settings"
275
+ msgstr "Pas diverse instellingen aan"
276
+
277
+ #: wp-accessibility.php:678
278
+ msgid "Get Plug-in Support"
279
+ msgstr "Krijg Plugin support"
280
+
281
+ #: wp-accessibility.php:691
282
+ msgid "Support this Plugin"
283
+ msgstr "Ondersteun deze plugin"
284
+
285
+ #: wp-accessibility.php:699
286
+ msgid "<a href=\"http://www.joedolson.com/donate.php\">Make a donation today!</a> Every donation counts - donate $2, $10, or $100 and help me keep this plug-in running!"
287
+ msgstr "<a href=\"http://www.joedolson.com/donate.php\">Geef vandaag een donatie!</a> Iedere donatie telt - geef $2, $10, of $100 en help me deze plugin verder te ontwikkelen!"
288
+
289
+ #: wp-accessibility.php:715
290
+ msgid "Accessibility References"
291
+ msgstr "Referenties Accessibility"
292
+
293
+ #: wp-accessibility.php:730
294
+ msgid "Contributing References"
295
+ msgstr "Referenties Bijdragers"
296
+
297
+ #: wp-accessibility.php:798
298
+ msgid "The most recent posts on your blog"
299
+ msgstr "Het nieuwste bericht op je blog"
300
+
301
+ #: wp-accessibility.php:799
302
+ msgid "WP A11y: Recent Posts"
303
+ msgstr "WP A11y: Recente berichten"
304
+
305
+ #: wp-accessibility.php:821
306
+ msgid "Recent Posts"
307
+ msgstr "Recente berichten"
308
+
309
+ #: wp-accessibility.php:864
310
+ msgid "Title:"
311
+ msgstr "Titel:"
312
+
313
+ #: wp-accessibility.php:867
314
+ msgid "Number of posts to show:"
315
+ msgstr "Aantal berichten om te tonen:"
316
+
317
+ #: wp-accessibility.php:961
318
+ msgid "Please read the FAQ and other Help documents before making a support request."
319
+ msgstr "Lees alstublieft de veelgestelde vragen en andere hulpdocumenten voordat u een support verzoek doet."
320
+
321
+ #: wp-accessibility.php:963
322
+ msgid "Please describe your problem. I'm not psychic."
323
+ msgstr "Beschrijf alstublieft uw probleem. Ik ben niet helderziende."
324
+
325
+ #: wp-accessibility.php:967
326
+ msgid "Thank you for supporting the continuing development of this plug-in! I'll get back to you as soon as I can."
327
+ msgstr "Bedankt voor het ondersteunen van de ontwikkeling van deze plugin. Ik snel zo snel mogelijk contact met u op."
328
+
329
+ #: wp-accessibility.php:969
330
+ msgid "I cannot provide free support, but will treat your request as a bug report, and will incorporate any permanent solutions I discover into the plug-in."
331
+ msgstr "Ik kan geen gratis ondersteuning bieden, maar zal uw verzoek behandelen als een bug report en zal elke permanente oplossing toevoegen aan de plugin."
332
+
333
+ #: wp-accessibility.php:981
334
+ msgid "<strong>Please note</strong>: I do keep records of those who have donated, but if your donation came from somebody other than your account at this web site, you must note this in your message."
335
+ msgstr "<strong>Let op</strong>: ik hou een register bij van alle donaties, maar als uw donatie van iemand anders kwam dan van uw account bij deze website, vermeld dit dan in uw bericht."
336
+
337
+ #: wp-accessibility.php:985
338
+ msgid "From:"
339
+ msgstr "Van:"
340
+
341
+ #: wp-accessibility.php:988
342
+ msgid "I have read <a href=\"%1$s\">the FAQ for this plug-in</a> <span>(required)</span>"
343
+ msgstr "Ik heb de <a href=\"%1$s\">veelgestelde vragen van deze plugin</a> gelezen <span>(verplicht)</span>"
344
+
345
+ #: wp-accessibility.php:991
346
+ msgid "I have <a href=\"%1$s\">made a donation to help support this plug-in</a>"
347
+ msgstr "Ik heb een <a href=\"%1$s\">donatie gemaakt om deze plugin te ondersteunen</a>"
348
+
349
+ #: wp-accessibility.php:994
350
+ msgid "Support Request:"
351
+ msgstr "Verzoek om support:"
352
+
353
+ #: wp-accessibility.php:997
354
+ msgid "Send Support Request"
355
+ msgstr "Verzend supportverzoek"
356
+
357
+ #: wp-accessibility.php:1000
358
+ msgid "The following additional information will be sent with your support request:"
359
+ msgstr "De volgende aanvullende informatie zal worden verzonden met uw supportverzoek:"
360
+
361
+ msgid "WP Accessibility"
362
+ msgstr "WP Accessibility"
363
+
364
+ msgid "http://www.joedolson.com/articles/wp-accessibility/"
365
+ msgstr "http://www.joedolson.com/articles/wp-accessibility/"
366
+
367
+ msgid "Provides options to improve accessibility in your WordPress site, including removing title attributes."
368
+ msgstr "Biedt mogelijkheden om de toegankelijkheid van je WordPress site te verbeteren, inclusief het verwijderen van title attributes."
369
+
370
+ msgid "Joe Dolson"
371
+ msgstr "Joe Dolson"
372
+
373
+ msgid "http://www.joedolson.com/"
374
+ msgstr "http://www.joedolson.com/"
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: joedolson
3
  Donate link: http://www.joedolson.com/donate.php
4
  Tags: title, accessibility, accessible, navigation, wcag, a11y, section508, focus
5
  Requires at least: 3.4.2
6
- Tested up to: 3.7.1
7
- Stable tag: 1.2.5
8
  License: GPLv2 or later
9
 
10
  WP Accessibility provides fixes for common accessibility issues in your WordPress site.
@@ -45,7 +45,7 @@ The plug-in is intended to help with deficiencies commonly found in themes and t
45
  Translating my plug-ins is always appreciated. Visit <a href="http://translate.joedolson.com">my translations site</a> to start getting your language into shape!
46
 
47
  Available languages (in order of completeness):
48
- French, Spanish, Italian, German, Polish, Finnish
49
 
50
  Visit the [WP Accessibility translations site](http://translate.joedolson.com/projects/wp-accessibility/) to check the progress of a translation.
51
 
@@ -57,6 +57,11 @@ Visit the [WP Accessibility translations site](http://translate.joedolson.com/pr
57
 
58
  == Changelog ==
59
 
 
 
 
 
 
60
  = 1.2.6 =
61
 
62
  * Truly hides grayscale option, not dependent on CSS.
3
  Donate link: http://www.joedolson.com/donate.php
4
  Tags: title, accessibility, accessible, navigation, wcag, a11y, section508, focus
5
  Requires at least: 3.4.2
6
+ Tested up to: 3.8.0
7
+ Stable tag: 1.2.6
8
  License: GPLv2 or later
9
 
10
  WP Accessibility provides fixes for common accessibility issues in your WordPress site.
45
  Translating my plug-ins is always appreciated. Visit <a href="http://translate.joedolson.com">my translations site</a> to start getting your language into shape!
46
 
47
  Available languages (in order of completeness):
48
+ French, Dutch, Spanish, Italian, German, Polish, Finnish
49
 
50
  Visit the [WP Accessibility translations site](http://translate.joedolson.com/projects/wp-accessibility/) to check the progress of a translation.
51
 
57
 
58
  == Changelog ==
59
 
60
+ = 1.2.7 =
61
+
62
+ * For 3.8, eliminate outdated title attribute filters. (nav menus, page lists, edit post links, edit comment links, category links)
63
+ * Add Dutch translation by Rian Rietveld
64
+
65
  = 1.2.6 =
66
 
67
  * Truly hides grayscale option, not dependent on CSS.
toolbar/js/a11y.js CHANGED
@@ -13,7 +13,7 @@ function createCookie(name, value, days) {
13
  var expires = "";
14
  document.cookie = name + "=" + value + expires + "; path=/";
15
  }
16
-
17
  function readCookie(name) {
18
  var nameEQ = name + "=";
19
  var ca = document.cookie.split(';');
13
  var expires = "";
14
  document.cookie = name + "=" + value + expires + "; path=/";
15
  }
16
+
17
  function readCookie(name) {
18
  var nameEQ = name + "=";
19
  var ca = document.cookie.split(';');
wp-accessibility.php CHANGED
@@ -3,11 +3,11 @@
3
  Plugin Name: WP Accessibility
4
  Plugin URI: http://www.joedolson.com/articles/wp-accessibility/
5
  Description: Provides options to improve accessibility in your WordPress site, including removing title attributes.
6
- Version: 1.2.6
7
  Author: Joe Dolson
8
  Author URI: http://www.joedolson.com/
9
 
10
- Copyright 2012 Joe Dolson (joe@joedolson.com)
11
 
12
  This program is free software; you can redistribute it and/or modify
13
  it under the terms of the GNU General Public License as published by
@@ -36,7 +36,7 @@ function add_wpa_admin_menu() {
36
 
37
  // ACTIVATION
38
  function wpa_install() {
39
- $wpa_version = '1.2.6';
40
  if ( get_option('wpa_installed') != 'true' ) {
41
  add_option('rta_from_nav_menu', 'on');
42
  add_option('rta_from_page_lists', 'on');
@@ -581,14 +581,14 @@ function wpa_admin_menu() { ?>
581
  <fieldset>
582
  <legend><?php _e('Remove title attributes from:','wp-accessibility'); ?></legend>
583
  <ul>
584
- <li><input type="checkbox" id="rta_from_nav_menu" name="rta_from_nav_menu" <?php if ( get_option('rta_from_nav_menu') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_nav_menu"><?php _e('Nav menus','wp-accessibility'); ?></label></li>
585
- <li><input type="checkbox" id="rta_from_page_lists" name="rta_from_page_lists" <?php if ( get_option('rta_from_page_lists') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_page_lists"><?php _e('Page lists','wp-accessibility'); ?></label></li>
586
  <li><input type="checkbox" id="rta_from_category_lists" name="rta_from_category_lists" <?php if ( get_option('rta_from_category_lists') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_category_lists"><?php _e('Category lists','wp-accessibility'); ?></label></li>
587
  <li><input type="checkbox" id="rta_from_archive_links" name="rta_from_archive_links" <?php if ( get_option('rta_from_archive_links') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_archive_links"><?php _e('Archive links','wp-accessibility'); ?></label></li>
588
  <li><input type="checkbox" id="rta_from_tag_clouds" name="rta_from_tag_clouds" <?php if ( get_option('rta_from_tag_clouds') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_tag_clouds"><?php _e('Tag clouds','wp-accessibility'); ?></label></li>
589
- <li><input type="checkbox" id="rta_from_category_links" name="rta_from_category_links" <?php if ( get_option('rta_from_category_links') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_category_links"><?php _e('Category links','wp-accessibility'); ?></label></li>
590
- <li><input type="checkbox" id="rta_from_post_edit_links" name="rta_from_post_edit_links" <?php if ( get_option('rta_from_post_edit_links') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_post_edit_links"><?php _e('Post edit links','wp-accessibility'); ?></label></li>
591
- <li><input type="checkbox" id="rta_from_edit_comment_links" name="rta_from_edit_comment_links" <?php if ( get_option('rta_from_edit_comment_links') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_edit_comment_links"><?php _e('Edit comment links','wp-accessibility'); ?></label></li>
592
  </ul>
593
  </fieldset>
594
  <p>
@@ -806,10 +806,11 @@ if ( $l_contrast ) {
806
  </div><?php
807
  }
808
 
809
- if (get_option('rta_from_nav_menu') == 'on') {
810
- add_filter('wp_nav_menu', 'wpa_remove_title_attributes' );
 
811
  }
812
- if (get_option('rta_from_page_lists') == 'on') {
813
  add_filter('wp_list_pages', 'wpa_remove_title_attributes');
814
  }
815
  if (get_option('rta_from_category_lists') == 'on') {
@@ -821,13 +822,13 @@ if (get_option('rta_from_archive_links') == 'on') {
821
  if (get_option('rta_from_tag_clouds') == 'on') {
822
  add_filter('wp_tag_cloud', 'wpa_remove_title_attributes');
823
  }
824
- if (get_option('rta_from_category_links') == 'on') {
825
  add_filter('the_category', 'wpa_remove_title_attributes');
826
  }
827
- if (get_option('rta_from_post_edit_links') == 'on') {
828
  add_filter('edit_post_link', 'wpa_remove_title_attributes');
829
  }
830
- if ( get_option('rta_from_edit_comment_links') == 'on') {
831
  add_filter('edit_comment_link', 'wpa_remove_title_attributes');
832
  }
833
 
@@ -1023,7 +1024,7 @@ $plugins_string
1023
  <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>
1024
  </p>
1025
  <p>
1026
- <label for='support_request'>".__('Support Request:','wp-accessibility')."</label><br /><textarea name='support_request' id='support_request' cols='80' rows='10'>".stripslashes($request)."</textarea>
1027
  </p>
1028
  <p>
1029
  <input type='submit' value='".__('Send Support Request','wp-accessibility')."' name='wpt_support' class='button-primary' />
3
  Plugin Name: WP Accessibility
4
  Plugin URI: http://www.joedolson.com/articles/wp-accessibility/
5
  Description: Provides options to improve accessibility in your WordPress site, including removing title attributes.
6
+ Version: 1.2.7
7
  Author: Joe Dolson
8
  Author URI: http://www.joedolson.com/
9
 
10
+ Copyright 2012-2013 Joe Dolson (joe@joedolson.com)
11
 
12
  This program is free software; you can redistribute it and/or modify
13
  it under the terms of the GNU General Public License as published by
36
 
37
  // ACTIVATION
38
  function wpa_install() {
39
+ $wpa_version = '1.2.7';
40
  if ( get_option('wpa_installed') != 'true' ) {
41
  add_option('rta_from_nav_menu', 'on');
42
  add_option('rta_from_page_lists', 'on');
581
  <fieldset>
582
  <legend><?php _e('Remove title attributes from:','wp-accessibility'); ?></legend>
583
  <ul>
584
+ <li><input <?php echo ( version_compare( get_bloginfo( 'version'), '3.8', '>=' ) ) ? 'disabled="disabled"' : '' ; ?> type="checkbox" id="rta_from_nav_menu" name="rta_from_nav_menu" <?php if ( get_option('rta_from_nav_menu') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_nav_menu"><?php _e('Nav menus','wp-accessibility'); ?> (<?php echo ( version_compare( get_bloginfo( 'version'), '3.8', '>=' ) ) ? __('Obsolete since WordPress 3.8','wp-accessibility') : '' ; ?>)</label></li>
585
+ <li><input <?php echo ( version_compare( get_bloginfo( 'version'), '3.8', '>=' ) ) ? 'disabled="disabled"' : '' ; ?> type="checkbox" id="rta_from_page_lists" name="rta_from_page_lists" <?php if ( get_option('rta_from_page_lists') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_page_lists"><?php _e('Page lists','wp-accessibility'); ?> (<?php echo ( version_compare( get_bloginfo( 'version'), '3.8', '>=' ) ) ? __('Obsolete since WordPress 3.8','wp-accessibility') : '' ; ?>)</label></li>
586
  <li><input type="checkbox" id="rta_from_category_lists" name="rta_from_category_lists" <?php if ( get_option('rta_from_category_lists') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_category_lists"><?php _e('Category lists','wp-accessibility'); ?></label></li>
587
  <li><input type="checkbox" id="rta_from_archive_links" name="rta_from_archive_links" <?php if ( get_option('rta_from_archive_links') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_archive_links"><?php _e('Archive links','wp-accessibility'); ?></label></li>
588
  <li><input type="checkbox" id="rta_from_tag_clouds" name="rta_from_tag_clouds" <?php if ( get_option('rta_from_tag_clouds') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_tag_clouds"><?php _e('Tag clouds','wp-accessibility'); ?></label></li>
589
+ <li><input <?php echo ( version_compare( get_bloginfo( 'version'), '3.8', '>=' ) ) ? 'disabled="disabled"' : '' ; ?> type="checkbox" id="rta_from_category_links" name="rta_from_category_links" <?php if ( get_option('rta_from_category_links') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_category_links"><?php _e('Category links','wp-accessibility'); ?> (<?php echo ( version_compare( get_bloginfo( 'version'), '3.8', '>=' ) ) ? __('Obsolete since WordPress 3.8','wp-accessibility') : '' ; ?>)</label></li>
590
+ <li><input <?php echo ( version_compare( get_bloginfo( 'version'), '3.8', '>=' ) ) ? 'disabled="disabled"' : '' ; ?> type="checkbox" id="rta_from_post_edit_links" name="rta_from_post_edit_links" <?php if ( get_option('rta_from_post_edit_links') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_post_edit_links"><?php _e('Post edit links','wp-accessibility'); ?> (<?php echo ( version_compare( get_bloginfo( 'version'), '3.8', '>=' ) ) ? __('Obsolete since WordPress 3.8','wp-accessibility') : '' ; ?>)</label></li>
591
+ <li><input <?php echo ( version_compare( get_bloginfo( 'version'), '3.8', '>=' ) ) ? 'disabled="disabled"' : '' ; ?> type="checkbox" id="rta_from_edit_comment_links" name="rta_from_edit_comment_links" <?php if ( get_option('rta_from_edit_comment_links') == "on") { echo 'checked="checked" '; } ?>/> <label for="rta_from_edit_comment_links"><?php _e('Edit comment links','wp-accessibility'); ?> (<?php echo ( version_compare( get_bloginfo( 'version'), '3.8', '>=' ) ) ? __('Obsolete since WordPress 3.8','wp-accessibility') : '' ; ?>)</label></li>
592
  </ul>
593
  </fieldset>
594
  <p>
806
  </div><?php
807
  }
808
 
809
+ // Obsolete with 3.8: (nav menus, page lists, edit post links, edit comment links, category links)
810
+ if ( get_option('rta_from_nav_menu') == 'on' && version_compare( get_bloginfo( 'version'), '3.8.0', '<' ) ) {
811
+ add_filter('wp_nav_menu', 'wpa_remove_title_attributes' );
812
  }
813
+ if (get_option('rta_from_page_lists') == 'on' && version_compare( get_bloginfo( 'version'), '3.8.0', '<' ) ) {
814
  add_filter('wp_list_pages', 'wpa_remove_title_attributes');
815
  }
816
  if (get_option('rta_from_category_lists') == 'on') {
822
  if (get_option('rta_from_tag_clouds') == 'on') {
823
  add_filter('wp_tag_cloud', 'wpa_remove_title_attributes');
824
  }
825
+ if (get_option('rta_from_category_links' && version_compare( get_bloginfo( 'version'), '3.8.0', '<' ) ) == 'on') {
826
  add_filter('the_category', 'wpa_remove_title_attributes');
827
  }
828
+ if (get_option('rta_from_post_edit_links' && version_compare( get_bloginfo( 'version'), '3.8.0', '<' ) ) == 'on') {
829
  add_filter('edit_post_link', 'wpa_remove_title_attributes');
830
  }
831
+ if ( get_option('rta_from_edit_comment_links' && version_compare( get_bloginfo( 'version'), '3.8.0', '<' ) ) == 'on') {
832
  add_filter('edit_comment_link', 'wpa_remove_title_attributes');
833
  }
834
 
1024
  <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>
1025
  </p>
1026
  <p>
1027
+ <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>
1028
  </p>
1029
  <p>
1030
  <input type='submit' value='".__('Send Support Request','wp-accessibility')."' name='wpt_support' class='button-primary' />