this is a simple macro to change specialization with 1 simple button. i create it with help from /framestack, here is the macro copy paste to your macro:
maybe useful for someone who change spec frequently
/click TalentMicroButton
/click PlayerTalentFrameTab1
/click PlayerTalentFrameSpecializationSpecButton1
/click PlayerTalentFrameSpecializationLearnButton
/click PlayerTalentFrameCloseButton
/click TalentMicroButton
/click PlayerTalentFrameTab1
/click PlayerTalentFrameSpecializationSpecButton2
/click PlayerTalentFrameSpecializationLearnButton
/click PlayerTalentFrameCloseButton
/click TalentMicroButton
/click PlayerTalentFrameTab1
/click PlayerTalentFrameSpecializationSpecButton3
/click PlayerTalentFrameSpecializationLearnButton
/click PlayerTalentFrameCloseButton
4th spec for druid, because.... druid have 4 spec
/click TalentMicroButton
/click PlayerTalentFrameTab1
/click PlayerTalentFrameSpecializationSpecButton4
/click PlayerTalentFrameSpecializationLearnButton
/click PlayerTalentFrameCloseButton