mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-26 22:49:41 -05:00
[PR #24336] [CLOSED] fix(a11y): add descriptive alt text to images with empty alt attributes #98644
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/24336
Author: @VincentDev007
Created: 5/3/2026
Status: ❌ Closed
Base:
dev← Head:a11y/add-alt-text📝 Commits (1)
78076b9fix(a11y): add descriptive alt text to images with empty alt attributes📊 Changes
5 files changed (+7 additions, -7 deletions)
View changed files
📝
src/lib/components/channel/WebhookItem.svelte(+2 -2)📝
src/lib/components/chat/Messages/UserMessage.svelte(+1 -1)📝
src/lib/components/chat/Navbar.svelte(+1 -1)📝
src/lib/components/playground/Images.svelte(+2 -2)📝
src/routes/auth/+page.svelte(+1 -1)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions to discuss your idea/fix with the community before creating a pull request, and describe your changes before submitting a pull request.
This is to ensure large feature PRs are discussed with the community first, before starting work on it. If the community does not want this feature or it is not relevant for Open WebUI as a project, it can be identified in the discussion before working on the feature and submitting the PR.
Before submitting, make sure you've checked the following:
devbranch. PRs targetingmainwill be immediately closed.devto ensure no unrelated commits (e.g. frommain) are included. Push updates to the existing PR branch instead of closing and reopening.Changelog Entry
Description
alt=""attributes on meaningful images, making them inaccessible to screen reader users (WCAG 2.1 SC 1.1.1).Added
Changed
src/lib/components/chat/Navbar.sveltealt=""alt={$user?.name ? $i18n.t("{{name}}'s avatar", { name: $user.name }) : ""}src/lib/components/playground/Images.sveltealt=""alt={$i18n.t('Generated image')}src/lib/components/playground/Images.sveltealt=""alt={$i18n.t('Source image')}src/lib/components/channel/WebhookItem.sveltealt=""alt={name}src/routes/auth/+page.sveltealt=""alt="Open WebUI logo"src/lib/components/chat/Messages/UserMessage.sveltealt={$i18n.t('Uploaded image')}Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
aria-label) were intentionally left withalt=""Screenshots or Videos
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.