WP Accessibility - Version 1.5.8

Version Description

  • Bug fix: swapped options check for fontsize & contrast toggles
  • Compatibility checked with 4.7
Download this release

Release Info

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

Code changes from version 1.5.7 to 1.5.8

Files changed (2) hide show
  1. readme.txt +7 -2
  2. wp-accessibility.php +5 -4
readme.txt CHANGED
@@ -3,8 +3,8 @@ 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.6
7
- Stable tag: 1.5.6
8
Text Domain: wp-accessibility
9
License: GPLv2 or later
10
@@ -60,6 +60,11 @@ Translating my plug-ins is always appreciated. Visit <a href="https://translate.
60
61
[Suggest a change!](https://github.com/joedolson/wp-accessibility/)
62
63
= 1.5.7 =
64
65
* Remove menu role from toolbar
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.7
7
+ Stable tag: 1.5.7
8
Text Domain: wp-accessibility
9
License: GPLv2 or later
10
60
61
[Suggest a change!](https://github.com/joedolson/wp-accessibility/)
62
63
+ = 1.5.8 =
64
+
65
+ * Bug fix: swapped options check for fontsize & contrast toggles
66
+ * Compatibility checked with 4.7
67
+
68
= 1.5.7 =
69
70
* Remove menu role from toolbar
wp-accessibility.php CHANGED
@@ -3,7 +3,7 @@
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.7
7
Author: Joe Dolson
8
Text Domain: wp-accessibility
9
Domain Path: /lang
@@ -44,7 +44,7 @@ function add_wpa_admin_menu() {
44
45
// ACTIVATION
46
function wpa_install() {
47
- $wpa_version = '1.5.7';
48
if ( get_option( 'wpa_installed' ) != 'true' ) {
49
add_option( 'rta_from_nav_menu', 'on' );
50
add_option( 'rta_from_page_lists', 'on' );
@@ -120,6 +120,7 @@ function wpa_admin_stylesheet() {
120
}
121
122
function wpa_admin_js() {
123
} // just a placeholder
124
125
add_action( 'admin_head', 'wpa_admin_stylesheet' );
@@ -242,8 +243,8 @@ function wpa_toolbar_html() {
242
$grayscale = __( 'Toggle Grayscale', 'wp-accessibility' );
243
$fontsize = __( 'Toggle Font size', 'wp-accessibility' );
244
$enable_grayscale = ( get_option( 'wpa_toolbar_gs' ) == 'on' ) ? true : false;
245
- $enable_contrast = ( get_option( 'wpa_toolbar_fs' ) == 'off' ) ? false : true;
246
- $enable_fontsize = ( get_option( 'wpa_toolbar_ct' ) == 'off' ) ? false : true;
247
$responsive = ( get_option( 'wpa_toolbar_mobile' ) == 'on' ) ? 'a11y-responsive ' : '';
248
$toolbar = '
249
<!-- a11y toolbar widget -->
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.8
7
Author: Joe Dolson
8
Text Domain: wp-accessibility
9
Domain Path: /lang
44
45
// ACTIVATION
46
function wpa_install() {
47
+ $wpa_version = '1.5.8';
48
if ( get_option( 'wpa_installed' ) != 'true' ) {
49
add_option( 'rta_from_nav_menu', 'on' );
50
add_option( 'rta_from_page_lists', 'on' );
120
}
121
122
function wpa_admin_js() {
123
+ return;
124
} // just a placeholder
125
126
add_action( 'admin_head', 'wpa_admin_stylesheet' );
243
$grayscale = __( 'Toggle Grayscale', 'wp-accessibility' );
244
$fontsize = __( 'Toggle Font size', 'wp-accessibility' );
245
$enable_grayscale = ( get_option( 'wpa_toolbar_gs' ) == 'on' ) ? true : false;
246
+ $enable_contrast = ( get_option( 'wpa_toolbar_ct' ) == 'off' ) ? false : true;
247
+ $enable_fontsize = ( get_option( 'wpa_toolbar_fs' ) == 'off' ) ? false : true;
248
$responsive = ( get_option( 'wpa_toolbar_mobile' ) == 'on' ) ? 'a11y-responsive ' : '';
249
$toolbar = '
250
<!-- a11y toolbar widget -->