umbraco / Umbraco-CMS.Accessibility.Issues

6 stars 1 forks source link

Dashboard text - Bold tag used to format text #31

Open umbrabot opened 2 years ago

umbrabot commented 2 years ago

Steps to replicate:

  1. Navigate to opening/home dashboard
  2. Identify text that is visually bold
  3. Bold text not coded in <em> or <strong> tags

Issue: Bold tag used to format text: Words and phrases that are visually emphasized must be contained within semantically correct containers (e.g. with <em> or <strong> element)

Why it matters: People with good vision can infer from visual styling that a word or phrase is especially important. For example, it might be displayed using bold or italic font. Unless the visually emphasized word or phrase is also contained in a semantically correct element, people who use screen readers won't know that it's emphasized.

How to fix: Contain the emphasized word or phrase in a semantically correct element:

W3 reference: https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html