mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 07:07:04 +00:00
Add :focus style to all links, use JS to blur() them on click so the style is only visible when tabbing, props lessbloat, see #21324
git-svn-id: https://develop.svn.wordpress.org/trunk@21529 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -375,6 +375,11 @@ $(document).ready( function() {
|
||||
pageInput.val('1');
|
||||
});
|
||||
}
|
||||
|
||||
// Blur accessibility link background color onclick
|
||||
$(document).on('click.wp-accessibility-blur', 'a', function() {
|
||||
$(this).blur();
|
||||
});
|
||||
});
|
||||
|
||||
// internal use
|
||||
|
||||
Reference in New Issue
Block a user