Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Writing Effective Alt Text | Working with Images and Visual Content
HTML Text and Media Foundations

bookWriting Effective Alt Text

The alt attribute provides alternative text for users who cannot see the image. This includes people using screen readers, users with slow internet connections, or those who have images turned off in their browsers. Always include descriptive alt text for informative images and use empty alt attributes for decorative ones. By doing so, you ensure that everyone can understand the content and purpose of your images, regardless of how they access your site.

index.html

index.html

copy

Good alt text is concise and describes the image's function or content. Avoid phrases like "image of..." and never leave alt attributes out. Instead, focus on what the image conveys or the task it helps the user accomplish. This makes your site more accessible and helps users who rely on alternative text to fully understand your content.

Note
Note

Common mistake: using the same alt text for every image or omitting it entirely. This reduces accessibility and can confuse users relying on screen readers.

question mark

What is the main purpose of the alt attribute on an <img> element?

Select the correct answer

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 2

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

Awesome!

Completion rate improved to 6.25

bookWriting Effective Alt Text

Swipe um das Menü anzuzeigen

The alt attribute provides alternative text for users who cannot see the image. This includes people using screen readers, users with slow internet connections, or those who have images turned off in their browsers. Always include descriptive alt text for informative images and use empty alt attributes for decorative ones. By doing so, you ensure that everyone can understand the content and purpose of your images, regardless of how they access your site.

index.html

index.html

copy

Good alt text is concise and describes the image's function or content. Avoid phrases like "image of..." and never leave alt attributes out. Instead, focus on what the image conveys or the task it helps the user accomplish. This makes your site more accessible and helps users who rely on alternative text to fully understand your content.

Note
Note

Common mistake: using the same alt text for every image or omitting it entirely. This reduces accessibility and can confuse users relying on screen readers.

question mark

What is the main purpose of the alt attribute on an <img> element?

Select the correct answer

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 2
some-alt