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

Misalignment in the button selection through access key Alt + -

SA-11019

Summary



You are implementing access keys to create hotkey functionality. When used, the button is correctly selected, but the UI creates a blue outline which is not tightly wrapped around the button.

Error Messages



Not Applicable.

Steps to Reproduce



1.Create a button control, for button caption field enter "Add &Task" to create a hotkey.
2.At the run time press "Alt + T". This highlights the button selection but expanded below showing misalignment.
The issue is highlighted in the image below for Add Task button.












Root Cause



The root cause of this problem is a defect in Pegasystems’ code/rules. 

Resolution



This issue is resolved through the following local-change:
Use the following code in CSS styles in the UserWorkForm HTML fragment to resolve the issue.

  <style> 
                        a[accesskey]:after, 
                        button[accesskey]:after, 
                        input[accesskey]:after, 
                        label[accesskey]:after, 
                        legend[accesskey]:after, 
                        textarea[accesskey]:after { 
                        margin-left:0; 
                           content: ""; 
                        } 
  </style> 

 
Suggest Edit

Published July 3, 2015 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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