-
Notifications
You must be signed in to change notification settings - Fork 13
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
SIA-R69: Consider making non-text content not applicable #1166
Comments
We can take inspiration from why we do with R14 to filter them out. |
I saw this case today: |
This is a common case: using the "/" character as a separator for bread crumbs. |
Here's another case: a dash character ("-" or "—" and others maybe). I saw this used in a table cell to mean "no" or "not supported". Also, in the same table, I saw "✓" to mean "yes" or "supported". |
I would say those do need good contrast 🤔 |
I agree. And I see that I was confused. I thought that these contrast rules already have a "textual content only" clause in the applicability, like R14 does. But they do not. So it seems to me that this issue is really proposing to change the applicability - not to clarify it or tweak it, it proposes to radically change it. I don't know whether or not that's a good idea or not. Regardless: I think that if we do change this rule to exclude non-text content, then "-" and "✓" should probably be considered non-text content and therefore excluded. |
I think that there are two concepts at work here: 1) non-text, and 2) decorative. The title of this issue mentions "non-text" and the opening comment mentions "decorative". This implies that "non-text" is the same as "decorative". But that's not true. We can consider all the combinations: a) non-text == false and decorative == false.
b) non-text == false and decorative == true.
c) non-text == true and decorative == false.
d) non-text == true and decorative == true.
Complicating our lives further: the corresponding ACT rule mentions "decorative" and "human language" in the expectation, and this alfa rule doesn't. I don't know what the answer is, but I think that to frame the question properly we need to frame it in terms of both "non-text" and "decorative". |
Another example of "non-text == true and decorative == false": |
I saw "•" used as a breadcrumb separator today. I put this in the category of "non-text == true and decorative ==(probably, usually)== false". |
I saw a case like this today:
I put this in the "non-text == true and decorative == true" category. |
Let's do that as a first step and ignore text nodes that only contain punctuation and symbols. |
I saw a case like this today:
I put this in the category of "non-text == true and decorative == false". |
I came across this case today:
It's not immediately clear to me how this should be categorized. It's definitely decorative == false. But is it text or non-text? The customer in question reported a false positive report for it, but they didn't make an explicitly "non-text" argument. Here is my argument for considering this "text": It's strange text, because the text alone - each "A" - doesn't convey much meaning on its own. The meaning is conveyed by each "A" in relation to the other two "A"s, and that relative meaning - which is most of the meaning - is not contained in the text. But there's still text there - the "A" - because the letter "A" meets WCAG definition of human language . Even if - again - that letter "A" isn't the important thing that the page is trying to communicate to the user. |
I came across this case today (the "/" character):
I put this "/" character in the category of "non-text == true and decorative == false". |
I think this is one of the examples of non-text, but I can't find if it's in an Understanding document or somewhere else 🙈 |
Was it this non-text "i" example?
1.4.1 Use of Color? I don't see the connection. Please explain, if convenient. The "three letter As" example that I mentioned earlier had the same colors (background and foreground) for all three As, and the foreground color was low contrast compared to the background color. Here is a more accurate version of that example, where I've replaced the buttons with links, and added colors:
|
Today I saw a case like this:
|
No, I remember specifically something about letters of different sizes to indicate "change font size" buttons.
My bad, I meant 1.4.11. |
Today I saw a case like this:
I put this "&" character in the category "non-text == false and decorative == false". Currently it fails the rule, which is good. If this issue gets implemented then it will probably have to pass the rule, which will be unfortunate but arguably worth it. It will be a case of introducing a false negative in order to get rid of some false positives. |
Decorative text like
|
,&
, etc. should not be flagged as an issue.The text was updated successfully, but these errors were encountered: