UX Glossary

Semantics

Semantics is a term used to distinguish the meaning of an instruction from its format. A semantic error occurs when you enter a legal command that does not make sense in the current context. To reduce error, provide semantic hints. Example of a semantic hint: 'Use AND to retrieve a smaller set of records in which both of the search terms are present. Use OR to retrieve a larger number of records; OR is commonly used to search for synonymous terms or concepts.


https://usabilitest.com/glossary/semantics