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

Skip portal tabs/links to get to work area

SA-5344

Summary



In an accessible application, users need to use the TAB key around 6 times to navigate through the portal tabs/links and reach the work area section in the portal. Method for users of assistive technology is needed to skip repetitive links and jump right to the work area. 


Resolution



This capability is not supported in
 any out of the box configuration in PRPC 6.2 SP2. This enhancement is available in Pega 7.

HTML/Javascript code can be written to achieve this in PRPC 6.2 SP2.

An approach is as follows:-

1.    Drop a field in a section on the harness hosting the work area. It needs to be a UI element that can get focus. Labels will not work.
2.    Place a HTML rule with a hyperlink on the top panel of the harness. Label it "Skip to My Work".
3.    Configure the onclick of the hyperlink to invoke a javascript function.
4.    This javascript function  should do  something like –

Function doStuff() {
-    Look for the target property with it’s ID within the correct html frame using getElementById(). Collect it in a var x.
-    Then do x.focus() to set focus into the element.
}


 

Published June 12, 2015 - 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?

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