I have a page with multiple buttons that can trigger a 'Add item to list'. This is a js function that after adding item to list will reload page so the total number of items is refreshed on shopping cart.
I need to set focus after reload on the button that triggered the refresh. (for accessibility)
How can I determine what triggered the refresh?
My suggested method for this: