namespace accessibility { export function makeFocusable ( elem ) { elem . setAttribute ( "focusable" , "true" ) ; elem . setAttribute ( "tabindex" , "0" ) ; } export function setAria ( elem , role ? , label ? ) { if ( role && ! elem . hasAttribute ( "role" ) ) { elem . setAttribute ( "role" , role ) ; } if ( label && ! elem . hasAttribute ( "aria-label" ) ) { elem . setAttribute ( "aria-label" , label ) ; } } } export default accessibility ;