-
Notifications
You must be signed in to change notification settings - Fork 530
Port "author choice" for logo contrast exception to (text) contrast; add cross-reference from text to non-text for graphic/symbol use #5297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7184774
05f90ae
4db6190
6e421e1
ebd9650
4fee6c7
56d9176
f07e6e0
8369935
8b09167
ce88e54
14626b4
0c9b75b
44ccd24
58d7228
3b88162
64c9ed4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -93,25 +93,23 @@ <h2>Intent of Contrast (Enhanced)</h2> | |
| <p>This requirement applies to situations in which images of text were intended to be | ||
| understood as text. Incidental text, such as in photographs that happen to include | ||
| a street sign, are not included. Nor is text that for some reason is designed to be | ||
| invisible to all viewers. Stylized text, such as in corporate logos, should be treated | ||
| in terms of its function on the page, which may or may not warrant including the content | ||
| in the text alternative. Corporate visual guidelines beyond logo and logotype are | ||
| not included in the exception. | ||
|
|
||
| invisible or hard to discern to all viewers. | ||
| </p> | ||
|
|
||
| <p>Beyond logos and logotypes, text that has insufficient contrast due to corporate identity or | ||
| brand guidelines is <em>not</em> exempted from the requirements of this criterion.</p> | ||
|
|
||
| <p>In this provision there is an exception that reads "that are part of a picture that | ||
| contains significant other visual content,". This exception is intended to separate | ||
| pictures that have text in them from images of text that are done to replace text | ||
| in order to get a particular look. | ||
| in order to get a particular look. | ||
| </p> | ||
|
|
||
| <div class="note"> | ||
|
|
||
| <p>Images of text do not scale as well as text because they tend to pixelate. It is also | ||
| harder to change foreground and background contrast and color combinations for images | ||
| of text, which is necessary for some users. See <a href="images-of-text">1.4.5 Images of Text</a>. | ||
|
|
||
| </p> | ||
|
|
||
| </div> | ||
|
|
@@ -128,16 +126,37 @@ <h2>Intent of Contrast (Enhanced)</h2> | |
| </p> | ||
|
|
||
| <div class="note"> | ||
| <p>There are cases where text is heavily stylized – for instance, using a very ornate or distorted typeface – to the point where it acts more as a graphic, rather than text. Similarly, there are situations where text characters are used as symbols – used for their visual appearance, rather than <q>expressing something in human language</q>. These cases fall under the definition of <a>non-text content</a> and the requirements of <a href="non-text-contrast">1.4.11 Non-text Contrast</a>.</p> | ||
| <figure id="figure-text-stylized"> | ||
| {% include "./img/1.4.3-1.4.6-stylized-text.svg" %} | ||
| <figcaption>Text using a geometric typeface – arguably acting as an image/non-text content.</figcaption> | ||
| </figure> | ||
| <figure id="figure-text-symbols"> | ||
| {% include "./img/1.4.3-1.4.6-buttons-text-symbols.svg" %} | ||
| <figcaption>Even though the two buttons use text characters — an uppercase <q>X</q>, often used for "Close" buttons, and a <q>></q> character, to act as a right-pointing arrow — they count as non-text characters/symbols. Their contrast ratio of just above 3:1 passes <a href="non-text-contrast">Success Criterion 1.4.11 Non-Text Contrast</a>.</figcaption> | ||
| </figure> | ||
| </div> | ||
|
|
||
| <section> | ||
| <h3>Logos</h3> | ||
| <p>Text used as part of a logo or logotype is exempted from contrast requirements, | ||
| under the assumption that logos/logotypes must comply with stricter color choices mandated | ||
| by corporate identity or brand guidelines. However, this can be problematic when | ||
| by corporate identity or brand guidelines.</p> | ||
| <p>However, this can be problematic when | ||
| logos or logotypes act as <a>user interface components</a> (such as a link or | ||
| other interactive control). In these cases, as a best practice, authors should consider | ||
| other interactive control). In these cases, as a recommended practice, authors should consider | ||
| choosing a variant of the logo or logotype that has sufficient text contrast, if allowed by the | ||
| corporate identity or brand guidelines. Alternatively, authors should consider providing an | ||
| equivalent <a>user interface component</a> which serves the same purpose and meets | ||
| contrast requirements.</p> | ||
| </div> | ||
| <p>If logos normally have sufficient contrast but are presented with an insufficient contrast as an author choice, | ||
| rather than because of corporate identity or brand guidelines, then that particular low contrast | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just to play devil's advocate, how would we treat cases where the CI brand guidelines demonstrably say, "In the footer or our product pages, the corporate logo is to be rendered in a muted grey with a contrast of 2:1"?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. then that's set by the CI which is exempted (because poor web devs can't go against the wishes of their silly branding team) |
||
| presentation is <em>not</em> exempt from the contrast requirements.</p> | ||
| <figure id="figure-low-contrast-logos-author-choice"> | ||
| <img src="img/1.4.3-1.4.6-logos-author-choice-logos.png" alt="A heading: 'ACME tool is trusted by the world's most innovative companies.'; below the heading, a series of nine company logos, all presented as very dark grey logos on the page's black background, with very low contrast; one logo is hovered with the mouse, and is displayed in white, with high contrast against the page background."> | ||
| <figcaption>An author chooses to present company logos with low contrast by default, until they are hovered; the fact that these are logos doesn't exempt this scenario from failing the requirements of this success criterion, as the initial low contrast presentation is not "essential"</figcaption> | ||
| </figure> | ||
| </section> | ||
|
|
||
| <section> | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.