Home > Advanced Programming Techni... > About Screen Reader Mode > Provisioning Screen Reader ...
Previous |
Next |
There are three ways you can provision this mode to user's of your own database applications.
Page template #SCREEN_READER_TOGGLE#
substitution string - Add this substitution string to your page template and Application Express displays a link to the current page to turn on or off (toggle) the mode. So if you are in standard mode, this procedure generates a link to turn it on.
There are also APIs that can be used to control this mode. You may want to use the APIs if you only want to render the toggle in one place and don't want to do this at page template level or if you want more control over the actual displayed link text. Please see the Oracle Application Express API Reference for more details on these APIs.
Using f?p
syntax REQUEST
attribute to enable and disable screen reader mode. The general syntax for f?p is f?p=application:page:session:request:...
If the request is exactly SET_SESSION_SCREEN_READER_ON
or SET_SESSION_SCREEN_READER_OFF
then the session is put into or out of screen reader mode. For example:
<a href="f?p=100:1:&SESSION.:SET_SESSION_SCREEN_READER_ON">Set Screen Reader On</a>