In fact, @cvrebert is here that it negatively affects accessibility.
blur () resets focus, so keyboard users (both viewers with the keyboard and more critical users tweet) will effectively return to the very top of the page.
try http://jsbin.com/sukevefepo/1/ just using the keyboard: TAB to the button, activate it with ENTER / SPACE, then TAB to the close button, ENTER / SPACE. now, after closing the modality, TAB ... and you see that your focus is again included in the first link. for everything except the simplest pages, this is most annoying and can be very disorienting for users of on-screen firmware).
in short: Bootstrap's current behavior is correct. I understand the desire to neutralize the focused appearance of the modal trigger when the modal itself is closed ... but using blur () is not the answer (unless you care about users with the / AT keyboard, that is).
a more robust approach that I plan to explore for a future version of Bootstrap is to dynamically set the class on the body after the user first navigates using TAB / SHIFT + TAB (specifying the keyboard user) and suppression: focus styles for these situations otherwise.
source share