summaryrefslogtreecommitdiffstats
path: root/apps/accessibility/src
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2019-02-21 11:57:54 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-02-21 16:22:29 +0100
commit0816123f67c57487072e3b6208bbc3017ada175c (patch)
tree634254d59e6c02265db95aaa149710f9d008c556 /apps/accessibility/src
parent91a582a3ad43c11b1806482edf91579fb2f20881 (diff)
downloadnextcloud-server-0816123f67c57487072e3b6208bbc3017ada175c.tar.gz
nextcloud-server-0816123f67c57487072e3b6208bbc3017ada175c.zip
Convert to Raw HTML approach, first try
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/accessibility/src')
-rw-r--r--apps/accessibility/src/App.vue21
1 files changed, 17 insertions, 4 deletions
diff --git a/apps/accessibility/src/App.vue b/apps/accessibility/src/App.vue
index 7c86b4287f0..892e1ae8288 100644
--- a/apps/accessibility/src/App.vue
+++ b/apps/accessibility/src/App.vue
@@ -1,10 +1,8 @@
<template>
<div id="accessibility" class="section">
<h2>{{t('accessibility', 'Accessibility')}}</h2>
- <p>
- {{t('accessibility', 'Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders.')}} We aim to be compliant with the <a target="_blank" href="https://www.w3.org/WAI/standards-guidelines/wcag/" rel="noreferrer nofollow">Web Content Accessibility Guidelines</a> 2.1 on AA level, with the high contrast theme even on AAA level.</br>
- If you find any issues, don’t hesitate to report them on <a target="_blank" href="https://github.com/nextcloud/server/issues/" rel="noreferrer nofollow">our issue tracker</a>. And if you want to get involved, come join <a target="_blank" href="https://nextcloud.com/design" rel="noreferrer nofollow">our design team</a>!
- </p>
+ <p v-html="description" />
+ <p v-html="descriptionDetail" />
<div class="preview-list">
<preview v-for="preview in themes" :preview="preview"
@@ -50,6 +48,21 @@ export default {
theme: this.serverData.theme,
font: this.serverData.font
};
+ },
+ description() {
+ return t('accessibility', 'Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines} 2.1 on AA level, with the high contrast theme even on AAA level.', {guidelines: this.guidelinesLink})
+ },
+ guidelinesLink() {
+ return `<a target="_blank" href="https://www.w3.org/WAI/standards-guidelines/wcag/" rel="noreferrer nofollow">${t('accessibility', 'Web Content Accessibility Guidelines')}</a>`
+ },
+ descriptionDetail() {
+ return t('accessibility', 'If you find any issues, don’t hesitate to report them on {issuetracker}. And if you want to get involved, come join {designteam}!', {issuetracker: this.issuetrackerLink, designteam: this.designteamLink})
+ },
+ issuetrackerLink() {
+ return `<a target="_blank" href="https://github.com/nextcloud/server/issues/" rel="noreferrer nofollow">${t('accessibility', 'our issue tracker')}</a>`
+ },
+ designteamLink() {
+ return `<a target="_blank" href="https://nextcloud.com/design" rel="noreferrer nofollow">${t('accessibility', 'our design team')}</a>`
}
},
methods: {