Use strong over b for improved a11y semantics
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -98,7 +98,7 @@ export default class HTMLExporter extends Exporter {
|
||||
exportDate,
|
||||
},
|
||||
{
|
||||
roomName: () => <b>{safeRoomName}</b>,
|
||||
roomName: () => <strong>{safeRoomName}</strong>,
|
||||
exporterDetails: () => (
|
||||
<a
|
||||
href={`https://matrix.to/#/${encodeURIComponent(exporter)}`}
|
||||
@@ -107,10 +107,10 @@ export default class HTMLExporter extends Exporter {
|
||||
>
|
||||
{exporterName ? (
|
||||
<>
|
||||
<b>{escapeHtml(exporterName)}</b>I {" (" + safeExporter + ")"}
|
||||
<strong>{escapeHtml(exporterName)}</strong>I {" (" + safeExporter + ")"}
|
||||
</>
|
||||
) : (
|
||||
<b>{safeExporter}</b>
|
||||
<strong>{safeExporter}</strong>
|
||||
)}
|
||||
</a>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user