diff --git a/src/js/current-menu-item.js b/src/js/current-menu-item.js index 84e5df4..007fcaf 100644 --- a/src/js/current-menu-item.js +++ b/src/js/current-menu-item.js @@ -1,5 +1,5 @@ (function ($) { $(function() { - $( '.current-menu-item a, .current_page_item a' ).attr( 'aria-current', 'page' ).append( "(current)" ); + $( '.current-menu-item a, .current_page_item a' ).attr( 'aria-current', 'page' ); }); }(jQuery)); diff --git a/src/readme.txt b/src/readme.txt index d3c0266..c2d6088 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -65,6 +65,10 @@ The plug-in is intended to help with deficiencies commonly found in themes and t [Suggest a change!](https://github.com/joedolson/wp-accessibility/issues/) * Conflict with NextGen gallery to explore += 1.6.10 = + +* Based on support for screen-reader-text class and current support for aria-current, shifting to aria only. + = 1.6.9 = * Different JS for aria-current; previous version could only work on a single element, not a collection.