Making Keyboard Accessible Popovers in Bootstrap

In my line of work I must make sure the web interfaces we develop are as accessible as possible for all kinds of users. While trying to figure out why we couldn’t use a focus event as a trigger for the popovers in bootstrap, I came across this issue. Judging by the terse answer from the developers, it doesn’t look like they’re going to bother fixing the problem.

For those of us who are interested in allowing the mouse impaired to take advantage of bootstrap in a cross-browser environment, the following bit of code seems to work nicely:

$('a[rel=popover]').popover()
    .focus(function () { $(this).trigger('mouseover'); })
    .blur(function () { $(this).trigger('mouseout'); });

Seems that Chrome does acknowledge focus events on non-form elements after all. Imagine that.