4.1.1 Parsing

MCS Accessibility Team

MCS Accessibility Team
Last Updated July 23, 2020

The following directions are part of a full step-by-step guide to making a HubSpot website WCAG 2.1 AA compliant. These recommendations are intended for websites managed on the HubSpot CMS but can be adapted for other content management systems.

LEVELA
Principle: Robust
Content must be robust enough that it can be interpreted reliably by a wide variety of user agents, including assistive technologies.
Guideline: Compatible
Maximize compatibility with current and future user agents, including assistive technologies.

In content implemented using markup languages, elements have complete start and end tags, elements are nested according to their specifications, elements do not contain duplicate attributes, and any IDs are unique, except where the specifications allow these features.

Note 1: Start and end tags that are missing a critical character in their formation, such as a closing angle bracket or a mismatched attribute value quotation mark are not complete.

View Official WCAG 2.1 Compliance Techniques

Understanding 4.1.1 Parsing

The purpose of this success criteria is to allow assistive technologies to interpret and parse content. If content is poorly coded the user will have trouble viewing it, navigating it, or not be able to see it at all. 

Parsing is to analyze a string or text into logical syntactic components. Proper coding will allow assistive technologies to put your content into easy to navigate formation.

A mismatched attribute or closing bracket will not meet the success criteria.

  • Ids need to be unique and there cannot be duplicates on the page
  • Start and end tags cannot be missing and must be properly nested

How HubSpot Helps

HubSpot will alert you when there is an error.

Hubspot highlighting incorrect HTML tags in red

Recommended Solutions

For more information, please visit the official W3C article: Understanding 4.1.1 Parsing


Questions?

Let us know if we can help you address this specific WCAG Recommendation.