Support Article
Font size in Accessibility mode does not change as per browser
SA-53611
Summary
The font size in the Accessibility mode does not change according to the browser font size change. This occurs post upgrade to Pega 7.1.8.
Error Messages
Not Applicable.
Steps to Reproduce
- Import a PRPC 6.2 SP2 accessibility application to Pega 7.1.8
- Launch an Internet Explorer browser > View Menu > Text Size > Select Largest. The font size does not change
Root Cause
This is as per Pega product design. The Pega 7 platform leverages the browser zoom for aiding the enlargement of the text elements on the screen.
Resolution
Perform the following local-change:
Add the following code in the UserWorkForm:
<style>
td, label, .dataValueRead span{font-size:small !important;}
.dataValueRead, .header-content span span, .dataValueWriteBold, .dataValueWrite,select{font-size:small !important;}
.dataLabelWrite, .dataLabelTextAreaStyle, .dataLabelStyleTop, .dataLabelRead, .dataLabelStyle, .dataLabelLeftStyle,.dataLabelForWrite,.dataLabelForRead{font-size:small !important;}
div.gridDefault div.spreadsheet li.headerCell, div.gridDefault div.spreadsheet th.cellCont, .header-content .header-element.header-title, .titleBarLabelStyleExpanded td, .titleBarLabelStyleExpanded, .actionTitleBarLabelStyle{font-size:small !important;}
.content-inner .field-item input {font-size: 110% !important;}
.custom_DashboardGaugeTitle, div.gridDefault th.cellCont div.divCont, div.gridDefault th.cellCont div.cellIn, .layout-fieldset>.fieldset-legend>.header-title, .layout-outline>.header-bar>.header-content>.header-title, .layout-outline>.Expanded>.header-bar>.header-content>.header-title, .titleBarLabelStyle td, .titleBarLabelStyle{font-size:small !important;}
.subAccordion .selected .accord_groupTitleBarTitleStyle, .subAccordion span#accord_DVSELECTED span#accord_TABSPAN .accord_groupTitleBarTitleStyle{font-size:small !important;}
.subTabbed-r .tab-li-r-s-h-selected a#TABANCHOR span#TABSPAN SPAN, .subTabbed-r .tab-li-r-ns-h a#TABANCHOR:hover span#TABSPAN SPAN, .subTabbed-l .tab-li-l-s-h-selected a#TABANCHOR span#TABSPAN SPAN, .subTabbed-r .tab-li-r-ns-v a#TABANCHOR:hover span#TABSPAN SPAN, .subTabbed-r .tab-li-r-ns-v-selected a#TABANCHOR span#TABSPAN SPAN, .subTabbed .subTabsList a#TABANCHOR:hover, .subTabbed-l .tab-li-l-s-v-selected a#TABANCHOR span#TABSPAN SPAN, .subTabbed-r .tab-li-r-s-h a#TABANCHOR:hover span#TABSPAN SPAN, .subTabbed-l .tab-li-l-s-v a#TABANCHOR:hover span#TABSPAN SPAN, .subTabbed-l .tab-li-l-ns-v a#TABANCHOR:hover span#TABSPAN SPAN, .subTabbed-l .tab-li-l-ns-v a#TABANCHOR:hover, .subTabbed-l .tab-li-l-ns-v-selected a#TABANCHOR span#TABSPAN SPAN, .subTabbed-r .tab-li-r-ns-h-selected a#TABANCHOR span#TABSPAN SPAN, .subTabbed-l .tab-li-l-s-h a#TABANCHOR:hover span#TABSPAN SPAN, .subTabbed .subTabsList a#TABANCHOR:hover span#TABSPAN SPAN, .subTabbed-l .tab-li-l-ns-h a#TABANCHOR:hover span#TABSPAN SPAN, .subTabbed-b .tab-li-b-ns a#TABANCHOR:hover span#TABSPAN SPAN, .subTabbed-b .tab-li-b-s a#TABANCHOR:hover span#TABSPAN SPAN, .subTabbed-r .tab-li-r-s-v a#TABANCHOR:hover span#TABSPAN SPAN, .subTabbed-l .tab-li-l-ns-h-selected a#TABANCHOR span#TABSPAN SPAN, .subTabbed-r .tab-li-r-s-v-selected a#TABANCHOR span#TABSPAN SPAN, .subTabbed-b .tab-li-b-ns-selected a#TABANCHOR span#TABSPAN SPAN, .subTabbed-b .tab-li-b-s-selected a#TABANCHOR span#TABSPAN SPAN{font-size:small !important;}
A:Visited {font-size:small !important;}
.subTabbed span#DV span#TABSPAN .groupTitleBarLabelStyle, .subTabbed .subTabsList a#TABANCHOR span#TABSPAN .groupTitleBarLabelStyle, .subTabbed span#DVSELECTED span#TABSPAN SPAN, .subTabbed .subTabsList .selected a#TABANCHOR span#TABSPAN SPAN, .subTabbed span#DVSELECTED span#TABSPAN .groupTitleBarLabelStyle, .subTabbed .subTabsList .selected a#TABANCHOR span#TABSPAN .groupTitleBarLabelStyle{font-size:small !important;}
.subTabbed span#DVSELECTED span#TABSPAN .groupTitleBarDataStyle, .subTabbed .subTabsList .selected a#TABANCHOR span#TABSPAN .groupTitleBarDataStyle, .subTabbed .subTabsList a#TABANCHOR span#TABSPAN .groupTitleBarDataStyle, .subTabbed span#DV span#TABSPAN SPAN, .subTabbed span#DV span#TABSPAN .groupTitleBarDataStyle, .subTabbed .subTabsList a#TABANCHOR span#TABSPAN SPAN{font-size:small !important;}
</style>
Published July 23, 2018 - 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.