Making Boostrap Menu Accessble:

Example 3: Close the menu when the user clicks a link

Before beginning, make the browser narrow enough to go to the hamburger menu.

This is the default after trapping Esc key to close the menu.

Use this jQuery script to cause the menu to close when you click a link.

<script>
$('.navbar-collapse a').click(function(){
$(".navbar-collapse").collapse('hide');
});
</script>

Problems to overcome