Connect with us

SEO

Optimizing Interaction To Next Paint: A Step-By-Step Guide

Published

on

Optimizing Interaction To Next Paint: A Step-By-Step Guide

This post was sponsored by DebugBear. The opinions expressed in this article are the sponsor’s own.

Keeping your website fast is important for user experience and SEO.

The Core Web Vitals initiative by Google provides a set of metrics to help you understand the performance of your website.

The three Core Web Vitals metrics are:

This post focuses on the recently introduced INP metric and what you can do to improve it.

How Is Interaction To Next Paint Measured?

INP measures how quickly your website responds to user interactions – for example, a click on a button. More specifically, INP measures the time in milliseconds between the user input and when the browser has finished processing the interaction and is ready to display any visual updates on the page.

Your website needs to complete this process in under 200 milliseconds to get a “Good” score. Values over half a second are considered “Poor”. A poor score in a Core Web Vitals metric can negatively impact your search engine rankings.

Google collects INP data from real visitors on your website as part of the Chrome User Experience Report (CrUX). This CrUX data is what ultimately impacts rankings.

Image created by DebugBear, May 2024

How To Identify & Fix Slow INP Times

The factors causing poor Interaction to Next Paint can often be complex and hard to figure out. Follow this step-by-step guide to understand slow interactions on your website and find potential optimizations.

1. How To Identify A Page With Slow INP Times

Different pages on your website will have different Core Web Vitals scores. So you need to identify a slow page and then investigate what’s causing it to be slow.

Using Google Search Console

One easy way to check your INP scores is using the Core Web Vitals section in Google Search Console, which reports data based on the Google CrUX data we’ve discussed before.

By default, page URLs are grouped into URL groups that cover many different pages. Be careful here – not all pages might have the problem that Google is reporting. Instead, click on each URL group to see if URL-specific data is available for some pages and then focus on those.

1716368164 358 Optimizing Interaction To Next Paint A Step By Step GuideScreenshot of Google Search Console, May 2024

Using A Real-User Monitoring (RUM) Service

Google won’t report Core Web Vitals data for every page on your website, and it only provides the raw measurements without any details to help you understand and fix the issues. To get that you can use a real-user monitoring tool like DebugBear.

Real-user monitoring works by installing an analytics snippet on your website that measures how fast your website is for your visitors. Once that’s set up you’ll have access to an Interaction to Next Paint dashboard like this:

1716368164 404 Optimizing Interaction To Next Paint A Step By Step GuideScreenshot of the DebugBear Interaction to Next Paint dashboard, May 2024

You can identify pages you want to optimize in the list, hover over the URL, and click the funnel icon to look at data for that specific page only.

1716368164 975 Optimizing Interaction To Next Paint A Step By Step GuideImage created by DebugBear, May 2024

2. Figure Out What Element Interactions Are Slow

Different visitors on the same page will have different experiences. A lot of that depends on how they interact with the page: if they click on a background image there’s no risk of the page suddenly freezing, but if they click on a button that starts some heavy processing then that’s more likely. And users in that second scenario will experience much higher INP.

To help with that, RUM data provides a breakdown of what page elements users interacted with and how big the interaction delays were.

1716368164 348 Optimizing Interaction To Next Paint A Step By Step GuideScreenshot of the DebugBear INP Elements view, May 2024

The screenshot above shows different INP interactions sorted by how frequent these user interactions are. To make optimizations as easy as possible you’ll want to focus on a slow interaction that affects many users.

In DebugBear, you can click on the page element to add it to your filters and continue your investigation.

3. Identify What INP Component Contributes The Most To Slow Interactions

INP delays can be broken down into three different components:

  • Input Delay: Background code that blocks the interaction from being processed.
  • Processing Time: The time spent directly handling the interaction.
  • Presentation Delay: Displaying the visual updates to the screen.

You should focus on which INP component is the biggest contributor to the slow INP time, and ensure you keep that in mind during your investigation.

1716368164 193 Optimizing Interaction To Next Paint A Step By Step GuideScreenshot of the DebugBear INP Components, May 2024

In this scenario, Processing Time is the biggest contributor to the slow INP time for the set of pages you’re looking at, but you need to dig deeper to understand why.

High processing time indicates that there is code intercepting the user interaction and running slow performing code. If instead you saw a high input delay, that suggests that there are background tasks blocking the interaction from being processed, for example due to third-party scripts.

4. Check Which Scripts Are Contributing To Slow INP

Sometimes browsers report specific scripts that are contributing to a slow interaction. Your website likely contains both first-party and third-party scripts, both of which can contribute to slow INP times.

A RUM tool like DebugBear can collect and surface this data. The main thing you want to look at is whether you mostly see your own website code or code from third parties.

1716368164 369 Optimizing Interaction To Next Paint A Step By Step GuideScreenshot of the INP Primary Script Domain Grouping in DebugBear, May 2024

Tip: When you see a script, or source code function marked as “N/A”, this can indicate that the script comes from a different origin and has additional security restrictions that prevent RUM tools from capturing more detailed information.

This now begins to tell a story: it appears that analytics/third-party scripts are the biggest contributors to the slow INP times.

5. Identify Why Those Scripts Are Running

At this point, you now have a strong suspicion that most of the INP delay, at least on the pages and elements you’re looking at, is due to third-party scripts. But how can you tell whether those are general tracking scripts or if they actually have a role in handling the interaction?

DebugBear offers a breakdown that helps see why the code is running, called the INP Primary Script Invoker breakdown. That’s a bit of a mouthful – multiple different scripts can be involved in slowing down an interaction, and here you just see the biggest contributor. The “Invoker” is just a value that the browser reports about what caused this code to run.

1716368165 263 Optimizing Interaction To Next Paint A Step By Step GuideScreenshot of the INP Primary Script Invoker Grouping in DebugBear, May 2024

The following invoker names are examples of page-wide event handlers:

  • onclick
  • onmousedown
  • onpointerup

You can see those a lot in the screenshot above, which tells you that the analytics script is tracking clicks anywhere on the page.

In contrast, if you saw invoker names like these that would indicate event handlers for a specific element on the page:

  • .load_more.onclick
  • #logo.onclick

6. Review Specific Page Views

A lot of the data you’ve seen so far is aggregated. It’s now time to look at the individual INP events, to form a definitive conclusion about what’s causing slow INP in this example.

Real user monitoring tools like DebugBear generally offer a way to review specific user experiences. For example, you can see what browser they used, how big their screen is, and what element led to the slowest interaction.

1716368165 545 Optimizing Interaction To Next Paint A Step By Step GuideScreenshot of a Page View in DebugBear Real User Monitoring, May 2024

As mentioned before, multiple scripts can contribute to overall slow INP. The INP Scripts section shows you the scripts that were run during the INP interaction:

1716368165 981 Optimizing Interaction To Next Paint A Step By Step GuideScreenshot of the DebugBear INP script breakdown, May 2024

You can review each of these scripts in more detail to understand why they run and what’s causing them to take longer to finish.

7. Use The DevTools Profiler For More Information

Real user monitoring tools have access to a lot of data, but for performance and security reasons they can access nowhere near all the available data. That’s why it’s a good idea to also use Chrome DevTools to measure your page performance.

To debug INP in DevTools you can measure how the browser processes one of the slow interactions you’ve identified before. DevTools then shows you exactly how the browser is spending its time handling the interaction.

1716368165 526 Optimizing Interaction To Next Paint A Step By Step GuideScreenshot of a performance profile in Chrome DevTools, May 2024

How You Might Resolve This Issue

In this example, you or your development team could resolve this issue by:

  • Working with the third-party script provider to optimize their script.
  • Removing the script if it is not essential to the website, or finding an alternative provider.
  • Adjusting how your own code interacts with the script

How To Investigate High Input Delay

In the previous example most of the INP time was spent running code in response to the interaction. But often the browser is already busy running other code when a user interaction happens. When investigating the INP components you’ll then see a high input delay value.

This can happen for various reasons, for example:

  • The user interacted with the website while it was still loading.
  • A scheduled task is running on the page, for example an ongoing animation.
  • The page is loading and rendering new content.

To understand what’s happening, you can review the invoker name and the INP scripts section of individual user experiences.

1716368165 86 Optimizing Interaction To Next Paint A Step By Step GuideScreenshot of the INP Component breakdown within DebugBear, May 2024

In this screenshot, you can see that a timer is running code that coincides with the start of a user interaction.

The script can be opened to reveal the exact code that is run:

1716368165 114 Optimizing Interaction To Next Paint A Step By Step GuideScreenshot of INP script details in DebugBear, May 2024

The source code shown in the previous screenshot comes from a third-party user tracking script that is running on the page.

At this stage, you and your development team can continue with the INP workflow presented earlier in this article. For example, debugging with browser DevTools or contacting the third-party provider for support.

How To Investigate High Presentation Delay

Presentation delay tends to be more difficult to debug than input delay or processing time. Often it’s caused by browser behavior rather than a specific script. But as before, you still start by identifying a specific page and a specific interaction.

You can see an example interaction with high presentation delay here:

1716368165 665 Optimizing Interaction To Next Paint A Step By Step GuideScreenshot of the an interaction with high presentation delay, May 2024

You see that this happens when the user enters text into a form field. In this example, many visitors pasted large amounts of text that the browser had to process.

Here the fix was to delay the processing, show a “Waiting…” message to the user, and then complete the processing later on. You can see how the INP score improves from May 3:

1716368165 845 Optimizing Interaction To Next Paint A Step By Step GuideScreenshot of an Interaction to Next Paint timeline in DebugBear, May 2024

Get The Data You Need To Improve Interaction To Next Paint

Setting up real user monitoring helps you understand how users experience your website and what you can do to improve it. Try DebugBear now by signing up for a free 14-day trial.

1716368165 494 Optimizing Interaction To Next Paint A Step By Step GuideScreenshot of the DebugBear Core Web Vitals dashboard, May 2024

Google’s CrUX data is aggregated over a 28-day period, which means that it’ll take a while before you notice a regression. With real-user monitoring you can see the impact of website changes right away and get alerted automatically when there’s a big change.

DebugBear monitors lab data, CrUX data, and real user data. That way you have all the data you need to optimize your Core Web Vitals in one place.

This article has been sponsored by DebugBear, and the views presented herein represent the sponsor’s perspective.

Ready to start optimizing your website? Sign up for DebugBear and get the data you need to deliver great user experiences.


Image Credits

Featured Image: Image by Redesign.co. Used with permission.

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address

SEO

Google Clarifies Organization Merchant Returns Structured Data

Published

on

By

Google updates organization structured data for merchant returns

Google quietly updated their organization structured data documentation in order to clarify two points about merchant returns in response to feedback about an ambiguity in the previous version.

Organization Structured Data and Merchant Returns

Google recently expanded their Organization structured data so that it could now accommodate a merchant return policy. The change added support for adding a sitewide merchant return policy.

The original reason for adding this support:

“Adding support for Organization-level return policies

What: Added documentation on how to specify a general return policy for an Organization as a whole.

Why: This makes it easier to define and maintain general return policies for an entire site.”

However that change left unanswered about what will happen if a site has a sitewide return policy but also has a different policy for individual products.

The clarification applies for the specific scenario of when a site uses both a sitewide return policy in their structured data and another one for specific products.

What Takes Precedence?

What happens if a merchant uses both a sitewide and product return structured data? Google’s new documentation states that Google will ignore the sitewide product return policy in favor of a more granular product-level policy in the structured data.

The clarification states:

“If you choose to provide both organization-level and product-level return policy markup, Google defaults to the product-level return policy markup.”

Change Reflected Elsewhere

Google also updated the documentation to reflect the scenario of the use of two levels of merchant return policies in another section that discusses whether structured data or merchant feed data takes precedence. There is no change to the policy, merchant center data still takes precedence.

This is the old documentation:

“If you choose to use both markup and settings in Merchant Center, Google will only use the information provided in Merchant Center for any products submitted in your Merchant Center product feeds, including automated feeds.”

This is the same section but updated with additional wording:

“If you choose to use both markup (whether at the organization-level or product-level, or both) and settings in Merchant Center, Google will only use the information provided in Merchant Center for any products submitted in your Merchant Center product feeds, including automated feeds.”

Read the newly updated Organization structured data documentation:

Organization (Organization) structured data – MerchantReturnPolicy

Featured Image by Shutterstock/sutlafk

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

SEO

What Is It & How To Write It

Published

on

By

What Is It & How To Write It

In this guide, you will learn about alternative text (known as alt text): what it is, why it is important for on-page SEO, how to use it correctly, and more.

It’s often overlooked, but every image on your website should have alt text. More information is better, and translating visual information into text is important for search engine bots attempting to understand your website and users with screen readers.

Alt text is one more source of information that relates ideas and content together on your website.

This practical and to-the-point guide contains tips and advice you can immediately use to improve your website’s image SEO and accessibility.

What Is Alt Text?

Alternative text (or alt text) – also known as the alt attribute or the alt tag (which is not technically correct because it is not a tag) – is simply a piece of text that describes the image in the HTML code.

What Are The Uses Of Alt Text?

The original function of alt text was simply to describe an image that could not be loaded.

Many years ago, when the internet was much slower, alt text would help you know the content of an image that was too heavy to be loaded in your browser.

Today, images rarely fail to load – but if they do, then it is the alt text you will see in place of an image.

Screenshot from Search Engine Journal, May 2024

Alt text also helps search engine bots understand the image’s content and context.

More importantly, alt text is critical for accessibility and for people using screen readers:

  • Alt text helps people with disabilities (for example, using screen readers) learn about the image’s content.

Of course, like every element of SEO, it is often misused or, in some cases, even abused.

Let’s now take a closer look at why alt text is important.

Why Alt Text Is Important

The web and websites are a very visual experience. It is hard to find a website without images or graphic elements.

That’s why alt text is very important.

Alt text helps translate the image’s content into words, thus making the image accessible to a wider audience, including people with disabilities and search engine bots that are not clever enough yet to fully understand every image, its context, and its meaning.

Why Alt Text Is Important For SEO

Alt text is an important element of on-page SEO optimization.

Proper alt text optimization makes your website stand a better chance of ranking in Google image searches.

Yes, alt text is a ranking factor for Google image search.

Depending on your website’s niche and specificity, Google image search traffic may play a huge role in your website’s overall success.

For example, in the case of ecommerce websites, users very often start their search for products with a Google image search instead of typing the product name into the standard Google search.

Screenshot from search for [Garmin forerunner]Screenshot from search for [Garmin forerunner], May 2024

Google and other search engines may display fewer product images (or not display them at all) if you fail to take care of their alt text optimization.

Without proper image optimization, you may lose a lot of potential traffic and customers.

Why Alt Text Is Important For Accessibility

Visibility in Google image search is very important, but there is an even more important consideration: Accessibility.

Fortunately, in recent years, more focus has been placed on accessibility (i.e., making the web accessible to everyone, including people with disabilities and/or using screen readers).

Suppose the alt text of your images actually describes their content instead of, for example, stuffing keywords. In that case, you are helping people who cannot see this image better understand it and the content of the entire web page.

Let’s say one of your web pages is an SEO audit guide that contains screenshots from various crawling tools.

Would it not be better to describe the content of each screenshot instead of placing the same alt text of “SEO audit” into every image?

Let’s take a look at a few examples.

Alt Text Examples

Finding many good and bad examples of alt text is not difficult. Let me show you a few, sticking to the above example with an SEO audit guide.

Good Alt Text Examples

So, our example SEO guide contains screenshots from tools such as Google Search Console and Screaming Frog.

Some good examples of alt text may include:

”The
”Google
”List
”Screaming

Tip: It is also a good idea to take care of the name of your file. Using descriptive file names is not a ranking factor, but I recommend this as a good SEO practice.

Bad And/Or Spammy Alt Text Examples

I’ve also seen many examples of bad alt text use, including keyword stuffing or spamming.

Here is how you can turn the above good examples into bad examples:

”google search console coverage report
”google
”seo
”seo

As you can see, the above examples do not provide any information on what these images actually show.

You can also find examples and even more image SEO tips on Google Search Central.

Common Alt Text Mistakes

Stuffing keywords in the alt text is not the only mistake you can make.

Here are a few examples of common alt text mistakes:

  • Failure to use the alt text or using empty alt text.
  • Using the same alt text for different images.
  • Using very general alt text that does not actually describe the image. For example, using the alt text of “dog” on the photo of a dog instead of describing the dog in more detail, its color, what it is doing, what breed it is, etc.
  • Automatically using the name of the file as the alt text – which may lead to very unfriendly alt text, such as “googlesearchconsole,” “google-search-console,” or “photo2323,” depending on the name of the file.

Alt Text Writing Tips

And finally, here are the tips on how to write correct alt text so that it actually fulfills its purpose:

  • Do not stuff keywords into the alt text. Doing so will not help your web page rank for these keywords.
  • Describe the image in detail, but still keep it relatively short. Avoid adding multiple sentences to the alt text.
  • Use your target keywords, but in a natural way, as part of the image’s description. If your target keyword does not fit into the image’s description, don’t use it.
  • Don’t use text on images. All text should be added in the form of HTML code.
  • Don’t write, “this is an image of.” Google and users know that this is an image. Just describe its content.
  • Make sure you can visualize the image’s content by just reading its alt text. That is the best exercise to make sure your alt text is OK.

How To Troubleshoot Image Alt Text

Now you know all the best practices and common mistakes of alt text. But how do you check what’s in the alt text of the images of a website?

You can analyze the alt text in the following ways:

Inspecting an element (right-click and select Inspect when hovering over an image) is a good way to check if a given image has alt text.

However, if you want to check that in bulk, I recommend one of the below two methods.

Install Web Developer Chrome extension.

Screenshot of Web Developer Extension in Chrome by authorScreenshot from Web Developer Extension, Chrome by author, May 2024

Next, open the page whose images you want to audit.

Click on Web Developer and navigate to Images > Display Alt Attributes. This way, you can see the content of the alt text of all images on a given web page.

The alt text of images is shown on the page.Screenshot from Web Developer Extension, Chrome by author, May 2024

How To Find And Fix Missing Alt Text

To check the alt text of the images of the entire website, use a crawler like Screaming Frog or Sitebulb.

Crawl the site, navigate to the image report, and review the alt text of all website images, as shown in the video guide below.

You can also export only images that have missing alt text and start fixing those issues.

Alt Text May Not Seem Like A Priority, But It’s Important

Every source of information about your content has value. Whether it’s for vision-impaired users or bots, alt text helps contextualize the images on your website.

While it’s only a ranking factor for image search, everything you do to help search engines understand your website can potentially help deliver more accurate results. Demonstrating a commitment to accessibility is also a critical component of modern digital marketing.

FAQ

What is the purpose of alt text in HTML?

Alternative text, or alt text, serves two main purposes in HTML. Its primary function is to provide a textual description of an image if it cannot be displayed. This text can help users understand the image content when technical issues prevent it from loading or if they use a screen reader due to visual impairments. Additionally, alt text aids search engine bots in understanding the image’s subject matter, which is critical for SEO, as indexing images correctly can enhance a website’s visibility in search results.

Can alt text improve website accessibility?

Yes, alt text is vital for website accessibility. It translates visual information into descriptive text that can be read by screen readers used by users with visual impairments. By accurately describing images, alt text ensures that all users, regardless of disability, can understand the content of a web page, making the web more inclusive and accessible to everyone.

More resources: 


Featured Image: BestForBest/Shutterstock

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

SEO

Google Dials Back AI Overviews In Search Results, Study Finds

Published

on

By

Photo of a mobile device in mans hand with generative google AI Overview on the screen.

According to new research, Google’s AI-generated overviews have undergone significant adjustments since the initial rollout.

The study from SE Ranking analyzed 100,000 keywords and found Google has greatly reduced the frequency of AI overviews.

However, when they appear, they’re more detailed than they were previously.

The study digs into which topics and industries are more likely to get an AI overview. It also looks at how the AI snippets interact with other search features like featured snippets and ads.

Here’s an overview of the findings and what they mean for your SEO efforts.

Declining Frequency Of AI Overviews

In contrast to pre-rollout figures, 8% of the examined searches now trigger an AI Overview.

This represents a 52% drop compared to January levels.

Yevheniia Khromova, the study’s author, believes this means Google is taking a more measured approach, stating:

“The sharp decrease in AI Overview presence likely reflects Google’s efforts to boost the accuracy and trustworthiness of AI-generated answers.”

Longer AI Overviews

Although the frequency of AI overviews has decreased, the ones that do appear provide more detailed information.

The average length of the text has grown by nearly 25% to around 4,342 characters.

In another notable change, AI overviews now link to fewer sources on average – usually just four links after expanding the snippet.

However, 84% still include at least one domain from that query’s top 10 organic search results.

Niche Dynamics & Ranking Factors

The chances of getting an AI overview vary across different industries.

Searches related to relationships, food and beverages, and technology were most likely to trigger AI overviews.

Sensitive areas like healthcare, legal, and news had a low rate of showing AI summaries, less than 1%.

Longer search queries with ten words were more likely to generate an AI overview, with a 19% rate indicating that AI summaries are more useful for complex information needs.

Search terms with lower search volumes and lower cost-per-click were more likely to display AI summaries.

Other Characteristics Of AI Overviews

The research reveals that 45% of AI overviews appear alongside featured snippets, often sourced from the exact domains.

Around 87% of AI overviews now coexist with ads, compared to 73% previously, a statistic that could increase competition for advertising space.

What Does This Mean?

SE Ranking’s research on AI overviews has several implications:

  1. Reduced Risk Of Traffic Losses: Fewer searches trigger AI Overviews that directly answer queries, making organic listings less likely to be demoted or receive less traffic.
  2. Most Impacted Niches: AI overviews appear more in relationships, food, and technology niches. Publishers in these sectors should pay closer attention to Google’s AI overview strategy.
  3. Long-form & In-Depth Content Essential: As AI snippets become longer, companies may need to create more comprehensive content beyond what the overviews cover.

Looking Ahead

While the number of AI overviews has decreased recently, we can’t assume this trend will continue.

AI overviews will undoubtedly continue to transform over time.

It’s crucial to monitor developments closely, try different methods of dealing with them, and adjust game plans as needed.


Featured Image: DIA TV/Shutterstock

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

Trending