Skip to content

Commit a756860

Browse files
susnuxbackportbot[bot]
authored andcommitted
fix(theming): mark background button text as English
fix(theming): mark background button text as English The description of the backgrounds are not translated, so we must mark them as English. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> [skip ci]
1 parent 55ae3eb commit a756860

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/theming/src/components/UserSectionBackground.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ async function pickFile() {
229229
v-for="shippedBackground in shippedBackgrounds"
230230
:key="shippedBackground.name"
231231
:title="shippedBackground.details.attribution"
232-
:aria-label="shippedBackground.details.description"
233232
:aria-pressed="currentBackgroundImage === shippedBackground.name"
234233
class="button-vue"
235234
:class="$style.backgroundSelect__entry"
@@ -242,6 +241,9 @@ async function pickFile() {
242241
v-if="currentBackgroundImage === shippedBackground.name"
243242
:class="$style.backgroundSelect__entryIcon"
244243
:path="mdiCheck" />
244+
<span class="hidden-visually" lang="en">
245+
{{ shippedBackground.details.description }}
246+
</span>
245247
</button>
246248
</fieldset>
247249
</fieldset>

0 commit comments

Comments
 (0)