Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57902bf commit a68d2a4Copy full SHA for a68d2a4
src/lib/DocSearch.js
@@ -80,6 +80,7 @@ class DocSearch {
80
this.autocompleteOptions.cssClasses || {};
81
this.autocompleteOptions.cssClasses.prefix =
82
this.autocompleteOptions.cssClasses.prefix || 'ds';
83
+ this.autocompleteOptions.ariaLabel = this.autocompleteOptions.ariaLabel || $(this.input)[0].getAttribute('aria-label') || 'search input';
84
85
86
this.isSimpleLayout = layout === 'simple';
0 commit comments