Skip to content

Commit

Permalink
Merge pull request #25 from tilde-nlp/fix/adding-image-role
Browse files Browse the repository at this point in the history
adding role=presentation to lang menu mt icons
  • Loading branch information
alexattt authored Jul 23, 2024
2 parents 4714867 + 84a11cf commit 49cdd0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/ui/LanguageMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ export class LanguageMenu implements ILanguageSelect {
if (item.machineTranslated) {
const img = document.createElement('img')
img.src = settingsIcon
img.role = "presentation";

this.subscriptions.push(
this.uiLocalization.subscribe({
Expand Down

0 comments on commit 49cdd0f

Please sign in to comment.