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