# Button behavior- blink toggle + audio feeback when pressed

**URL:** <https://discourse.nodered.org/t/button-behavior-blink-toggle-audio-feeback-when-pressed/5533>\
**Category:** General\
**Created:** [6 December 2018 13:11 UTC](https://discourse.nodered.org/t/button-behavior-blink-toggle-audio-feeback-when-pressed/5533 "2018-12-06T13:11:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sweetwater](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@sweetwater](https://discourse.nodered.org/u/sweetwater)\
**Post date:** [6 December 2018 13:11 UTC](https://discourse.nodered.org/t/button-behavior-blink-toggle-audio-feeback-when-pressed/5533/1 "2018-12-06T13:11:50Z")

</div>

NodeRed- marvelous tool, really amazing how powerful and user friendly the platform is. We have been using it for only a few months and achieved so much in the short time.  
However, one minor question about the 'button'

We are using NodeRed 0.18.7:

1. When the default NodeRed 'button' is pressed, users do see a faint change in button color ( to indicate that the button was pressed)
2. We have some senior citizens who are interfacing with the NodeRed based UI. THey are having problem seeing the slight change in button feedback.

Can someone suggest /hint at how to achieve this:

1. when button pressed , the button toggles its colors ( dark/light)
2. when button pressed, an audible 'click' sound is heard . ( users mostly will use Tablets to access(

So essentially, what is the best way to make the 'buttons' behave similar to the keyboards on tablets and phones ( toggle colors and audible feedback)

Thank you

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [6 December 2018 13:59 UTC](https://discourse.nodered.org/t/button-behavior-blink-toggle-audio-feeback-when-pressed/5533/2 "2018-12-06T13:59:53Z")

</div>

This topic has several discussions here. One of them with examples:

> [@Examples of Colour change button and switch](https://discourse.nodered.org/t/examples-of-colour-change-button-and-switch/3650):
>
> A simple example of a button that has two states and changes colour/text and icon based on those two states [{"id":"b9a70965.13e138","type":"ui\_button","z":"d511095d.512808","name":"","group":"c070ecdb.6d5ce","order":0,"width":"0","height":"0","passthru":false,"label":"{{payload}}","color":"","bgcolor":"{{colour}}","icon":"","payload":"press","payloadType":"str","topic":"","x":590,"y":615,"wires":[["48aaee20.8d9e1"]]},{"id":"5cc84101.ac6d9","type":"change","z":"d511095d.512808","name":"","rules…

🙂
