|Oracle® Application Express Application Builder User's Guide
|PDF · Mobi · ePub|
You can identify sessions as optimized for high contrast in the Oracle Application Express development environment, Websheet runtime, and also within your own database applications. This section describes how you can provide users of your own database applications access to this mode and also how you can extend it.
See Also:"About High Contrast Mode"
You can provision high contrast mode for user's of your own database applications in three ways:
#HIGH_CONTRAST_TOGGLE# substitution string to your page template and Oracle Application Express displays a link to the current page to turn on or off (or toggle) the mode. In other words, if you are in standard mode, this procedure generates a link to turn it on.
APEX_UTIL APIs to control this mode. You may want to use the APIs if you only want to render the toggle in one place and not at the page template level, or if you want more control over the actual displayed link text. To learn more, see "APEX_UTIL" in Oracle Application Express API Reference.
The general syntax for the f?p syntax REQUEST attribute is:
If the request is exactly
SET_SESSION_HIGH_CONTRAST_OFF then the session is put into or out of high contrast mode. For example:
<a href="f?p=100:1:&SESSION.:SET_SESSION_HIGH_CONTRAST_ON">Set High Contrast On</a>
In addition to what this mode does by default as described in "What Does High Contrast Mode Do?", you can also control your own components. For example, you could conditionally include a high contrast specific CSS file, when running in high contrast mode.
To learn more, see "APEX_UTIL" in Oracle Application Express API Reference details of the following functions: