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>
Published July 3, 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.