Jump to content

Cookies module breaking achecker validation


Recommended Posts

Hey folks,

So the website I'm working on is https://handsome-fashion.gr/en/ .

It looks like I have one bug with the achecker which is the following:

Quote

4.1 Compatible: Maximize compatibility with current and future user agents, including assistive technologies.

 

Success Criteria 4.1.1 Parsing (A)

 

Check 185: id attribute is not unique.

Repair: Modify the id attribute value so it is unique.

 Line 1574, Column 3:

<body id="index" class="lang-el country-gr currency-eur layout-full-width page-index tax-display-ena ...(lgcookieslaw_reject_all)

Now, I definitely don't have duplicate id tags in the code or any open or closed tags out of place so I tried disabling modules and it turns out that the cookie policy module is the culprit.

I can't find though how it's causing the issue, any thoughts / help would be greatly appreciated!

Link to comment
Share on other sites

If anyone is using the lgcookieslaw module by lineagrafica, this is the culprit for sure.

It creates two buttons with the same id that is "lgcookieslaw_reject_all".

I renamed one and everything was fine!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...