<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alt Text Issue with Blog Image in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Alt-Text-Issue-with-Blog-Image/m-p/888999#M36978</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/279393"&gt;@JPieters&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your question! I'd like to invite some of our community members to the conversation — hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/363300"&gt;@Jnix284&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/61659"&gt;@Stephanie-OG&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/91608"&gt;@alyssamwilie&lt;/a&gt;, can you suggest a next step or troubleshooting tip for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/279393"&gt;@JPieters&lt;/a&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for taking a look! —Jaycee&lt;/P&gt;</description>
    <pubDate>Mon, 04 Dec 2023 23:14:35 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2023-12-04T23:14:35Z</dc:date>
    <item>
      <title>Alt Text Issue with Blog Image</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Alt-Text-Issue-with-Blog-Image/m-p/888481#M36958</link>
      <description>&lt;P&gt;Good day,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This year we recently had a company rebranded and had our HubSpot templates changed by HubSpot to suit the new look.&lt;BR /&gt;&lt;BR /&gt;However, we have recently had an issue with the image alt text bringing up an error message with our blog posts. I spoke with HubSpot support, and they confirmed that the&amp;nbsp;alt text is being applied.&amp;nbsp;&lt;SPAN&gt;The error is coming from the img tag in the template:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://app-eu1.hubspot.com/design-manager/24975028/code/69259238850#L25" target="_blank" rel="noopener"&gt;https://app-eu1.hubspot.com/design-manager/24975028/code/69259238850#L25&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;So it looks to be an issue because the featured image is also listed as a background image. See below where featured_image is listed twice:&lt;/P&gt;&lt;PRE&gt;&amp;lt;div class="post-featured-image" style="background-image:url('{{content.featured_image}}');" aria-label="{% if content.featured_image_alt_text %}Featured image: {{ content.featured_image_alt_text }} - {% endif %}Read full post: {{ &lt;A href="http://content.name/" target="_blank" rel="noopener"&gt;content.name&lt;/A&gt;|striptags }}" alt="{{ content.featured_image_alt_text }}"&amp;gt;&amp;lt;img src="{{content.featured_image}}" style="visibility: hidden; max-width: 100%;" aria-label="{% if content.featured_image_alt_text %}Featured image: {{ content.featured_image_alt_text }} - {% endif %}Read full post: {{ &lt;A href="http://content.name/" target="_blank" rel="noopener"&gt;content.name&lt;/A&gt;|striptags }}"&amp;gt;&lt;/PRE&gt;&lt;P&gt;The first listing "style="background-image:url('{{content.featured_image}}');" is where it is being flagged for not having alt text.&lt;BR /&gt;&lt;BR /&gt;They recommend I consult with a developer to see if the first listing is cause for concern or if the error can be ignored. Additionally, I was told to reach out on this forum. Has anyone else had the same roadblock before?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&amp;nbsp;&lt;BR /&gt;Kind regards&lt;BR /&gt;Jenine&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 09:05:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Alt-Text-Issue-with-Blog-Image/m-p/888481#M36958</guid>
      <dc:creator>JPieters</dc:creator>
      <dc:date>2023-12-04T09:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alt Text Issue with Blog Image</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Alt-Text-Issue-with-Blog-Image/m-p/888999#M36978</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/279393"&gt;@JPieters&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your question! I'd like to invite some of our community members to the conversation — hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/363300"&gt;@Jnix284&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/61659"&gt;@Stephanie-OG&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/91608"&gt;@alyssamwilie&lt;/a&gt;, can you suggest a next step or troubleshooting tip for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/279393"&gt;@JPieters&lt;/a&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for taking a look! —Jaycee&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 23:14:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Alt-Text-Issue-with-Blog-Image/m-p/888999#M36978</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-12-04T23:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Alt Text Issue with Blog Image</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Alt-Text-Issue-with-Blog-Image/m-p/889483#M36992</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/279393"&gt;@JPieters&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't open the template since I don't have access to your portal, but looking at the code (and assuming the div element is closed somwhere) I notice that:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The alt attribute is being used on the div element instead of the img. It should be moved to the img element instead.&amp;nbsp;This should solve the error you're seeing.&lt;/LI&gt;
&lt;LI&gt;For the div with the background image, I think the aria-label attribute should be enough (*). But you can also do things like add a title attribute or have a hidden element inside (e.g. on the HubSpot boilerplate they use a "show-for-sr" CSS class).&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(*) I'm going to add a little legal disclaimer here to point out that I'm not a web accesibility compliance expert&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope that helps!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 19:06:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Alt-Text-Issue-with-Blog-Image/m-p/889483#M36992</guid>
      <dc:creator>Stephanie-OG</dc:creator>
      <dc:date>2023-12-05T19:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Alt Text Issue with Blog Image</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Alt-Text-Issue-with-Blog-Image/m-p/890938#M37026</link>
      <description>&lt;P&gt;Hi Stephanie,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your feedback, I will give it a go and see if that works. &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 09:25:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Alt-Text-Issue-with-Blog-Image/m-p/890938#M37026</guid>
      <dc:creator>JPieters</dc:creator>
      <dc:date>2023-12-08T09:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Alt Text Issue with Blog Image</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Alt-Text-Issue-with-Blog-Image/m-p/890939#M37027</link>
      <description>&lt;P&gt;Hi Jaycee,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for including others to help, I'm going to try the suggestion by &lt;SPAN&gt;Stephanie. &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 09:27:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Alt-Text-Issue-with-Blog-Image/m-p/890939#M37027</guid>
      <dc:creator>JPieters</dc:creator>
      <dc:date>2023-12-08T09:27:45Z</dc:date>
    </item>
  </channel>
</rss>

