From 2b9d475eb1770c99daea705aefc6c9264103b1e6 Mon Sep 17 00:00:00 2001 From: Sylvain Pace Date: Mon, 13 May 2019 13:05:49 +0200 Subject: [PATCH] Revert "fix: search input a11y issue (#679)" This reverts commit a68d2a4a03c1493ba951b9698f8dc6b02d624428. --- src/lib/DocSearch.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/DocSearch.js b/src/lib/DocSearch.js index e9be0556d..0bcd168da 100644 --- a/src/lib/DocSearch.js +++ b/src/lib/DocSearch.js @@ -80,7 +80,6 @@ class DocSearch { this.autocompleteOptions.cssClasses || {}; this.autocompleteOptions.cssClasses.prefix = this.autocompleteOptions.cssClasses.prefix || 'ds'; - this.autocompleteOptions.ariaLabel = this.autocompleteOptions.ariaLabel || $(this.input)[0].getAttribute('aria-label') || 'search input'; this.isSimpleLayout = layout === 'simple';