aria-busy
when dealing with multiple promises
This is a small POC to test how setting aria-busy
correctly
can work when we are retrieving multiple requests that will all modify
the current DOM of the component in question until the point in time
where all requests have been resolved. Only at this stage should we
remove the aria-busy
attribute.
This also tests what happens when the execution of the requests overlap
with another series of requests. If another series of requests has
started, the aria-busy
attribute should not be removed
until those requests have been resolved, even if the first
batch of requests has already been resolved.
This button initates two series of requests at the same time to simulate the overlapping asynchronous behavior and to test that the aria-busy attribute is correctly set.