From 0bc02564bc046f8f929622a4e6f530bcac1215bb Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 13 Dec 2019 14:31:34 +0000 Subject: [PATCH] Improve a11y of the unignore button in Settings --- .../views/settings/tabs/user/SecurityUserSettingsTab.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/views/settings/tabs/user/SecurityUserSettingsTab.js b/src/components/views/settings/tabs/user/SecurityUserSettingsTab.js index 98ec18df5a..8f4e909d9d 100644 --- a/src/components/views/settings/tabs/user/SecurityUserSettingsTab.js +++ b/src/components/views/settings/tabs/user/SecurityUserSettingsTab.js @@ -37,12 +37,13 @@ export class IgnoredUser extends React.Component { }; render() { + const id = `mx_SecurityUserSettingsTab_ignoredUser_${this.props.userId}`; return (
- - {_t('Unignore')} + + { _t('Unignore') } - {this.props.userId} + { this.props.userId }
); }