summaryrefslogtreecommitdiffstats
path: root/client/lib/accessibility.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/lib/accessibility.js')
-rw-r--r--client/lib/accessibility.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/client/lib/accessibility.js b/client/lib/accessibility.js
index 52b771d4..3776e937 100644
--- a/client/lib/accessibility.js
+++ b/client/lib/accessibility.js
@@ -27,10 +27,7 @@ function copyTitleInAriaLabel(attributes) {
// which is a little bit hacky -- but still reasonable with our ES6 usage. If we
// end up switching to React we will probably create lower level small
// components to handle that without overwriting any build-in function.
-const {
- A: superA,
- I: superI,
-} = HTML;
+const { A: superA, I: superI } = HTML;
HTML.A = (attributes, ...others) => {
return superA(copyTitleInAriaLabel(enforceHref(attributes)), ...others);