In my content type, I've set "Accessibility Validation" to "Enabled (required)" and "Validation Method" to "Immediately Validate" against "WCAG 2.0 aa" but the validation only works when I manually click the Accessibility tab on a node.

Am I missing something here?

It would be great to validate on save or preview.

Comments

thekevinday’s picture

Status: Active » Postponed (maintainer needs more info)

I've tried many combinations but have been unable to reproduce your specific error.

It could be my lack of proper documentation causing some confusion.

When I wrote this, I was unsure of what the best approach was to choose when validation should happen.
I simply chose a way and went with it to see how good or bad it is.
Overall, I think the current design is more confusing that it is helpfull.

I think the solution you need is to use the rules module or the core trigger/action modules to perform the validation. If you are still willing to look at this module after so long of a reply, then try using either of those modules in conjunction with this one.

thekevinday’s picture

Status: Postponed (maintainer needs more info) » Needs review

I think I found the issue where this happens.

see: http://drupalcode.org/project/node_accessibility.git/commit/a59e7179db0e...

This change should be available via the development branch releases.

thekevinday’s picture

Status: Needs review » Fixed

No response in a while, so closing this as fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.