Henkka Henkka - 6 months ago 10
CSS Question

is there a way to hide button value without CSS?

Could someone please be so kind and tell me how I can hide the value of button without using CSS (I do not know how to use CSS)?

Thank you.

Answer

A great hack to removing text from nodes is using text-indent:

.button {
    text-indent: -9999px;
    overflow: hidden;
}

This will hide the text in a screen-reader safe manner.