I have created an alert on Samsung Tv App that shows some warning now I want to apply Text to speech on alert but it only reads OK Button not the alert message instead I want to read the alert message than OK button.
So to do that I have to setAttribute('role', 'alert') but I don't know how can I do that