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

Work object tabs do not have correct title

SA-59666

Summary



Close icon on work object tabs does not have the correct title when used with JAWS.


Error Messages



Not Applicable


Steps to Reproduce

  1. Deploy PegaWAI.
  2. On the Case Manager portal, open a couple of work objects.
  3. Enable the JAWS screen reader.
  4. Press 'Insert+CTRL+B' keys. JAWS popup window displays with all the buttons. Multiple 'Close this tab Button' options are displayed.

    For example, when the work object is APL-23, its title should display as 'APL-23 Close this tab'.





Root Cause



This issue was determined to be a product enhancement request.


Resolution



An enhancement request, FDBK-26938, is created for consideration by Pega Product Management.

Alternatively, as a local-change, add the below script to the UserWorkForm. <script> 

pega.u.d.attachOnload(setCustomTabAriaLabels,true); 

function  setCustomTabAriaLabels(){ 
if(window!=top){ 
var activeTab = top.$(".dc-header ul[role='tablist'] .selected"); 
if(activeTab.length == 0){ 
return false; 

activeTab = activeTab[0]; 
var closeIcon = activeTab.getElementsByClassName("iconCloseSmall")[0]; 
var ariaLab = closeIcon.getAttribute("aria-label"); 
if(ariaLab.indexOf(activeTab.title)==-1){ 
closeIcon.setAttribute("aria-label", activeTab.title+":"+ ariaLab); 
var title = closeIcon.getAttribute("title"); 
closeIcon.setAttribute("title", activeTab.title +":"+ title); 




</script>



 

Published July 23, 2018 - 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