Hardware control of client side tabs

Hi.
New to the forum and working on a Jukebox with a gutted old tube radio. The display is actually a Nexus 7 tablet which boots up into the Volumio Web Page. The Pi and asdsociated hardware is in the cabinet.

Was wondering if there was a way to link hardware buttons to some of the web page buttons.
For example, if I want to switch tabs on the web page, momentary button presses would cycle through the tabs.
Currently, some of the buttons control volume, Prev/Next, pause etc. but non of the options regarding tab control are exposed.

I am guessing that this could be done somehow with the websockets api but not sure where to start. Any pointers would be appreciated.

Thanks
jukebox - Copy.jpg