[wp-trac] [WordPress Trac] #25100: Initial focus on the Add Media panel
WordPress Trac
noreply at wordpress.org
Tue Jan 7 03:22:25 UTC 2014
#25100: Initial focus on the Add Media panel
---------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Accessibility | Version: 3.5
Severity: normal | Resolution:
Keywords: needs-patch |
---------------------------+------------------------------
Changes (by sharonaustin):
* cc: sharon.austin.2014@… (added)
Comment:
So is JQuery a realistic answer here? I'd appreciate feedback before
giving this a shot. I see a possibility for a patch based on the format
of the code below, swapping out the alert for an appropriate focus. (The
source of the example below is found here:
http://stackoverflow.com/questions/7465006/differentiate-between-mouse-
and-keyboard-triggering-onclick)
jQuery(function($) {
$("a#foo").keydown(function() {
alert("keyboard");
return false;
}).click(function() {
alert("mouse");
return false;
})
})
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25100#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list