igger
          the reveal of the chosen tab content
          @param {Array} tabs an array of tabs within a container
        */
        function attachEvents(tabs) {
            tabs.forEach(function (tab, index) {
                tab.addEventListener('keyup', function (e) {
                    if (e.code === keys.left || e.code === keys.right) {
                        switchTabOnArrowPress(e, tabs);
                    }
                });

                tab.addEventListener('click', function (e) {
 