A library asked to connect a sound alert to the different error messages in the web based self checkout module, but it appears that the audio alerts are broken or not fully implemented for the OPAC. I put body as selector to trigger an alert on every page. It works in the staff interface, but not in the OPAC. Looking at the source code of the OPAC pages, you can see code for audio alerts, but it doesn't seem to work or maybe it's not loading the configuration?
It's not implemented, only for sco.
I tried for self checkouts, it wouldn't work.
It turns out that the audio-alerts for sco only work when you use a full URL. *** This bug has been marked as a duplicate of bug 22406 ***