Support Article
Harness error section not read by JAWS
SA-30500
Summary
The harness level error section "DisplayErrors" included in the PegaGOV ruleset is not read by JAWS when it is displayed.
Error Messages
Not Applicable
Steps to Reproduce
- With JAWS running and accessibility enabled on the operator's access group, launch a flow that uses the TabbedScreenFlow7 harness from the PegaGOV ruleset.
- Induce a validation error (for example, submit the form with an improper value in a field). JAWS does not read the error section that now renders at the top of the harness.
Root Cause
A defect in Pegasystems’ code or rules. The Pega for Government framework uses a custom error section "DisplayErrors".
This section does not include the specific markup required to ensure that screen.
Resolution
Replace the "DisplayErrors" section from the PegaGOV ruleset with the "Errors" section contained in @baseclass. This needs to do be replaced in two places on the TabbedScreenFlow7 harness:
- In the "Display options" tab, replace the "DisplayErrors" section in "Custom error section" with the "Errors" section.
- In the "Design" tab, replace the "DisplayErrors" section-include with the "Errors" section and ensure the visibility condition on the section uses the "hasMessages" When rule.
Published November 23, 2016 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.