DEV 7 – Code according to best practices

Why is this important?

Consistency is one of the most important principles behind good interactive design and accessible content. To achieve consistency in behaviour and predictability, code your site to existing standards and conventions.

Remember, “Users spend most of their time on other sites.” (Jakob Nielsen). Users want your site to work the same way as other sites that they are familiar with.

In this section

    • Use structural and semantic markup properly and validate code
    • Aim for maximum consistency
    • Convey information so everyone can understand it
    • Use JavaScript wisely
    • Prioritise information, maximise readability and scanning

References for this section

WCAG 2.1

EN 301 549 v 2.1.2

    • Info and Relationships
    • Sensory Characteristics
    • Use of Colour
    • Headings and Labels
    • Consistent Navigation
    • Consistent Identification
    • Parsing
    • Name, Role, Value


Further reading