"Either a button element or an input element is required to when using the button role"
should read "Either a button element or an input element is required when using the button role" -Mark
"Either a button element or an input element is required to when using the button role"
should read "Either a button element or an input element is required when using the button role" -Mark