make attributes togglable with the keyboard