Skip to content

Failure F2 Example 3 should be removed #3514

Open
@dd8

Description

@dd8

Example 3 fails on visual emphasis using font-weight: bold specified via CSS rather than using a semantic element
https://www.w3.org/WAI/WCAG22/Techniques/failures/F2#example-3-using-css-to-visually-emphasize-a-phrase-or-word-without-conveying-that-emphasis-semantically

H49 suggests using the strong element for this:
https://www.w3.org/WAI/WCAG22/Techniques/html/H49

@stevefaulkner did some testing on this in January 2023 https://www.tpgi.com/screen-readers-support-for-text-level-html-semantics/

tl;dr

To quote Steve's post:

the strong and em are not accessibility supported and therefore should not be a factor in accessing conformance with SC 1.3.1:Info and Relationships. Visually identifying emphasised and important text via CSS styles is an accessibility supported method and will be conveyed to SR users when they have the required settings enabled.

On that basis Example 3 shouldn't be a failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions