Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Checking accessibility of colour in CSS

Options
LegacyForum
LegacyForum Posts: 1,664 ✭✭
edited December 2016 in SOAtest
Is it possible to check the colour combination for font and background when the style is controlled by CSS.

I need to scan a page and check if the colour difference and brightness meet the accessibility standards. like the report that can be produced by Jucie Studio http://juicystudio.com/article/luminosity-...st-analyser.php which i believe i can download as a javascript. So what i need is a rule that will give me the font colour and background colour which i can then put into the javascript colour checker method. Is this possible?

Cheers

Ylod

Comments

  • LegacyForum
    LegacyForum Posts: 1,664 ✭✭
    Options
    After a web recording, if you right click on an element in the rendered view, you can extract and validate the element's style_color attribute.

    Orson

    Is it possible to check the colour combination for font and background when the style is controlled by CSS.

    I need to scan a page and check if the colour difference and brightness meet the accessibility standards. like the report that can be produced by Jucie Studio http://juicystudio.com/article/luminosity-...st-analyser.php which i believe i can download as a javascript. So what i need is a rule that will give me the font colour and background colour which i can then put into the javascript colour checker method. Is this possible?

    Cheers

    Ylod