Problem
I'm implementing some controls in a prototype, and I'm creating an overlay panel to represent background processing, loading asserts from server, fetching data on server, anyway to represent that the system is working and the user must wait.
For this I am creating a div
on every application, with a z-index
greater than the content that I want to leave immutable for the client, while waiting for the process. But I've noticed that even with div
on content you can access it through tab , as you can see here in the example .
So I would like some way to disable the inputs or avoid access to it through tab , but this using just css
(javascript is not viable), something like this:
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 a way to css
disable a input
html?