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
|
@ -280,7 +280,9 @@ export default class CreateRoomDialog extends React.Component<IProps, IState> {
|
|||
"create_room|join_rule_restricted_label",
|
||||
{},
|
||||
{
|
||||
SpaceName: () => <b>{this.props.parentSpace?.name ?? _t("common|unnamed_space")}</b>,
|
||||
SpaceName: () => (
|
||||
<strong>{this.props.parentSpace?.name ?? _t("common|unnamed_space")}</strong>
|
||||
),
|
||||
},
|
||||
)}
|
||||
|
||||
|
@ -294,7 +296,9 @@ export default class CreateRoomDialog extends React.Component<IProps, IState> {
|
|||
"create_room|join_rule_public_parent_space_label",
|
||||
{},
|
||||
{
|
||||
SpaceName: () => <b>{this.props.parentSpace?.name ?? _t("common|unnamed_space")}</b>,
|
||||
SpaceName: () => (
|
||||
<strong>{this.props.parentSpace?.name ?? _t("common|unnamed_space")}</strong>
|
||||
),
|
||||
},
|
||||
)}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue