Previous |
Next |
This procedure displays a link to the current page to turn on or off, toggle, the mode. For example, if you are in standard mode, this function displays a link that when clicked switches the screen reader mode on.
Syntax
APEX_UTIL.SHOW_SCREEN_READER_MODE_TOGGLE ( p_on_message IN VARCHAR2 DEFAULT NULL, p_off_message IN VARCHAR2 DEFAULT NULL)
Parameters
Table: SHOW_SCREEN_READER_MODE_TOGGLE Parameters describes the parameters available in SHOW_SCREEN_READER_MODE_TOGGLE
function.
SHOW_SCREEN_READER_MODE_TOGGLE Parameters
Parameter | Description |
---|---|
|
Optional text used for the link to switch to screen reader mode, when you are in standard mode. If this parameter is not passed, the default 'Set Screen Reader Mode On' text will be displayed. |
|
Optional text used for the link to switch to standard mode, when you are in screen reader mode. If this parameter is not passed, the default 'Set Screen Reader Mode Off' text will be displayed. |
Example
When running in standard mode, this procedure will display a link 'Set Screen Reader Mode On', that when clicked refreshes the current page and switches on screen reader mode. When running in screen reader mode, a link 'Set Screen Reader Mode Off' is displayed, that when clicked refreshes the current page and switches back to standard mode.
BEGIN htp.p(apex_util.show_screen_reader_mode_toggle); END;