In most cases JavaScript is used to do this. A button will trigger an action like opening or closing something. Or sending a form. It just says that it is a UI element which you can click. A starter button in a car, for example, is a switch masquerading as a button. Unlike other browsers, Firefox persists the dynamic disabled state of a