diff --git a/lib/index.js b/lib/index.js index f5181e53..041d6f59 100644 --- a/lib/index.js +++ b/lib/index.js @@ -60,6 +60,7 @@ MapboxGeocoder.prototype = { this._clearEl = document.createElement('button'); this._clearEl.className = 'geocoder-icon geocoder-icon-close'; + this._clearEl.setAttribute('aria-label', 'Clear'); this._clearEl.addEventListener('click', this._clear); this._loadingEl = document.createElement('span');