aboutsummaryrefslogtreecommitdiff
path: root/ps
diff options
context:
space:
mode:
authorhellekin <how@cepheide.org>2023-05-11 16:57:32 +0200
committerhellekin <how@cepheide.org>2023-05-11 17:01:55 +0200
commitc85215f7576f64b78ed5dd087ac4277347578be0 (patch)
treeadf32fd4129b3882e1a4d11ce0a054169935d4ba /ps
parent19a5ed66133bdc12a1351ff6f734a0bb2a02b5a0 (diff)
downloadlesoiseaux.io-c85215f7576f64b78ed5dd087ac4277347578be0.tar.gz
Make sine wave compliant with RGAA v4 (2021)
Diffstat (limited to 'ps')
-rw-r--r--ps/gfx/sine.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ps/gfx/sine.js b/ps/gfx/sine.js
index 7ed0e03..0fcf988 100644
--- a/ps/gfx/sine.js
+++ b/ps/gfx/sine.js
@@ -31,6 +31,8 @@
const svg = view.append('svg')
.attr('width', bbox.width + margin.left + margin.right)
.attr('height', bbox.height + margin.top + margin.bottom)
+ .attr('role', 'presentation')
+ .attr('aria-hidden', 'true')
.append('g')
.attr('transform',function(){
var x1 = bbox.x + bbox.width / 2