[pagination] Manage focus whenever first / last / next / previous buttons become disabled (#48877)