In this article
You can activate the Accessibility functionality for a theme wherever that theme is used, or you can activate the functionality for a specific survey. To activate it for the theme:
- In the Quick Access pane, click on the Survey Layouts item.
The Survey Layout List opens.
- Click on the desired survey layout to open it.
- In the Layouts and Styles toolbox, expand the Themes folder.
- Right-click on the desired theme to open the drop-down menu.
- Select Toggle Accessibility Mode.
This switches on the functionality and places the notation (ACC.) after the theme name in the list. - .
Figure 1 - Toggling the Accessibility mode
To activate the Accessibility functionality for a survey:
- Open the survey, and in the Designer page go to the Survey Tree toolbox.
- Expand the Survey Layout folder, then expand the Themes folder.
- Right-click on the desired theme to open the drop-down menu.
- Select Toggle Accessibility Mode.
Note that you can also go to the theme properties and check the Accessibility Enabled Theme property (go to Theme Properties for more information).
Now, when the theme is used for a survey, that survey will use the accessibility functionality. Note that the progress bar and the navigation controls have separate settings such that they can be presented in Accessibility format for any theme, or can be presented in standard format even when the theme is Accessibility enabled (go to Survey Layout Component Properties for more information).
In the event you wish to deactivate the Accessibility functionality, repeat the toggling procedure. The (ACC.) notation is removed.
Note: When a theme is Accessibility-activated, page titles are set from the default survey title or the theme title.
Controlling and Switching Between Modes
If your survey has themes in both the accessible and non-accessible modes, you can use the following mechanisms to control which mode is to be active for a respondent:
- Add the modifier __acc=1 to the survey URL (note the double underline character to start).
- Set __acc as a background (hidden) variable (go to Background Variables for more information).
- Set an "enabled" theme to be used by the survey. All receiving the survey will then see the "enabled" version.
- Use the script function SetAccessibleMode(true/false) as appropriate. This method can be used to convert a survey to "enabled" based on the answer to a particular question
When switching between modes, the following rules apply:
- When the mode is switched to Accessible, the default theme is selected if that is Accessible. If the default is non-Accessible, the first Accessible theme in the list will be used. If no theme is Accessible, the mode will not be switched.
- When the mode is switched to non-Accessible, the default theme will be used if that is non-Accessible. If the default theme is Accessible, the first non-Accessible theme in the list will be used. If no theme is non-Accessible, the mode will not be switched.
Proposed Workflow
If your survey has themes in both the accessible and non-accessible modes, you can use the following mechanisms to control which mode is to be active for a respondent:
- Add the modifier __acc=1 to the survey URL (note the double underline character to start).
- Set __acc as a background (hidden) variable (go to Background Variables for more information).
- Set an "enabled" theme to be used by the survey. All receiving the survey will then see the "enabled" version.
- Use the script function SetAccessibleMode(true/false) as appropriate. This method can be used to convert a survey to "enabled" based on the answer to a particular question
When switching between modes, the following rules apply:
- When the mode is switched to Accessible, the default theme is selected if that is Accessible. If the default is non-Accessible, the first Accessible theme in the list will be used. If no theme is Accessible, the mode will not be switched.
- When the mode is switched to non-Accessible, the default theme will be used if that is non-Accessible. If the default theme is Accessible, the first non-Accessible theme in the list will be used. If no theme is non-Accessible, the mode will not be switched.