mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Improve emoji accessibility
This commit is contained in:
parent
f9bf435b80
commit
dfa4a16f35
@ -421,7 +421,7 @@ draft: false
|
||||
if (kv !== undefined) {
|
||||
const [val, unsafe] = kv[1]
|
||||
if (unsafe) {
|
||||
td.append($("<span/>", { title: "unsafe value", style: "font-family: color-emoji;" }).text('⚠'))
|
||||
td.append($("<span/>", { title: "unsafe value", role:"img", "aria-label":"Warning", style: "font-family: color-emoji;" }).text('⚠'))
|
||||
}
|
||||
if (unsafe && !$("#cb_unsafe").is(':checked')) {
|
||||
td.append($("<s/>").append(val.toString()))
|
||||
@ -448,7 +448,7 @@ draft: false
|
||||
{{< getDataFilesName >}}
|
||||
<noscript>
|
||||
<p style="background-color: red; color: white; font-size: 20; font-weight: bold;">
|
||||
<span role="img" style="font-family: color-emoji; font-weight: normal;">⚠</span>
|
||||
<span role="img" aria-label="Warning" style="font-family: color-emoji; font-weight: normal;">⚠</span>
|
||||
<span>This website work only if JavaScript is enable. You must enable
|
||||
JavaScript.
|
||||
<a href="https://www.enable-javascript.com/" target="_blank">How to enable JavaScript ?</a></span>
|
||||
|
Loading…
Reference in New Issue
Block a user