We have configured accessibility to only get all notification changes from the WhatsApp app. Nothing else. Although I should say you can have access to all events of you interacting with the screen: window changes, window touches, etc.
For the Android versions below 4.3, this is the only way to have access to the notifications. There is a much nicer (for the concerned user too) way to access them in 4.3+.