Doing the right thing for the wrong reasons

I remember trying to convince people to use semantic markup because it’s good for accessibility. That tactic didn’t always work. When it didn’t, I would add “By the way, Google’s searchbot is indistinguishable from a screen-reader user so semantic ma…


This content originally appeared on Adactio: Journal and was authored by Adactio: Journal

I remember trying to convince people to use semantic markup because it’s good for accessibility. That tactic didn’t always work. When it didn’t, I would add “By the way, Google’s searchbot is indistinguishable from a screen-reader user so semantic markup is good for SEO.”

That usually worked. It always felt unsatisfying though. I don’t know why. It doesn’t matter if people do the right thing for the wrong reasons. The end result is what matters. But still. It never felt great.

It happened with responsive design and progressive enhancement too. If I couldn’t convince people based on user experience benefits, I’d pull up some official pronouncement from Google recommending those techniques.

Even AMP, a dangerously ill-conceived project, has one very handy ace in the hole. You can’t add third-party JavaScript cruft to AMP pages. That’s useful:

Beleaguered developers working for publishers of big bloated web pages have a hard time arguing with their boss when they’re told to add another crappy JavaScript tracking script or bloated library to their pages. But when they’re making AMP pages, they can easily refuse, pointing out that the AMP rules don’t allow it. Google plays the bad cop for us, and it’s a very valuable role.

AMP is currently dying, which is good news. Google have announced that core web vitals will be used to boost ranking instead of requiring you to publish in their proprietary AMP format. The really good news is that the political advantage that came with AMP has also been ported over to core web vitals.

Take user-hostile obtrusive overlays. Perhaps, as a contientious developer, you’ve been arguing for years that they should be removed from the site you work on because they’re so bad for the user experience. Perhaps you have been met with the same indifference that I used to get regarding semantic markup.

Well, now you can point out how those annoying overlays are affecting, for example, the cumulative layout shift for the site. And that number is directly related to SEO. It’s one thing for a department to over-ride UX concerns, but I bet they’d think twice about jeopardising the site’s ranking with Google.

I know it doesn’t feel great. It’s like dealing with a bully by getting an even bigger bully to threaten them. Still. Needs must.


This content originally appeared on Adactio: Journal and was authored by Adactio: Journal


Print Share Comment Cite Upload Translate Updates
APA

Adactio: Journal | Sciencx (2021-06-10T10:44:38+00:00) Doing the right thing for the wrong reasons. Retrieved from https://www.scien.cx/2021/06/10/doing-the-right-thing-for-the-wrong-reasons/

MLA
" » Doing the right thing for the wrong reasons." Adactio: Journal | Sciencx - Thursday June 10, 2021, https://www.scien.cx/2021/06/10/doing-the-right-thing-for-the-wrong-reasons/
HARVARD
Adactio: Journal | Sciencx Thursday June 10, 2021 » Doing the right thing for the wrong reasons., viewed ,<https://www.scien.cx/2021/06/10/doing-the-right-thing-for-the-wrong-reasons/>
VANCOUVER
Adactio: Journal | Sciencx - » Doing the right thing for the wrong reasons. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/06/10/doing-the-right-thing-for-the-wrong-reasons/
CHICAGO
" » Doing the right thing for the wrong reasons." Adactio: Journal | Sciencx - Accessed . https://www.scien.cx/2021/06/10/doing-the-right-thing-for-the-wrong-reasons/
IEEE
" » Doing the right thing for the wrong reasons." Adactio: Journal | Sciencx [Online]. Available: https://www.scien.cx/2021/06/10/doing-the-right-thing-for-the-wrong-reasons/. [Accessed: ]
rf:citation
» Doing the right thing for the wrong reasons | Adactio: Journal | Sciencx | https://www.scien.cx/2021/06/10/doing-the-right-thing-for-the-wrong-reasons/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.