Working on upgrading sites at work to be more accessibility friendly, I had an issue with two third party panel components with a 'Collapse' button on the same page that needed to identify which panel you are collapsing on click. The third party library has a slight delay before updating the label and class so I wasn't able to depend on the key event to update the label. After much trial and error, I found a MutationObserver would work and suprisingly it is supported by the big three browsers in the versions we support. It only took me like two days to figure out. DOH! But with it, I was able to add a listener to the toggle so that if it ever changed any of it's attributes like 'title', I could trigger a function that would add an updated `aria-label` to the toggle icon for screen readers. Still have to add a couple of labels to some other elements but they should be easy compared to the toggle.