58.86 IS_HIGH_CONTRAST_SESSION_YN Function
This function returns Y
if the session is in high contrast mode and N
if not in high contrast mode.
Syntax
APEX_UTIL.IS_HIGH_CONTRAST_SESSION_YN
RETURN VARCHAR2;
Parameters
None.
Example
In this example, if the current session is running in high contrast mode, a high contrast specific CSS file, my_app_hc.css
, is added to the HTML output of the page.
BEGIN
IF apex_util.is_high_contrast_session_yn = 'Y' THEN
apex_css.add_file (
p_name => 'my_app_hc');
END IF;
END;
Parent topic: APEX_UTIL