Skip to content

Commit

Permalink
Merge pull request #806 from equalizedigital/william/hotfix/1.16.1/re…
Browse files Browse the repository at this point in the history
…move-the-empty_form_label-rule-again

William/hotfix/1.16.1/remove the empty form label rule again
  • Loading branch information
pattonwebz authored Nov 4, 2024
2 parents a1e2f82 + 4b3e1c4 commit 17a556f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 23 deletions.
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.16.0
* Version: 1.16.1
* 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.16.0' );
define( 'EDAC_VERSION', '1.16.1' );
}

// Current database version.
Expand Down
17 changes: 0 additions & 17 deletions includes/rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,23 +269,6 @@
'<code>longdesc=""</code>'
),
],
[
'title' => esc_html__( 'Empty Form Label', 'accessibility-checker' ),
'info_url' => 'https://a11ychecker.com/help4109',
'slug' => 'empty_form_label',
'rule_type' => 'error',
'summary' => sprintf(
// translators: %s is <code>&lt;label&gt;</code>.
esc_html__( 'An Empty Form Label error is triggered when a %s tag is present in your form and associated with an input (form field), but does not contain any text. To fix empty form label errors, you will need to determine how the field and form were created and then add text to the label for the field that is currently blank.', 'accessibility-checker' ),
'<code>&lt;label&gt;</code>'
),
'ruleset' => 'js',
'combines' => [ 'label' ],
'fixes' => [
AddLabelToUnlabelledFormFieldsFix::get_slug(),
CommentSearchLabelFix::get_slug(),
],
],
[
'title' => esc_html__( 'Missing Form Label', 'accessibility-checker' ),
'info_url' => 'https://a11ychecker.com/help1949',
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.16.0",
"version": "1.16.1",
"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
9 changes: 6 additions & 3 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.6.7
Stable tag: 1.16.0
Tested up to: 6.7.0
Stable tag: 1.16.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

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

== Changelog ==

= 1.16.1 =
* Fix: Remove redundant empty_form_label rule definition.

= 1.16.0 =
* New: Introduced a system to handle automated fixes for issues that the scanner would discover.
* New: Fix to remove or update bad tabindex values on elements.
Expand All @@ -192,7 +195,7 @@ No, Accessibility Checker runs completely on your server and does not require yo
* Fix: Improve or add better aria-labels in several places.
* Fix: Don't flag empty paragraphs if they have aria-hidden.

= 1.15.3
= 1.15.3 =
* Enhancement: Detect missing labels on more elements.
* Enhancement: Detect slick slider that gets initialized after the page loads.

Expand Down

0 comments on commit 17a556f

Please sign in to comment.