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 34-115 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 is 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 is displayed. |
Example
When running in standard mode, this procedure displays 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 apex_util.show_screen_reader_mode_toggle; END;
Parent topic: APEX_UTIL