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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.