This directory demonstrates how Alfa can be used to test:
Note that each example is only running one rule, SIA-R12, which applies to buttons, given that the component tested is a button.
The Angular test currently do not work, not sure exactly what the problem is.