Feat(settings): add renderer for settings configuration #142

Merged
jakob.scheid merged 88 commits from feature/settings-renderer into main 2026-07-28 20:14:50 +02:00
3 changed files with 17 additions and 3 deletions
Showing only changes of commit 79267d0059 - Show all commits
3
@@ -70,7 +70,11 @@ const labelId = useId();
</div>
<ul class="options-list" :aria-labelledby="labelId">
jakob.scheid marked this conversation as resolved Outdated
Outdated
Review

Please add a title and aria-label attributes.

Please add a `title` and `aria-label` attributes.
<li v-for="option in props.setting.options" :key="option.name">
<label class="settings-button" :title="t(option.i18n)">
<label
class="settings-button"
:title="t(option.i18n)"
:aria-label="t('settings.selection.option.ariaLabel', { option: t(option.i18n) })"
>
<input
:type="optionType"
:name="props.path"
+6 -1
View File
@@ -55,6 +55,11 @@
"ariaLabel": "Geht zur Einstellungsseite {page}"
}
},
"noSectionSelected": "Kein Einstellungsabschnitt ist ausgewählt."
"noSectionSelected": "Kein Einstellungsabschnitt ist ausgewählt.",
"selection": {
"option": {
"ariaLabel": "Wählt die Option {option} aus"
}
}
}
}
+6 -1
View File
@@ -55,6 +55,11 @@
"ariaLabel": "Goes to settings page {page}"
}
},
"noSectionSelected": "No settings section is selected."
"noSectionSelected": "No settings section is selected.",
"selection": {
"option": {
"ariaLabel": "Selects option {option}"
}
}
}
}