> For the complete documentation index, see [llms.txt](https://lab-mackleaps.gitbook.io/residencia-de-software-macklaeps-upm-fci/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lab-mackleaps.gitbook.io/residencia-de-software-macklaeps-upm-fci/material-de-apoio/design-de-interacao/principios-de-design/regras-de-shneiderman/evitar-erros.md).

# Evitar erros

Quando você for projetar um sistema, quando for trabalhar no design de algum produto, tente ao máximo possível fazer com que os usuários não possam cometer erros graves. Tente prever as situações e projete de forma a evitar esses erros. Aliás, não só prever, mas teste com usuários reais e veja onde eles estão errando.

Por exemplo, no formulário de cadastro, não permita que o usuário digita letras no campo do CPF, ou não deixe que ele envie arquivos de outros tipos onde o seu sistema só pode aceitar arquivos do tipo JPG, por exemplo.

De qualquer forma, se o usuário comete algum erro, a interface deve detectar esse erro e oferecer instruções simples, construtivas e específicas para recuperar a ação.

É quase nunca aceitável punir o usuário quando os erros são feitos. Então seja muito cauteloso na hora de mostrar alguma mensagem explicando o porquê do erro. Use o tom correto e o linguajar certo na hora de elaborar uma mensagem de erro.&#x20;

#### Fonte: <https://designr.com.br/oito-regras-de-ouro-de-shneiderman-principios-de-design-de-interacao/>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lab-mackleaps.gitbook.io/residencia-de-software-macklaeps-upm-fci/material-de-apoio/design-de-interacao/principios-de-design/regras-de-shneiderman/evitar-erros.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
