Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.14.0 #683

Merged
merged 15 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions accessibility-checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: Accessibility Checker
* Plugin URI: https://a11ychecker.com
* Description: Audit and check your website for accessibility before you hit publish. In-post accessibility scanner and guidance.
* Version: 1.13.1
* Version: 1.14.0
* Author: Equalize Digital
* Author URI: https://equalizedigital.com
* License: GPL-2.0+
Expand All @@ -35,7 +35,7 @@

// Current plugin version.
if ( ! defined( 'EDAC_VERSION' ) ) {
define( 'EDAC_VERSION', '1.13.1' );
define( 'EDAC_VERSION', '1.14.0' );
}

// Current database version.
Expand Down
8 changes: 4 additions & 4 deletions admin/class-ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ public function summary() {
}
}

$html['content'] .= '<ul>';
$html['content'] .= '<ul class="edac-summary-grid">';

$html['content'] .= '<li class="edac-summary-total" aria-label="' . $summary['passed_tests'] . '% Passed Tests">';

$html['content'] .= '<div class="edac-summary-total-progress-circle ' . ( ( $summary['passed_tests'] > 50 ) ? ' over50' : '' ) . '">
Expand All @@ -123,7 +123,7 @@ public function summary() {

$html['content'] .= '</li>';

$html['content'] .= '<div class="edac-summary-stats">
$html['content'] .= '
' . edac_generate_summary_stat(
'edac-summary-errors',
$summary['errors'],
Expand All @@ -148,7 +148,7 @@ public function summary() {
/* translators: %s: Number of ignored items */
sprintf( _n( '%s Ignored Item', '%s Ignored Items', $summary['ignored'], 'accessibility-checker' ), $summary['ignored'] )
) . '
</div>

</ul>
<div class="edac-summary-readability">
<div class="edac-summary-readability-level">
Expand Down
22 changes: 22 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
Newer versions can be found in readme.txt.

= 1.10.2 =
* Updated: Tested up to WP 6.5.0

= 1.10.1 =
* Fixed: Prevent scheme-relative URLs from causing an error when scanning for animated gif of webp files
* Fixed: Potential edge case where an issue density calculation could cause a PHP warning and cause a failed scan
* Fixed: Ensure that missing form labels are reported in the scan results appropriately
* Fixed: Avoid error log when trashing posts in the block editor
* Created: Class to handle the editor meta box for scan results
* Deprecated: `edac_register_meta_boxes`, `edac_custom_meta_box_cb` functions

= 1.10.0 =
* Updated: Improved aria-hidden scanning rule
* Fixed: Prevent missing_transcript rule from flagging on certain links
* Fixed: Prevent duplicate scan and ensure cleanup runs when post is trashed from the block editor
* Fixed: Fix case where error may be thrown resulting in password protection message and logged error when creating new posts
* Updated: Use local styles for notyf in frontend highlighter
* Created: Class to insert scan result rules to the database
* Deprecated: `edac_insert_rule_data` function
* Created: Class to handle data purging and cleanup
* Deprecated: `edac_delete_post`, `edac_delete_post_meta`, `edac_delete_cpt_posts` functions

= 1.9.3 =
* Updated: capability checks for the welcome page, dashboard widget, and admin notices

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "accessibility-checker",
"version": "1.13.1",
"version": "1.14.0",
"description": "Audit and check your website for accessibility before you hit publish. In-post accessibility scanner and guidance.",
"author": "Equalize Digital",
"license": "GPL-2.0+",
Expand Down
35 changes: 11 additions & 24 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: equalizedigital, alh0319, stevejonesdev
Tags: accessibility, accessible, wcag, ada, WP accessibility
Requires at least: 6.2
Tested up to: 6.5.4
Stable tag: 1.13.1
Tested up to: 6.5.5
Stable tag: 1.14.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -171,6 +171,15 @@ No, Accessibility Checker runs completely on your server and does not require yo

== Changelog ==

= 1.14.0 =
* Added: Option to move front-end highlighter to opposite side of the window
* Fixed: Prevent image from overspilling container in issue view
* Fixed: Make empty paragraph check more accurate
* Enhancement: Improved styling for settings page
* Enhancement: Updated summary widget with better semantics
* Enhancement: Improved aria labeling for view on page links
* Enhancement: Added large batch processing capabilities for issue ignoring

= 1.13.1 =
* Enhancement: Make the new window warning detection less rigid
* Fixed: Avoid flagging possible headings when the entire text is not wrapped
Expand Down Expand Up @@ -207,27 +216,5 @@ No, Accessibility Checker runs completely on your server and does not require yo
* Improved: PHP 8.2 compatibility with the TextStatistics library
* Added: Opt-in modal for users to subscribe to the Equalize Digital newsletter with less steps

= 1.10.2 =
* Updated: Tested up to WP 6.5.0

= 1.10.1 =
* Fixed: Prevent scheme-relative URLs from causing an error when scanning for animated gif of webp files
* Fixed: Potential edge case where an issue density calculation could cause a PHP warning and cause a failed scan
* Fixed: Ensure that missing form labels are reported in the scan results appropriately
* Fixed: Avoid error log when trashing posts in the block editor
* Created: Class to handle the editor meta box for scan results
* Deprecated: `edac_register_meta_boxes`, `edac_custom_meta_box_cb` functions

= 1.10.0 =
* Updated: Improved aria-hidden scanning rule
* Fixed: Prevent missing_transcript rule from flagging on certain links
* Fixed: Prevent duplicate scan and ensure cleanup runs when post is trashed from the block editor
* Fixed: Fix case where error may be thrown resulting in password protection message and logged error when creating new posts
* Updated: Use local styles for notyf in frontend highlighter
* Created: Class to insert scan result rules to the database
* Deprecated: `edac_insert_rule_data` function
* Created: Class to handle data purging and cleanup
* Deprecated: `edac_delete_post`, `edac_delete_post_meta`, `edac_delete_cpt_posts` functions

Older versions can be found in the plugins `changelog.txt`.

45 changes: 28 additions & 17 deletions src/admin/sass/accessibility-checker-admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,31 @@
}

.edac-summary {

&-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 10px;

@include breakpoint(lg) {
grid-template-columns: 2fr 1.5fr 1.5fr;
}

> li {
margin: 0;

&:first-child {
grid-column: span 2;
grid-row: span 2;
display: flex;

@include breakpoint(lg) {
grid-column: span 1;
}
}
}
}

&-notice {
background-color: $color-gray-lightest;
box-shadow: inset 0px 0px 0px 1px $color-gray-light;
Expand All @@ -148,11 +173,8 @@
}

&-total {
width: 100%;
background-color: $color-gray-lightest;
box-shadow: inset 0px 0px 0px 1px $color-gray-light;
float: left;
margin-bottom: 20px;
padding: 15px;
text-align: center;
$progress-circle-size: 250px;
Expand All @@ -162,17 +184,8 @@
padding: 25px;
}

@include breakpoint(lg) {
padding: 50px 15px;
width: calc(50% - 15px);
}

@include breakpoint(xl) {
padding: 50px 25px;
width: calc(40% - 15px);
}

&-mobile {
width: 100%;
color: $color-dark-gray;

@include breakpoint(xs) {
Expand All @@ -196,6 +209,8 @@
}

&-progress-circle {
margin: auto;

font-size: 20px;
position: relative;
padding: 0;
Expand Down Expand Up @@ -316,10 +331,7 @@
}

&-stat {
width: 100%;
height: 125px;
float: left;
margin: 0px 12px 12px 0;
padding-top: 25px;
background-position: 10px 10px;
background-repeat: no-repeat;
Expand All @@ -328,7 +340,6 @@
@include breakpoint(xs) {
padding-top: 50px;
height: 175px;
width: calc(50% - 6px);
}

&:nth-child(2),
Expand Down
Loading