Simpletest really needs to add an icon of some sort to the list of tests so that it is easier to find broken tests. We've addressed this in other parts of the UI & just need to apply it to the Testing infrastructure - admin/config/development/testing/results/3

As a practical example for how a user with over 20/20 vision can benefit from this, I reverse my screen colors so that I can work late at night and not disturb my partner when I'm working on bugs with Drupal. With the colors reversed I have no idea when there is a failed test or not as I can't distinguish easily by color.

WCAG reference is:
http://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-wit...

Comments

star-szr’s picture

Could you please provide a screenshot? I'm not clear which part of the UI you're talking about here. On admin/config/development/testing/results/NUM, there is a 'status' column on the right that shows an icon for each assertion.

mgifford’s picture

StatusFileSize
new101.88 KB

Here's an example from /batch?op=start&id=9

mgifford’s picture

StatusFileSize
new122.38 KB

More importantly though, compare what it looks like to 90% of us:
Simple Test Color

to what it looks like if you strip out the red/green using something like http://colorfilter.wickline.org/
Simple Test Color - No Red or Green

Adding an icon for failures (as we have with other error messages) would help.

mgifford’s picture

Issue summary: View changes
Issue tags: +color contrast
StatusFileSize
new38.68 KB

The green is now #33A333 which only works on large text http://leaverou.github.io/contrast-ratio/#%2333A333-on-white

I haven't checked that the red is good (as all the tests are passing here).

EDIT: The main point here though would be to have a check or cross associated with each test to give a quick visual representation of whether the test worked or not. Something that does not rely on color.

mgifford’s picture

Version: 8.0.x-dev » 8.1.x-dev

Let's look at this in 8.1

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

kattekrab’s picture

StatusFileSize
new96.91 KB

Has this been resolved?

I followed the instructions on how to Run Tests.

This gives results that do show status icons as well as colour.

Although I would consider moving the status column to the beginning of the row rather than the end

mgifford’s picture

Status: Active » Closed (outdated)

This looks good to me from an accessibility point of view. Moving the icon would be an improvement though as it isn't generally where folks expect that type of thing to be.

I haven't tested this recently but will close the issue based on the screenshot. Thanks.