Question: Writing valid HTML adheres to which WCAG principle?
- Perceivability
- Operability
- Understandability
- Robustness
Explanation
Valid HTML supports reliable interpretation across browsers and assistive technologies. HubSpot recommends using semantic markup and correct semantic elements so the content inside each element is clearly communicated to screen readers and web browsers. That makes the page structure more dependable across different technologies and aligns with the WCAG principle focused on compatibility. The emphasis is on markup being interpreted correctly, not on appearance, interaction method, or wording clarity. HubSpot Developers
Why the other options are incorrect
Perceivability focuses on whether content can be detected, such as readable text and text alternatives, rather than whether markup is reliably interpreted across technologies. HubSpot Developers
Operability focuses on interaction methods such as keyboard navigation, not on standards-compliant HTML structure. HubSpot Developers
Understandability focuses on clear content and predictable behavior, not on technical compatibility between markup and assistive technology. HubSpot Developers
Source for verification
https://developers.hubspot.com/docs/cms/best-practices/improve-existing-sites/accessibility
The answer(s) to the question is highlighted in the BOLD text above. You can also find more questions and answers related to the exams on the "HubSpot CMS for Developers II" page.
