Highlighted

Single button with two different Accessibility Names depending on state?

New Here ,
Apr 22, 2020

Copy link to clipboard

Copied

I have a smartshape button that I am using to toggle Closed Captioning on/off - which I have working.  However, I need "CC On" when it is on - and "CC Off" when it is off.  Is this possible? I tried using two images and hiding one vs the other - but then the Keyboard focus gets all messed up.

 

Or even better - is there a way to customize the standard playbar text - like Audio has AudioOn/AudioOff? 

 

Thanks

Rachel

TOPICS
Advanced

Views

144

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Single button with two different Accessibility Names depending on state?

New Here ,
Apr 22, 2020

Copy link to clipboard

Copied

I have a smartshape button that I am using to toggle Closed Captioning on/off - which I have working.  However, I need "CC On" when it is on - and "CC Off" when it is off.  Is this possible? I tried using two images and hiding one vs the other - but then the Keyboard focus gets all messed up.

 

Or even better - is there a way to customize the standard playbar text - like Audio has AudioOn/AudioOff? 

 

Thanks

Rachel

TOPICS
Advanced

Views

145

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 22, 2020 0

Have something to add?

Join the conversation