diff --git a/lib/features/search-pad/SearchPad.js b/lib/features/search-pad/SearchPad.js index 6d5f89dd5..a830636e1 100644 --- a/lib/features/search-pad/SearchPad.js +++ b/lib/features/search-pad/SearchPad.js @@ -458,7 +458,7 @@ SearchPad.prototype._getBoxHtml = function() { const input = domQuery(SearchPad.INPUT_SELECTOR, box); if (input) { - input.setAttribute('aria-label', this._translate('Search')); + input.setAttribute('aria-label', this._translate('Search in diagram')); } return box; diff --git a/test/spec/features/search-pad/SearchPadSpec.js b/test/spec/features/search-pad/SearchPadSpec.js index 5bd1045c3..a522732fa 100644 --- a/test/spec/features/search-pad/SearchPadSpec.js +++ b/test/spec/features/search-pad/SearchPadSpec.js @@ -463,7 +463,7 @@ describe('features/searchPad', function() { var input = domQuery(SearchPad.INPUT_SELECTOR, canvas.getContainer()); // then - expect(input.getAttribute('aria-label')).to.eql('Search'); + expect(input.getAttribute('aria-label')).to.eql('Search in diagram'); })); }); });