diff --git a/framework/core/js/src/forum/components/NotificationGrid.js b/framework/core/js/src/forum/components/NotificationGrid.js index 368829873..ba797c042 100644 --- a/framework/core/js/src/forum/components/NotificationGrid.js +++ b/framework/core/js/src/forum/components/NotificationGrid.js @@ -70,7 +70,14 @@ export default class NotificationGrid extends Component { loading={this.loading[key]} disabled={!(key in preferences)} onchange={this.toggle.bind(this, [key])} - /> + > + + {app.translator.trans('core.forum.settings.notification_checkbox_a11y_label_template', { + description: type.label, + method: method.label, + })} + + ); })} diff --git a/framework/core/locale/core.yml b/framework/core/locale/core.yml index 037e8c1f1..29d407a38 100644 --- a/framework/core/locale/core.yml +++ b/framework/core/locale/core.yml @@ -448,6 +448,7 @@ core: account_heading: Account change_email_button: => core.ref.change_email change_password_button: => core.ref.change_password + notification_checkbox_a11y_label_template: 'Receive "{description}" notifications via {method}' notifications_heading: => core.ref.notifications notify_by_email_heading: => core.ref.email notify_by_web_heading: Web