mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 08:32:25 +01:00
a11y
This commit is contained in:
parent
5d49e41370
commit
c1dfd45f4b
5 changed files with 28 additions and 8 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
:max-width="maxWidth"
|
:max-width="maxWidth"
|
||||||
:fullscreen="fullscreen"
|
:fullscreen="fullscreen"
|
||||||
:transition="fullscreen ? 'dialog-bottom-transition' : undefined"
|
:transition="fullscreen ? 'dialog-bottom-transition' : undefined"
|
||||||
|
:aria-label="title"
|
||||||
>
|
>
|
||||||
<template #default="{ isActive }">
|
<template #default="{ isActive }">
|
||||||
<v-form
|
<v-form
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
:fullscreen="fullscreen"
|
:fullscreen="fullscreen"
|
||||||
:transition="fullscreen ? 'dialog-bottom-transition' : undefined"
|
:transition="fullscreen ? 'dialog-bottom-transition' : undefined"
|
||||||
:scrollable="scrollable"
|
:scrollable="scrollable"
|
||||||
|
:aria-label="title"
|
||||||
>
|
>
|
||||||
<template #default="{ isActive }">
|
<template #default="{ isActive }">
|
||||||
<v-confirm-edit
|
<v-confirm-edit
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
:fullscreen="fullscreen"
|
:fullscreen="fullscreen"
|
||||||
:transition="fullscreen ? 'dialog-bottom-transition' : undefined"
|
:transition="fullscreen ? 'dialog-bottom-transition' : undefined"
|
||||||
max-width="600px"
|
max-width="600px"
|
||||||
|
:aria-label="$formatMessage(titleMessage)"
|
||||||
@after-leave="reset()"
|
@after-leave="reset()"
|
||||||
>
|
>
|
||||||
<template #default="{ isActive }">
|
<template #default="{ isActive }">
|
||||||
|
|
@ -13,13 +14,7 @@
|
||||||
@submit.prevent="generateApiKey()"
|
@submit.prevent="generateApiKey()"
|
||||||
>
|
>
|
||||||
<v-card
|
<v-card
|
||||||
:title="
|
:title="$formatMessage(titleMessage)"
|
||||||
$formatMessage({
|
|
||||||
description: 'Generate API key dialog: title',
|
|
||||||
defaultMessage: 'Generate new API key',
|
|
||||||
id: 'ycrpqO',
|
|
||||||
})
|
|
||||||
"
|
|
||||||
:loading="isLoading"
|
:loading="isLoading"
|
||||||
>
|
>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
|
|
@ -192,4 +187,10 @@ function reset() {
|
||||||
comment.value = ''
|
comment.value = ''
|
||||||
creationError.value = ''
|
creationError.value = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const titleMessage = {
|
||||||
|
description: 'Generate API key dialog: title',
|
||||||
|
defaultMessage: 'Generate new API key',
|
||||||
|
id: 'ycrpqO',
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,14 @@
|
||||||
:src="pageHashKnownThumbnailUrl(event.properties['page file hash'])"
|
:src="pageHashKnownThumbnailUrl(event.properties['page file hash'])"
|
||||||
lazy-src="@/assets/cover.svg"
|
lazy-src="@/assets/cover.svg"
|
||||||
class="my-2"
|
class="my-2"
|
||||||
|
:alt="
|
||||||
|
$formatMessage({
|
||||||
|
description:
|
||||||
|
'History Table, expansion panel for deleted page: alt description for deleted page',
|
||||||
|
defaultMessage: 'Deleted page',
|
||||||
|
id: 'Qxij/I',
|
||||||
|
})
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<template #placeholder>
|
<template #placeholder>
|
||||||
<div class="d-flex align-center justify-center fill-height">
|
<div class="d-flex align-center justify-center fill-height">
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,16 @@
|
||||||
cols="7"
|
cols="7"
|
||||||
sm="10"
|
sm="10"
|
||||||
>
|
>
|
||||||
<v-img src="@/assets/logo.svg" />
|
<v-img
|
||||||
|
src="@/assets/logo.svg"
|
||||||
|
:alt="
|
||||||
|
$formatMessage({
|
||||||
|
description: 'Login page: Komga logo alt text',
|
||||||
|
defaultMessage: 'Komga logo',
|
||||||
|
id: 'uXY7Eg',
|
||||||
|
})
|
||||||
|
"
|
||||||
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue