وَيُنْصَبُ إِنْ كَانَ مُضَافًا، نَحْوَ: «يَا عَبْدَ اللهِ!».
Translation: A vocative is accusative when it is the first member of a genitive construction, e.g. “Yā ʿAbd Allāh!”.
The first member of the iḍāfa is accusative; its second member is genitive.