Skip to content
Snippets Groups Projects
Unverified Commit 64c21f7a authored by Arnaud Levy's avatar Arnaud Levy Committed by GitHub
Browse files

added js update on clic (#569)

parent e7fe0bb3
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@ class Note {
this.active = true;
this.note.classList.add('note--active');
this.content.removeAttribute('aria-hidden');
this.call.setAttribute('aria-expanded', 'true');
this.definePosition();
this.a11yDisabling();
}
......@@ -35,6 +36,7 @@ class Note {
this.active = false;
this.content.setAttribute('aria-hidden', 'true');
this.note.classList.remove('note--active');
this.call.setAttribute('aria-expanded', 'false');
this.removeA11yDisabling();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment