This is a bit crude but I've found it useful for debugging tabindex attributes
$(document).ready(function(){ $('[tabindex]').each(function () { $(this).after('<span style="background-color:red;color:white;">' + $(this).attr('tabindex') + '</span>'); }); });