Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Removal of multiple "Mains" in UI



The current markup generated has multiple html entities that have the ARIA (Accessible Rich Internet Applications) role set to “main”.

This is a problem when using assistive technologies.

User needs configuration support such that the developer can designate only one area to have an ARIA role=“main" in it.

Specifically user needs the following configuration changes :
  • Screen layout center panel needs a setting to set its ARIA role (main / presentation)
  • Dynamic Container configuration needs a setting to set its ARIA role (main/ presentation)
  • If a developer requires the main to be inside the iframe, then Screen layout and DC need to be configure with role= presentation and set role=“main” to the Dynamic Layout inside the inner harness

Error Messages

Not Applicable

Steps to Reproduce

Traverse any user portal using assistive technologies.

Root Cause

This issue was determined to be a product enhancement request.


Apply HFix-32831.

After installing the hotfix, remove the temporary marker file to trigger assemble pre process for harness and sections.

Based on the requirement, configure the screen layout center panel or the dynamic container with appropriate ARIA roles.

Published May 4, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us