mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-29 06:32:52 +00:00
fix(a11y): each Workspace page has a heading for screen readers (#32911)
This commit is contained in:
parent
bb10ca4719
commit
c90536e21d
5 changed files with 10 additions and 0 deletions
|
|
@ -311,6 +311,8 @@
|
|||
</title>
|
||||
</svelte:head>
|
||||
|
||||
<h1 class="sr-only">{$i18n.t('Knowledge')}</h1>
|
||||
|
||||
{#if loaded}
|
||||
<DeleteConfirmDialog
|
||||
bind:show={showDeleteConfirm}
|
||||
|
|
|
|||
|
|
@ -521,6 +521,8 @@
|
|||
</title>
|
||||
</svelte:head>
|
||||
|
||||
<h1 class="sr-only">{$i18n.t('Models')}</h1>
|
||||
|
||||
{#if loaded}
|
||||
<ModelDeleteConfirmDialog
|
||||
bind:show={showModelDeleteConfirm}
|
||||
|
|
|
|||
|
|
@ -391,6 +391,8 @@
|
|||
</title>
|
||||
</svelte:head>
|
||||
|
||||
<h1 class="sr-only">{$i18n.t('Prompts')}</h1>
|
||||
|
||||
{#if loaded}
|
||||
<DeleteConfirmDialog
|
||||
bind:show={showDeleteConfirm}
|
||||
|
|
|
|||
|
|
@ -343,6 +343,8 @@
|
|||
</title>
|
||||
</svelte:head>
|
||||
|
||||
<h1 class="sr-only">{$i18n.t('Skills')}</h1>
|
||||
|
||||
{#if loaded}
|
||||
<ImportModal
|
||||
bind:show={showImportFromLink}
|
||||
|
|
|
|||
|
|
@ -309,6 +309,8 @@
|
|||
</title>
|
||||
</svelte:head>
|
||||
|
||||
<h1 class="sr-only">{$i18n.t('Tools')}</h1>
|
||||
|
||||
<ImportModal
|
||||
bind:show={showImportModal}
|
||||
onImport={(tool) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue