This paper presents an Ontology-based approach for dealing with guidelines concerning the usability and the accessibility of Web applications. We report an ontology which provides a formal description of concepts used to express ergonomic knowledge related to Web design. This paper demonstrates how to employ such Ontology for organizing ergonomic knowledge by the means of guidelines and, in particular how to employ such guidelines during the inspection of Web-based user interfaces.