MDL-78294 filter_glossary: Use <strong> to convey semantic meaning

It is better to use <strong> instead of <b> for accessibility as
<strong> is a semantic tag that convey to screen reader users that
the Attachments text is important. <b> on the other hand just makes
the text bold and is only for presentation and has no semantic meaning.
This commit is contained in:
Jun Pataleta 2023-11-28 13:11:35 +08:00
parent 0fe5369869
commit d3939d8193
No known key found for this signature in database
GPG key ID: F83510526D99E2C7

View file

@ -60,7 +60,7 @@
</div> </div>
{{/taglistdata}} {{/taglistdata}}
{{#hasattachments}} {{#hasattachments}}
<b>{{#str}} attachments, filter_glossary {{/str}}:</b> <strong>{{#str}} attachments, filter_glossary {{/str}}:</strong>
<ul> <ul>
{{#attachments}} {{#attachments}}
<li> <li>