Use strong element to semantically denote visually emphasised content (#12320)

* Use `strong` element to semantically denote visually emphasised content

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update snapshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add comment

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-03-06 23:34:14 +00:00 committed by GitHub
parent 91020b3d00
commit 26176116bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 23 additions and 19 deletions

View file

@ -137,7 +137,7 @@ export default class SetIdServer extends React.Component<IProps, IState> {
</div>
);
} else if (this.state.error) {
return <span className="warning">{this.state.error}</span>;
return <strong className="warning">{this.state.error}</strong>;
} else {
return null;
}
@ -226,7 +226,7 @@ export default class SetIdServer extends React.Component<IProps, IState> {
title: _t("terms|identity_server_no_terms_title"),
description: (
<div>
<span className="warning">{_t("identity_server|no_terms")}</span>
<strong className="warning">{_t("identity_server|no_terms")}</strong>
<span>&nbsp;{_t("terms|identity_server_no_terms_description_2")}</span>
</div>
),