3
Problem
I’m implemented some controls in a prototype, and I’m creating a dashboard overlay to represent background processing, loading asserts server, search data on the server, finally to represent that the system is working and the user should wait.
For that I am creating a div on every application, with a z-index greater than the content I wish to leave unchanged for the client while he awaits the process. But I found that even with the div about the content is possible to access it through tab, as you can see here in the example.
So I would like to somehow disable the inputs or avoid access to it through tab, but this using only css (javascript is not feasible), something in this sense:
form.disabled input {
    /*  o que procuro é algo assim: */
    disabled: disabled; /* isso não funciona e nem existe no css, é só para exemplificar o que pretendo */
    /* como desabilitar todos os inputs deste form com css, sem usar javascript? */
    /* ou no minimo como não permitir da o foco no inputs quando o form estiver desabilitado */
}
Question?
Is there any way css to disable a input html?
There is no way to disable an input via CSS. You will have to either set the attribute in the element, or "simulate" a disabled with
background-colorandcursor– Beterraba
"javascript não é viável"I feel your pain.– Oralista de Sistemas
@Beet, you saw my example, what I intend is not to let the user interact with the form, while the overlay is being displayed and the form with the class
disabled– Fernando Leal
I saw yes. I understood the problem of tab, I just pointed out that it is not possible (and nor should it be).
– Beterraba