Changeset 3386642
- Timestamp:
- 10/29/2025 07:46:36 PM (5 months ago)
- Location:
- wcag-admin-accessibility-tools
- Files:
-
- 35 added
- 3 edited
-
tags/1.0.3 (added)
-
tags/1.0.3/inc (added)
-
tags/1.0.3/inc/admin-bar.php (added)
-
tags/1.0.3/inc/common.php (added)
-
tags/1.0.3/inc/css (added)
-
tags/1.0.3/inc/css/admin-bar.css (added)
-
tags/1.0.3/inc/css/mode-dark-bbp.css (added)
-
tags/1.0.3/inc/css/mode-dark-cs.css (added)
-
tags/1.0.3/inc/css/mode-dark-gf.css (added)
-
tags/1.0.3/inc/css/mode-dark-ld.css (added)
-
tags/1.0.3/inc/css/mode-dark.css (added)
-
tags/1.0.3/inc/css/mode-greyscale.css (added)
-
tags/1.0.3/inc/css/mode-nav-cs.css (added)
-
tags/1.0.3/inc/css/modes.css (added)
-
tags/1.0.3/inc/css/protected-password-eye.css (added)
-
tags/1.0.3/inc/css/settings.css (added)
-
tags/1.0.3/inc/css/structural.css (added)
-
tags/1.0.3/inc/forms.php (added)
-
tags/1.0.3/inc/helpers.php (added)
-
tags/1.0.3/inc/index.php (added)
-
tags/1.0.3/inc/integrations.php (added)
-
tags/1.0.3/inc/js (added)
-
tags/1.0.3/inc/js/admin-bar.js (added)
-
tags/1.0.3/inc/js/media-library.js (added)
-
tags/1.0.3/inc/js/modes.js (added)
-
tags/1.0.3/inc/js/protected-password-eye.js (added)
-
tags/1.0.3/inc/js/settings.js (added)
-
tags/1.0.3/inc/js/structural.js (added)
-
tags/1.0.3/inc/media-library.php (added)
-
tags/1.0.3/inc/modes.php (added)
-
tags/1.0.3/inc/settings.php (added)
-
tags/1.0.3/inc/structural.php (added)
-
tags/1.0.3/index.php (added)
-
tags/1.0.3/readme.txt (added)
-
tags/1.0.3/wcag-admin-accessibility-tools.php (added)
-
trunk/inc/js/admin-bar.js (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wcag-admin-accessibility-tools.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wcag-admin-accessibility-tools/trunk/inc/js/admin-bar.js
r3374548 r3386642 74 74 if ( state ) { 75 75 switch ( tool ) { 76 case 'alt-text': checkAltBubbles( ); break;76 case 'alt-text': checkAltBubbles( false, true ); break; 77 77 case 'contrast': checkColorContrast(); break; 78 78 case 'vague-link-text': checkVagueLinkTexts(); break; … … 95 95 * Image Alt Text 96 96 */ 97 function checkAltBubbles( countOnly = false ) {97 function checkAltBubbles( countOnly = false, logInConsole = false ) { 98 98 let count = 0; 99 99 … … 107 107 } 108 108 count++; 109 console.log( 'Missing alt text for image:', img[0] ); 109 110 if ( logInConsole ) { 111 console.log( 'Missing alt text for image:', img[0] ); 112 const path = img.parents().map( function() { 113 const el = $( this ); 114 let sel = el.prop( 'tagName' ).toLowerCase(); 115 if ( el.attr( 'id' ) ) sel += '#' + el.attr( 'id' ); 116 else if ( el.attr( 'class' ) ) sel += '.' + el.attr( 'class' ).split( /\s+/ )[0]; 117 return sel; 118 } ).get().reverse().join( ' > ' ); 119 console.log( 'Path:', path ); 120 } 110 121 } 111 122 } ); -
wcag-admin-accessibility-tools/trunk/readme.txt
r3374548 r3386642 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 27 Stable tag: 1.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 55 55 56 56 == Changelog == 57 = 1.0.3 = 58 * Tweak: Console log full path of images without alt text to find hidden elements 59 57 60 = 1.0.2 = 58 61 * Fixes: Prepare for deployment on WP.org repo -
wcag-admin-accessibility-tools/trunk/wcag-admin-accessibility-tools.php
r3374548 r3386642 4 4 * Plugin URI: https://pluginrx.com/plugin/wcag-admin-accessibility-tools/ 5 5 * Description: Admin-side accessibility enhancements and tools to assist with WCAG compliance. 6 * Version: 1.0. 26 * Version: 1.0.3 7 7 * Requires at least: 5.9 8 8 * Tested up to: 6.8
Note: See TracChangeset
for help on using the changeset viewer.