8.29 WCAG 2.1 Success Criterion 2.5.3 – Label in Name
All visible text labels must match their programmatic names to facilitate users using speech-to-text technologies to interact with the content based on an intuitive visual label.
Before Rectification
When a speech-input user speaks a command “Click Buy”, the speech input does not activate the button control because the programmatic name that is enabled as a speech-input command does not match with the visible text label.
After Rectification
The programmatic names are exactly the same as the visual text labels of the buttons, so that the speech-input user can activate the control by speaking the visual text label.
WCAG 2.1 Reference:
https://www.w3.org/WAI/WCAG21/Understanding/label-in-name.html