The UIC Button had a "loading" prop which showed a spinner and disabled the button.
We can add a spinner to the Seeds button, but we should not disable the button using the HTML disabled attribute, but rather use the aria-disabled attribute, along with the relevant JavaScript to prevent additional click handlers/form events. We might also investigate the idea of an aria-live announcement.
The UIC Button had a "loading" prop which showed a spinner and disabled the button.
We can add a spinner to the Seeds button, but we should not disable the button using the HTML
disabled
attribute, but rather use thearia-disabled
attribute, along with the relevant JavaScript to prevent additional click handlers/form events. We might also investigate the idea of anaria-live
announcement.See: https://css-tricks.com/making-disabled-buttons-more-inclusive/