Skip to content

Commit

Permalink
chore: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nico Rehwaldt <[email protected]>
  • Loading branch information
barmac and nikku committed Mar 19, 2024
1 parent 46f64c0 commit 7592d51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/features/search-pad/SearchPad.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion test/spec/features/search-pad/SearchPadSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}));
});
});
Expand Down

0 comments on commit 7592d51

Please sign in to comment.