We explore the tunneling transport properties of a quantum dot embedded in an optical microcavity and coupled to a semiconductor-superconductor one-dimensional nanowire (Majorana nanowire) hosting Majorana zero modes (MZMs) at their edges. Conductance profiles reveal that strong light-matter coupling can be employed to distinguish between the cases of highly nonlocal MZMs, overlapped MZMs and MZMs with less degree of nonlocal feature. Moreover, we show that it is possible to access the degree of Majorana nonlocality (topological quality factor) by changing the dot spectrum through photon-induced transitions tuned by an external pump applied to the microcavity.