[FIX] Error message accessibility 4087

Implements [ticket 4087](https://www.openproject.org/work_packages/4087)