Skip to content

Commit

Permalink
fix: no distinction between send email buttons for screenreaders
Browse files Browse the repository at this point in the history
  • Loading branch information
BGruenberg committed Dec 2, 2024
1 parent 8ed9839 commit 518bd20
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/links/links.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ <h2 class="link-description" data-id="inviteLinkDescription">
class="col-12 col-md-auto btn btn-transparent text-primary"
data-id="inviteLinkEmail"
type="button"
[attr.aria-description]="'links.invite.base' | translate"
>
{{ 'links.email.send' | translate }}
</button>
Expand Down Expand Up @@ -99,6 +100,7 @@ <h2 class="link-description" data-id="adminLinkDescription">
class="col-12 col-md-auto btn btn-transparent text-primary"
data-id="linkAdmin"
type="button"
[attr.aria-description]="'links.admin.base' | translate"
>
{{ 'links.email.send' | translate }}
</button>
Expand Down
2 changes: 2 additions & 0 deletions src/locales/de-DE-du.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,15 @@
},
"links": {
"admin": {
"base": "Adminlink",
"copy": "Adminlink kopieren",
"copyFailed": "Adminlink konnte nicht kopiert werden",
"copySuccess": "Adminlink kopiert",
"description": "Mit dem folgenden Link kannst Du Deine Umfrage bearbeiten.",
"open": "Umfrage bearbeiten"
},
"invite": {
"base": "Einladungslink",
"copy": "Einladungslink kopieren",
"copyFailed": "Einladungslink konnte nicht kopiert werden",
"copySuccess": "Einladungslink kopiert",
Expand Down
2 changes: 2 additions & 0 deletions src/locales/de-DE-sie.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,15 @@
},
"links": {
"admin": {
"base": "Adminlink",
"copy": "Adminlink kopieren",
"copyFailed": "Adminlink konnte nicht kopiert werden",
"copySuccess": "Adminlink kopiert",
"description": "Mit dem folgenden Link kannst Du Deine Umfrage bearbeiten.",
"open": "Umfrage bearbeiten"
},
"invite": {
"base": "Einladungslink",
"copy": "Einladungslink kopieren",
"copyFailed": "Einladungslink konnte nicht kopiert werden",
"copySuccess": "Einladungslink kopiert",
Expand Down
2 changes: 2 additions & 0 deletions src/locales/en-EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,15 @@
},
"links": {
"admin": {
"base": "admin link",
"copy": "Copy admin link",
"copyFailed": "Admin link could not be copied",
"copySuccess": "Admin link copied",
"description": "You can change your poll with this link.",
"open": "Edit poll"
},
"invite": {
"base": "invite link",
"copy": "Copy invite link",
"copyFailed": "Invite link could not be copied",
"copySuccess": "Invite link copied",
Expand Down
2 changes: 2 additions & 0 deletions src/locales/platt.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,15 @@
},
"links": {
"admin": {
"base": "Admin-Lenk",
"copy": "Admin-Lenk koperen",
"copyFailed": "Kunn de Admin-Lenk nich koperen",
"copySuccess": "Admin-Lenk kopeert",
"description": "Mit dat folgen Lenk kannst du dien Umfraag bearbeiten.",
"open": "Umfraag ännern"
},
"invite": {
"base": "Inladungslink",
"copy": "Inladungslink kopieren",
"copyFailed": "Kunn de Inladungslink nich koperen",
"copySuccess": "Inladungslink kopiert",
Expand Down

0 comments on commit 518bd20

Please sign in to comment.