Use strong
over b
for improved a11y semantics
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
6b384fe9c1
commit
a6e98b0b63
35 changed files with 80 additions and 66 deletions
|
@ -391,7 +391,9 @@ export default class RestoreKeyBackupDialog extends React.PureComponent<IProps,
|
|||
title = _t("restore_key_backup_dialog|enter_phrase_title");
|
||||
content = (
|
||||
<div>
|
||||
<p>{_t("restore_key_backup_dialog|key_backup_warning", {}, { b: (sub) => <b>{sub}</b> })}</p>
|
||||
<p>
|
||||
{_t("restore_key_backup_dialog|key_backup_warning", {}, { b: (sub) => <strong>{sub}</strong> })}
|
||||
</p>
|
||||
<p>{_t("restore_key_backup_dialog|enter_phrase_description")}</p>
|
||||
|
||||
<form className="mx_RestoreKeyBackupDialog_primaryContainer">
|
||||
|
@ -453,7 +455,9 @@ export default class RestoreKeyBackupDialog extends React.PureComponent<IProps,
|
|||
|
||||
content = (
|
||||
<div>
|
||||
<p>{_t("restore_key_backup_dialog|key_backup_warning", {}, { b: (sub) => <b>{sub}</b> })}</p>
|
||||
<p>
|
||||
{_t("restore_key_backup_dialog|key_backup_warning", {}, { b: (sub) => <strong>{sub}</strong> })}
|
||||
</p>
|
||||
<p>{_t("restore_key_backup_dialog|enter_key_description")}</p>
|
||||
|
||||
<div className="mx_RestoreKeyBackupDialog_primaryContainer">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue