Use strong
instead of CSS font-weight
Accessibility Checkpoint
Description
Use semantic markup like strong
instead of using the CSS font-weight
property.
Help
Use the strong
element instead of the span
element for bold text.
Applicable standards
- WCAG 2.0 F2 (Success Criteria: 1.3.1 level A)
- WCAG 2.1 F2 (Success Criteria: 1.3.1 level A)
- WCAG 2.2 F2 (Success Criteria: 1.3.1 level A)
- Section 508 (2017) F2 (Success Criteria: 1.3.1 level A)
Note: Section 508 Refresh (2017) checkpoints are equivalent to WCAG 2.0 level A and level AA checkpoints.
Change history
- 6.54 Oct 2024 Fixed false positive.
- 6.52 Apr 2024 Fixed false positive on elements with global ARIA attributes.
- 5.39 Nov 2020 Fixed false positive.
- 5.37 May 2020 Fixed false positive.
- 5.36 Jan 2020 Now uses CSS cascade.
- 3.0 Dec 2008 Added.
This page describes a web site issue detected in HTML documents by SortSite Desktop and OnDemand Suite.
Rule ID: AccWcag2-F2-3