mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
A11Y: Label site setting buttons (#29348)
This commit is contained in:
@@ -58,11 +58,13 @@
|
|||||||
@action={{this.update}}
|
@action={{this.update}}
|
||||||
@icon="check"
|
@icon="check"
|
||||||
@disabled={{this.disableSaveButton}}
|
@disabled={{this.disableSaveButton}}
|
||||||
|
@ariaLabel="admin.settings.save"
|
||||||
class="ok setting-controls__ok"
|
class="ok setting-controls__ok"
|
||||||
/>
|
/>
|
||||||
<DButton
|
<DButton
|
||||||
@action={{this.cancel}}
|
@action={{this.cancel}}
|
||||||
@icon="xmark"
|
@icon="xmark"
|
||||||
|
@ariaLabel="admin.settings.cancel"
|
||||||
class="cancel setting-controls__cancel"
|
class="cancel setting-controls__cancel"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -71,6 +73,7 @@
|
|||||||
<DButton
|
<DButton
|
||||||
@action={{this.toggleSecret}}
|
@action={{this.toggleSecret}}
|
||||||
@icon="far-eye-slash"
|
@icon="far-eye-slash"
|
||||||
|
@ariaLabel="admin.settings.unmask"
|
||||||
class="setting-toggle-secret"
|
class="setting-toggle-secret"
|
||||||
/>
|
/>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|||||||
@@ -6989,6 +6989,9 @@ en:
|
|||||||
history: "View change history"
|
history: "View change history"
|
||||||
reset: "reset"
|
reset: "reset"
|
||||||
none: "none"
|
none: "none"
|
||||||
|
save: "save"
|
||||||
|
cancel: "cancel"
|
||||||
|
unmask: "unmask input"
|
||||||
site_settings:
|
site_settings:
|
||||||
emoji_list:
|
emoji_list:
|
||||||
invalid_input: "Emoji list should only contain valid emoji names, eg: hugs"
|
invalid_input: "Emoji list should only contain valid emoji names, eg: hugs"
|
||||||
|
|||||||
Reference in New Issue
Block a user