Skip to content

Commit

Permalink
Add accessible name to imageButton.searchButton (fixes #1100) (#1128)
Browse files Browse the repository at this point in the history
  • Loading branch information
LlGC-jop authored Oct 21, 2024
1 parent bda2b8b commit 24f3080
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ export class FooterPanel extends BaseFooterPanel<
this.$searchButton = $(
'<button class="imageButton searchButton"></button>'
);
this.$searchButton.attr('aria-label', this.content.searchWithin);
this.$searchButton.attr('title', this.content.searchWithin);
this.$searchTextContainer.append(this.$searchButton);

// search results.
Expand Down

0 comments on commit 24f3080

Please sign in to comment.