Always add a modifier class to add color to the button.
Attribute | Applied | Outcome |
---|---|---|
disabled="disabled" |
.pf-c-button |
Indicates the disabled state of the element to assistive technologies |
aria-pressed="true or false" |
.pf-c-button |
If you are using a button as a toggle, you can still force the same active appearance with pf-is-active (and include the aria-pressed="" ) should you need to replicate the state programmatically. |