summaryrefslogtreecommitdiff
path: root/addons/website/static
diff options
context:
space:
mode:
authorkujiu <kujiu@users.noreply.github.com>2018-07-04 09:55:52 +0200
committerGitHub <noreply@github.com>2018-07-04 09:55:52 +0200
commitf90cf060a3cfeb37a67bec83264c0aaab8892b56 (patch)
treefb92375b6d60293cdb49fe2e61fc20bddcd30940 /addons/website/static
parentad0f8fd0b7a468538dfb3bb8c08743913b886e78 (diff)
[FIX] Syntax of icons (#25577)
Description of the issue/feature this PR addresses: Accessibility improvements forbids the use of the syntax `<i class="fa fa-check"/> Some text` to create a labelled icon. But, by this, some fonts are changed. Desired behavior after PR is merged: The old syntax can be used.
Diffstat (limited to 'addons/website/static')
-rw-r--r--addons/website/static/src/js/tours/rte.js2
-rw-r--r--addons/website/static/src/xml/website.contentMenu.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/website/static/src/js/tours/rte.js b/addons/website/static/src/js/tours/rte.js
index cc828154722..7b9964c5e20 100644
--- a/addons/website/static/src/js/tours/rte.js
+++ b/addons/website/static/src/js/tours/rte.js
@@ -9,7 +9,7 @@ tour.register('rte_translator', {
wait_for: base.ready(),
}, [{
content: "click on Add a language",
- trigger: '.js_language_selector a:has(span.fa)',
+ trigger: '.js_language_selector a:has(i.fa)',
}, {
content: "select french",
trigger: 'select[name="lang"]',
diff --git a/addons/website/static/src/xml/website.contentMenu.xml b/addons/website/static/src/xml/website.contentMenu.xml
index 2b98b0d0be7..9cabe61a861 100644
--- a/addons/website/static/src/xml/website.contentMenu.xml
+++ b/addons/website/static/src/xml/website.contentMenu.xml
@@ -46,7 +46,7 @@
Drag a menu to the right to create a sub-menu
</small>
<a href="#" class="js_add_menu">
- <span class="fa fa-plus-circle"> Add Menu Entry</span>
+ <i class="fa fa-plus-circle"/> Add Menu Entry
</a>
</div>
</div>