: Pages wrapped in a form element. What effect would this have on SEO or other machine-readability? I'm helping somebody with a site and I've noticed that all the main pages are wrapped inside
I'm helping somebody with a site and I've noticed that all the main pages are wrapped inside a form. I mean:
<body>
<form>
[ everything in the page ]
</form>
</body>
Now I'm an experienced frontend dev, and find this markup horrendous. It's technically permitted, as a form can contain any flow content, but it's semantically horrible. Most of these pages don't even contain form child elements (input, select, etc.). However, in this case I'm only helping them with usability and findability, I'm not re-doing their frontend code.
Will this weird use of a form mess up search ranking, or otherwise impact on automated parsing of a page, such as in assistive technology like screen readers?
More posts by @Reiling115
1 Comments
Sorted by latest first Latest Oldest Best
Well as you said its semantically horrible and should be avoided, its impossible to tell if its impacting on the rankings as such as Google but it's definitely will not help rankings.
You should test the following site using the following to determine how bad the situation is:
Markup Validation (I suspect there are dozens to hundreds of errors). Some major issues could be preventing Google to reward full weight to certain elements on the page.
View the site without JS and in text, there is a few text based browsers you can emulate how Google would view the page, another way is to use Google's cache service and click text only (Top Right) - however browsers can fix problems on the page and render correctly while Google may not, so a text browser such as Lynx may be more ideal.
But again without seeing the URL viewers will not be able to answer more without taking a look which I appericate that you can't disclose this website in question. Personally and its debatable I take w3 validation very seriously and believe that Google does in fact take this into account, we already know that page accessibility and page speed count to Google's rankings so I would only assume that this is naturally the case for a validating website. As I said I suspect that because everything is stuck in a form, almost everything will be failing validation and many people could be experiencing problems depending on browser type.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.