Skip to main content

How to Write Alt Text and Filenames for LinkedIn Carousel Blog Images

Name carousel images in short, hyphenated words and write alt text that gives a slide's words or point. Examples for slides, charts, photos and LinkedIn.

Written byMatt Lok
Published on
Updated on
Read time10 min
Alt text and filenames. A web editor in glasses on a call with printed charts on her desk.

Here's how to write alt text and filenames for LinkedIn carousel blog images. Name each file in a few lowercase words joined by hyphens that say what it shows, such as onboarding-mistakes-carousel-cover.png rather than slide-01.png. Then write alt text that gives someone who can't see the image what it adds to the article: the words on a slide, the point of a chart, or an empty alt (alt="") for a photo that's only there for looks.

The rest of this guide covers each image type, a worked example, and what LinkedIn lets you add when the carousel itself goes out.

Filename, alt text and caption do different jobs

ElementWho reads itWhat to writeExample
FilenameSearch engines, and screen readers when alt text is missingA few words saying what the image showsonboarding-mistakes-carousel-cover.png
Alt textScreen reader users and search enginesWhat the image adds, in a phrase or a sentence"Carousel cover: 5 onboarding mistakes that slow new hires down"
CaptionEvery readerWhat to notice, or why the image is there"Slide 1 of the LinkedIn version of this post"

Alt text does the most work. Google's image SEO guide calls it the most important attribute for describing an image, and says a filename gives only "very light clues." Google also reads captions and the text around an image.

Write all three, but don't make them identical. A screen reader user hears both the alt text and the caption, so repeating one in the other wastes their time.

Paste your notes, see them as a carousel

SlideDrift drafts the slides from your notes, a post or a link. Edit them, then export the PDF to post.

Start for $0

Start free, no card. Opens SlideDrift with your text filled in.

How to name image files

Rename every image before you upload it. A name like slide-01.png tells search engines nothing, and W3C's page on decorative images notes that some screen readers announce the file name when an image has no alt attribute.

  • Say what the image shows in a few words. Google prefers my-new-black-kitten.jpg to IMG00023.JPG and suggests avoiding generic names such as image1.jpg or pic.gif.
  • Use hyphens and lowercase. Google's URL guidance recommends hyphens rather than underscores, and treats URLs as case sensitive, so lowercase keeps every name consistent.
  • Start with the topic, then the kind of image: [topic]-[what-it-shows].png, such as carousel-hook-before-after.png, support-tickets-by-week-chart.png or linkedin-document-post-preview.png.
  • Translate the filename when you translate the post, as Google's guide suggests.

Most carousel tools hand you generic names, so plan to rename after every export. In SlideDrift, Share, then Export, then PNG downloads the slides you pick as one ZIP file, as the PNG export guide shows. Unzip it and rename only the slides you'll use.

SlideDrift's Export panel for an 8-slide 1080 × 1350 carousel, with PDF marked best for LinkedIn and PNG described as an image per slide, zipped
PNG gives you one image per slide in a ZIP. PDF is the file for a LinkedIn document post.

If a photo for the article needs cropping first, the free LinkedIn image resizer crops it to a LinkedIn size in your browser and downloads a JPG or PNG. Rename the download before it goes into your blog.

How to write the alt text

Decide what the image is for before you describe it. W3C's alt decision tree walks through the questions. In a post built around a carousel, most images fit one of these cases:

Alt text for carousel post images

ImageWhat the alt text saysExample
A slide whose words aren't anywhere else on the pageThe slide's words, as written"Carousel cover: 5 onboarding mistakes that slow new hires down"
A slide whose words are in the text right beside itNothing. Use an empty alt so screen readers skip italt=""
A chart, diagram or timelineWhat it is and where the details are, with the details written out in the article"Bar chart of support tickets per week. The figures are in the table below."
Several slides in one imageWhat the set shows"Three slides from the carousel: the cover, one mistake and the closing checklist"
A screenshotWhat it shows and what to notice"LinkedIn document post with the carousel's main points written in the post text"
A photo that only sets the moodNothing. Use an empty altalt=""
  • Copy a slide's words exactly when they're the point. W3C's page on images of text says the alternative must contain the same text as the image. You don't need to describe the font or colours.
  • Leave out "image of" and "picture of." Screen readers already announce an image, as W3C's alt text tips point out.
  • Keep it to a phrase or a sentence. When an image needs more, W3C's advice for complex images is a short alt that names the image and says where the full description is, with that description on the page.
  • Write for the listener, not for search. Google warns against filling alt attributes with keywords. Its best example is a plain description: "Dalmatian puppy playing fetch."
  • Never leave the alt attribute out. For an image screen readers should skip, use an empty one, alt="".

Here's the first case in practice. This cover slide's words appear nowhere else in this article, so its alt text gives them in full:

Accessible carousels, 01 of 06. Make your carousel easy to read. Five fixes that help every reader on every screen. Swipe through, then check yours.
Alt text that copies the slide's words, without describing the font or colours.

Captions and placement

Put each slide beside the section it illustrates, not in a gallery at the end. Google's guide asks for images near the text they relate to, and a reader skimming the article sees the slide when it's relevant.

Use the caption for what a sighted reader should notice, such as which slide it is or why it's there. Keep it different from the alt text.

Add images with your blog's image block (an HTML <img> element) rather than as a CSS background image, because Google doesn't index CSS images. PNG files from a slide export can go up as they are: Google supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF.

If you're expanding a carousel into a full article, repurposing a carousel into a blog post covers the structure around the images.

Worked example: four images from one carousel post

Worked example

Naming and describing four images from one carousel

Dana, a made-up HR consultant, has written a post called "5 onboarding mistakes that slow new hires down." She's made a seven-slide carousel from it and exported the slides as PNG files. She uses four images in the article.

The cover slide, under the introduction. She renames slide-01.png to onboarding-mistakes-carousel-cover.png. Its words appear nowhere else on the page, so the alt text gives them: "Carousel cover: 5 onboarding mistakes that slow new hires down." Caption: "Slide 1 of the LinkedIn version of this post."

Slide 4, beside the section it illustrates. She renames it onboarding-mistake-no-first-week-plan.png. The heading and paragraph next to it say the same thing, so it gets an empty alt (alt="") and no caption.

Slide 7, a first-week timeline. She renames it new-hire-first-week-timeline.png. Alt text: "Timeline of a new hire's first week. Each day is described below." Then she writes each day out in the paragraphs under it.

The stock photo at the top. She renames the download new-hire-first-day-desk.jpg. It only sets the mood, so it gets an empty alt. If it showed something the post discusses, such as a filled-in onboarding checklist, she'd describe that instead.

To check the result, listen to the page with a screen reader, such as VoiceOver on a Mac or iPhone or Narrator on Windows. Each image should either add something or stay silent.

Before you publish the post

  • Every image has a descriptive, lowercase, hyphenated filename.
  • Slides whose words aren't on the page have those words as alt text.
  • Slides that repeat the text beside them, and mood photos, have alt="".
  • Charts and timelines have a short alt and the details written out on the page.
  • No caption repeats its image's alt text.
  • Each image sits beside the section it illustrates.

Alt text on LinkedIn

LinkedIn's help page on alt text covers images you share in the feed and images you embed in LinkedIn articles. After you upload an image, select the alt text option below it and write the description. LinkedIn says it may add alt text automatically to images that don't have any, so write your own to say what the image is for.

A carousel posted as a PDF is a document post, and LinkedIn's alt text page doesn't cover documents. LinkedIn's help page on documents has you add a document title instead, to tell members what the document is about. It also notes that members who can view the post can download the document as a PDF, for accessibility.

LinkedIn's Share a document window with a Choose file button and a note that members who can view the post can download the document as a PDF, for accessibility
LinkedIn's document upload. There's no alt text field, so the title and post text carry the description.

So make the document title describe the carousel, and put its main points in the post text where a screen reader can read them. You can't change the document after posting, so check the slides first. The guide to making LinkedIn carousels accessible covers both, and the free LinkedIn post preview shows roughly where your post text cuts off at "see more."

A LinkedIn carousel post previewed in SlideDrift, with post text listing five fixes, the document title '5 ways to make your carousel easier to read' and the first of six PDF pages
The post text lists all five points, and the document title names the carousel.

If you schedule a LinkedIn Image post from SlideDrift (scheduling is on paid plans), the composer won't save it without alt text. When the file you upload has a descriptive name, SlideDrift offers that name as the alt text for you to edit, which is one more reason to rename files. Pasted images start with empty alt text. On a multi-image post alt text is optional, but worth adding. Scheduling LinkedIn posts has the steps.

FAQ

Should alt text include keywords?

Only words that describe the image. Google's image guide warns that filling alt attributes with keywords makes for a poor experience and can look like spam. If a slide says "LinkedIn carousel," its alt text will too; don't add the phrase where the image doesn't show it.

Do image filenames matter for SEO?

A little. Google says a filename gives only very light clues about an image, so a short, descriptive name is enough. The alt text, caption and surrounding text tell it more.

Can you add alt text to a LinkedIn carousel?

Not to one posted as a PDF. LinkedIn's alt text help covers images in feed posts and articles, and a document post has a title instead. Give the document a descriptive title and put the main points in the post text.

Does every image need alt text?

Every image needs an alt attribute, but it doesn't always need words. For images that are decorative or repeat the text beside them, W3C's guidance is an empty alt (alt="") so screen readers skip them.

How long should alt text be?

Usually a phrase or one sentence. W3C asks for the most concise description of the image's purpose. A slide with more words than that is the exception: give all its words if they're the point. For a chart, name it in the alt and write the details on the page.

Should I use PNG or PDF for blog images of slides?

PNG. Each slide becomes its own image file that you can name, describe and place beside its section. Keep the PDF for the LinkedIn document post.

SlideDrift is a LinkedIn content studio: it drafts carousels from your notes, articles or links in your brand, then exports or schedules them. If your post doesn't have a carousel yet, paste a brief like this into the Create box with your post's link on its own line, set the slide count in Preferences, and press Generate:

SlideDrift brief

Make a LinkedIn carousel for [audience] from the blog post at the link below.
Give each slide one point and a short headline that makes sense on its own.
Use the post's own steps, numbers and examples, and add nothing it doesn't say.

[Your blog post link]

Headlines that stand on their own also make short alt text. If SlideDrift can't read the page, paste the post's text instead of the link. The guide to turning a blog post into a carousel covers what to keep and what to cut.

Once you've edited the slides, export PNG for the article: square 1080 × 1080, portrait 1080 × 1350 or stories 1080 × 1920, whichever format the carousel uses. For LinkedIn, export a PDF instead and run the LinkedIn carousel checklist before you upload.

Make a carousel from your blog post

Paste your post's link or text. SlideDrift drafts the slides; you edit them, then export PNG images for the article or a PDF for LinkedIn.

Carousels made in SlideDrift

Brief for this carousel

Make a 6-slide LinkedIn carousel for people who blog about their expertise: how to name and describe carousel images in a blog post. A cover with the answer (descriptive hyphenated filenames, alt text that gives what the image adds), then one point per slide: rename every export, copy a slide's words when they're the point, use an empty alt when nearby text says the same, point charts to a full description, and put the carousel's main points in the LinkedIn post text.

Start free, no card. Opens SlideDrift with this brief filled in.Or start from your own notes