On the OPAC, there are a few instances of the browser's focus caret disappearing when an element is removed. This causes problems for people with screen readers, as their reader doesn't know what element should come next in the page's flow any more. I shall propose a set of patches to resolve this.
Created attachment 189148 [details] [review] Bug 41200: Refocuses add to cart after removal This patch hopes to resolve disappearing focus when one clicks 'remove' on a present card item on the results page, by pushing the focus back to add to cart when the remove button is selected. == TO TEST == a) ensure opacbookbag is set to Allow b) search for 'history', and add an item to cart via the results page c) use the 'remove' button found on the same record row as in steb b) d) press tab, and notice how the focus moves somewhere else entirely == APPLY PATCH == e) repeat steps a-c f) notice how this time the focus returns to the nearby add to cart == SIGN OFF ==
Created attachment 189149 [details] [review] Bug 41200: Refocuses browse results after closure This patch resolves to fix missing focus that happens when the close button is used within the browse results widget on the details page == TO TEST == a) search for history, and choose any record from the results page b) notice the browse results widget on the right - click browse results c) click close d) try to tab into the next item, notice how the focus caret goes missing == APPLY PATCH == e) repeat steps a-c f) notice how this time the focus returns to browse results == SIGN OFF ==