HTML Checking for Large Sites
Rocket Validator automatically scans your sites for accessibility issues using the W3C Validator,
hosted on our own servers and integrated into our web crawler.
Bad value “X” for attribute “href” on element “a”: Illegal character in path segment: space is not allowed.
Space characters are not allowed in href
attributes. Instead, they should be converted to %20
. In this example, the first line is invalid and the second is valid:
<a href="https://example.com/?s=some term">invalid</a>
<a href="https://example.com/?s=some%20term">valid</a>
Related W3C validator issues
- Bad value “X” for attribute “accept” on element “input”: Expected a token character or “/” but saw “,” instead.
- Bad value “X” for attribute “href” on element “a”: Illegal character in query: space is not allowed.
- Bad value “X” for attribute “src” on element “img”: Illegal character in path segment: space is not allowed.
- Bad value “X” for attribute “src” on element “img”: Illegal character in scheme data: space is not allowed.
- Element name “X” cannot be represented as XML 1.0.
- End tag “a” violates nesting rules.
- Internal encoding declaration “windows-1251” disagrees with the actual encoding of the document (“utf-8”).
- Start tag “a” seen but an element of the same type was already open.
- Text run is not in Unicode Normalization Form C.
- The element “label” must not appear as a descendant of the “a” element.