• Resolved stanbub

    (@caroline72)


    Hi – for some reason Accessibility Checker isn’t detecting some obvious contrast errors on a page I’m checking.

    I’m developing locally on Mamp. I’m using GeneratePress Premium as the theme, along with a child theme which only has 2 files – an empty functions.php and a style.css with a little CSS in it. I’ve disabled all plugins except for GenerateBlocks, GenerateBlocks Pro and GP Premium which are all up to date.

    There is one other place on the page with a contrast error and this is being detected.

    Any ideas as to what the problem could be or how I could troubleshoot this?

    (Edited to add that Lighthouse is picking up the errors.)

    • This topic was modified 1 year, 11 months ago by stanbub.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Steve Jones

    (@stevejonesdev)

    It may be an SSL issue on your local. You can bypass the SSL validation by adding this filter to your functions.php file. For security reasons, it’s not recommended to do this on a live website.

    add_filter( 'edac_no_verify_ssl', '__return_true' );

    Also, if you’re using the iTheme Security plugin you will need to disable this setting.

    https://github.com/equalizedigital/accessibility-checker/issues/66#issuecomment-1366885412

    Thread Starter stanbub

    (@caroline72)

    Hi Steve – unfortunately that code didn’t make any difference, and I’m not using a security plugin on the site. Any other ideas?

    Plugin Contributor Amber Hinds

    (@alh0319)

    Hi @caroline72,

    There are some instances of color contrast failures that are hard for the plugin to detect, for example if the background color is set on a div or other element separate from where the text color is set. Sometimes it also has trouble if there’s a mix of hex codes, RGBA, and CSS variables.

    Can you put the site you’re working on on a staging site? If so, we could take a look at the page and see if there is anything that can be done to ensure Accessibility Checker picks up color contrast issues on that page.

    Thanks.

    Thread Starter stanbub

    (@caroline72)

    Hi Amber – I have put the site up on a subdomain. Can you let me know the best way to send you the login details?

    Plugin Contributor Amber Hinds

    (@alh0319)

    Hi @caroline72,

    Unfortunately, I cannot get access credentials to log into your WordPress website, as that is against the support forum rules. If you have the pro version of our plugin, please submit your request via our pro support form.

    Otherwise, I don’t know that we actually need access to the backend of your website – are you able to post the URL to the staging site here so we can view the front end?

    And just let us know something specific you expect to see getting flagged that is not?

    Thanks and sorry to make things more complicated but we’re trying to stick to the rules. ??

    Thread Starter stanbub

    (@caroline72)

    Hi Amber – you can view the site here https://wordpress-905419-3424252.cloudwaysapps.com/ .

    I’ve removed most pages and sections and kept a couple where there is white text on a light background – this is what isn’t being picked up.

    Ironically the logos on the home page are being picked up as having insufficient contrast even though they should be fine. They are SVGs hosted in the media library.

    Thanks for taking a look!
    Caroline

    Plugin Author Steve Jones

    (@stevejonesdev)

    Hi @caroline72, Can you check and see if you are still seeing these issues with the latest version of the plugin?

    Plugin Author Steve Jones

    (@stevejonesdev)

    Marking this thread as completed. If you’re still having issues please feel free to open a new thread. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Not detecting errors’ is closed to new replies.