This function returns a boolean TRUE if the session is in high contrast mode and returns a boolean FALSE if not in high contrast mode.
Syntax
APEX_UTIL.IS_HIGH_CONTRAST_SESSION RETURN BOOLEAN;
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 THEN apex_css.add_file ( p_name => 'my_app_hc'); END IF; END;