Skip to content

Commit

Permalink
Update image-no-text assumption (#2149)
Browse files Browse the repository at this point in the history
* Update image-no-text assumption

As discussed here: w3c/wcag#3549 (reply in thread)

* Update _rules/image-no-text-0va7u6.md

Co-authored-by: Dan Bjorge <[email protected]>

---------

Co-authored-by: Dan Bjorge <[email protected]>
  • Loading branch information
WilcoFiers and dbjorge authored Dec 18, 2023
1 parent 7ec4f79 commit 5e2e06a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _rules/image-no-text-0va7u6.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ Each test target has no [visible][] [text][human language], except if at least o

## Assumptions

- There is no mechanism to change the rendered text in the image resource. Otherwise, the rule might fail while [SC 1.4.5 Images of Text][sc1.4.5] might be satisfied.
- The specific presentation of the text rendered in the image resource can be achieved through formatted text. Otherwise, the rule might fail while [SC 1.4.5 Images of Text][sc1.4.5] might be satisfied.
- This rule assumes that there is no mechanism to change the rendering of text within image resources on the page. For pages that *do* provide such a mechanism, this rule might fail even if [SC 1.4.5 Images of Text][sc1.4.5] is satisfied.
- When used in HTML, the SVG `<text>` element is not considered to be an image of text. This is because like any other element in HTML, SVG `<text>` can be adjusted through custom style sheets. This does not apply for SVG text that is in a separate file, and displayed through, for example, the `img` element.

## Accessibility Support
Expand Down

0 comments on commit 5e2e06a

Please sign in to comment.