open-webui/src/lib
Classic298 5cb87e6630
fix: announce toggle state of integrations menu rows to screen readers (#27667)
Every toggle row in the chat integrations menu (filters, Web Search, Image, Code Interpreter, Tools, Skills) is a button whose on/off state was carried only by the decorative Switch inside it. Screen readers announced the row name and nothing else, so there was no way to tell whether a tool or feature was active without looking at it.

Each row button now carries aria-pressed, and the Switch wrapper is marked inert so the nested role=switch stops competing with the row for the announcement and stops adding a nameless tab stop. Hit testing skips inert content, so clicking the switch still toggles the row.

Tool rows that are not yet authenticated omit aria-pressed: activating those starts an OAuth redirect rather than toggling, so announcing them as an unpressed toggle would be wrong.

The Web Search, Image and Code Interpreter rows also had a state-flipping aria-label ("Disable Web Search") on top of aria-pressed, which announces as "Disable Web Search, pressed" and reads as the opposite of the truth. Removed: the visible row text already names each control.

Fixes #17150
2026-08-13 13:04:13 -06:00
..
apis refac 2026-08-13 00:22:58 -06:00
components fix: announce toggle state of integrations menu rows to screen readers (#27667) 2026-08-13 13:04:13 -06:00
constants refac 2026-07-26 18:06:03 -04:00
i18n refac 2026-08-13 00:07:31 -06:00
pyodide fix: matplotlib SyntaxError in sandboxed Pyodide code execution (#26800) 2026-07-23 23:34:26 -04:00
stores feat: add a user setting to toggle sidebar chat hover previews (#27632) 2026-08-10 23:29:51 -06:00
types chore: format 2024-08-26 15:38:42 +02:00
utils feat: parse :::writing block metadata and use the subject as the block title (#28280) 2026-08-10 19:44:06 -06:00
workers refac 2026-03-24 16:20:29 -05:00
constants.ts refac 2026-07-27 19:39:36 -04:00
dayjs.js chore: format 2025-11-23 20:15:52 -05:00
emoji-groups.json feat: emoji picker 2024-12-30 02:20:09 -08:00
emoji-shortcodes.json feat: emoji picker 2024-12-30 02:20:09 -08:00
index.ts chat feature added 2023-10-08 15:38:42 -07:00
shortcuts.test.ts refac 2026-07-15 04:52:06 -04:00
shortcuts.ts refac 2026-07-27 01:03:10 -04:00