mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[PR #21703] [CLOSED] fix(a11y): add skip-to-content link, semantic landmarks, and allow viewport zoom #41851
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/21703
Author: @Classic298
Created: 2/21/2026
Status: ❌ Closed
Base:
dev← Head:a11y/viewport-skip-link-landmarks📝 Commits (1)
5c6c175fix(a11y): add skip-to-content link, semantic landmarks, and allow viewport zoom📊 Changes
6 files changed (+235 additions, -225 deletions)
View changed files
📝
src/app.html(+191 -197)📝
src/routes/(app)/+layout.svelte(+17 -13)📝
src/routes/+error.svelte(+4 -4)📝
src/routes/+layout.svelte(+8 -4)📝
src/routes/error/+page.svelte(+11 -7)📝
src/routes/watch/+page.svelte(+4 -0)📄 Description
Remove maximum-scale=1 from viewport meta tag to allow users to zoom (WCAG 1.4.4 Resize Text). The previous value prevented pinch-to-zoom and browser zoom on mobile devices.
Add a skip-to-content link in app.html that is visually hidden until focused, allowing keyboard and screen reader users to bypass repetitive navigation and jump directly to the main content area (WCAG 2.4.1 Bypass Blocks).
Wrap AppSidebar in an
Wrap Sidebar in a
landmark and page content in a landmark in the (app)/+layout.svelte, ensuring the primary app shell has correct landmark roles for screen reader navigation.Replace generic
elements in +error.svelte and error/+page.svelte for proper heading hierarchy and page structure.
Add rel='noopener noreferrer' to external links on the error page for security best practices.
Add alt text to the splash screen loading image for screen reader users.
Add a visually-hidden loading message on the watch redirect page so screen readers announce the redirect.
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.