Skip to content

Instantly share code, notes, and snippets.

Alex Homer realalexhomer

  • nyc
Block or report user

Report or block realalexhomer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View accessible iframe
// assign elements that you want to be tabbable a data-tabbable ="true" property.
// If elements are hidden, they won't be considered.
keepFocus = function($el){
var tabbableEls = $el.parent().find($('[data-tabbable="true"]'));
$.each(tabbableEls, function(idx, el){
$(el).attr({'tabindex': 0});
You can’t perform that action at this time.