mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #13566] [MERGED] feat: Accessibility enhancements #38867
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/13566
Author: @sinejespersen
Created: 5/6/2025
Status: ✅ Merged
Merged: 5/7/2025
Merged by: @tjbck
Base:
dev← Head:8908-accessibility-enhancements📝 Commits (6)
0889dd3add close label to close button in changelog modal, only accessible for screen readers86ce111Add aria-labelledby to icon-button to make assistive tech able to give info on what user can expect from button8c6f4f6change divs to labels, as this is what they semantically arec4a3a9cfix text-contrast from 3.71 to 7.55 on dark mode9d8d439remove alt text from logo, as this is decorative and provides no value for assistive tech users263086abreak and indent divs📊 Changes
3 files changed (+23 additions, -10 deletions)
View changed files
📝
src/lib/components/ChangelogModal.svelte(+1 -0)📝
src/lib/components/OnBoarding.svelte(+4 -3)📝
src/routes/auth/+page.svelte(+18 -7)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
As per https://github.com/open-webui/open-webui/discussions/8908
<divto<labelas per Success Criterion 1.3.1: Info and Relationshipsaria-labelledbyto<buttonas per Success Criterion 1.3.1: Info and Relationships<buttonas per Success Criterion 1.3.1: Info and Relationships and 2.4.6 – Headings and Labels (Level AA) and 4.1.2 – Name, Role, Value (Level A).alttext in logo an empty text string"", as per SC 1.1.1: Non-text Content (Level A), with the argument that the logo is decorative, not a link and also the text"logo"doesn't matter.Added
N/A
Changed
Deprecated
N/A
Removed
N/A
Fixed
N/A
Security
N/A
Breaking Changes
N/A
Additional Information
N/A
Screenshots or Videos
Example of button label in html:
Contrast:
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.
Changelog entry
Description
There are a bunch of accessibility issues with the frontend. This solves some of them: labels for inputs, labels for buttons and contrast. It is described better in: https://github.com/open-webui/open-webui/discussions/8908
Changed
<divto<labelas per Success Criterion 1.3.1: Info and Relationshipsaria-labelledbyto<buttonas per Success Criterion 1.3.1: Info and Relationships<buttonas per Success Criterion 1.3.1: Info and Relationships and 2.4.6 – Headings and Labels (Level AA) and 4.1.2 – Name, Role, Value (Level A).alttext in logo an empty text string"", as per SC 1.1.1: Non-text Content (Level A), with the argument that the logo is decorative, not a link and also the text"logo"doesn't matter.Additional information
N/A
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.