
How to create Section-508 compliant images and buttons?
How to Create Section-508 Compliant Images and Buttons? Answer from Caspio Support:Caspio strives to offer capabilities to conform to Section 508 regulations for the applications you deploy on your websites and intranets. We are continuing to address 508-compliance with new features scheduled for release in late 2009. Currently, the below work-arounds are available to add “alt-tags” to images and buttons in Caspio Bridge.
Instructions for Adding Alt-Tags to Images:If you are displaying image fields in your DataPage, you will need to insert images through an HTML Block in order to specify an alt-tag. This work-around requires a separate Search and Report DataPage for the purpose of referencing all your images.
1. Create a reference Search & Report DataPage based on the table containing the images. Configure as a default criteria search which returns all required images on the Results Page (Search Form and Details Page are not necessary).
2. In your main DataPage, insert an HTML block where you want the images to appear.
3. Paste the following HTML code to render the images:
3. Customize this code in your HTML Block as follows:
- b2.caspio.com should be replaced by your own specific Caspio server found in the deploy code of any of your DataPages.
- Appkey=xxxxxxx should be replaced by the Appkey of your referenced Results Page displaying all your images.
- [@field:myFile] should be replaced with the name of your file field.
- alt=”Customer Photo” should be customized with alt-tag for your images.
4. Repeat this process for all other instances where you display images in your DataPages.
Instructions for Adding Alt-Tags to Buttons:This work-around provides detailed instructions to create a separate button with an alt-tag in various DataPage types.
Web Form:1. In the Web Form Wizard – Configure Field Screen, insert a header and footer.
2. Copy and paste the code below into the header.
3. Insert an HTML Block and place it at the end of the list.
4. Copy and paste the code below into the HTML Block.
Search and Report:1. In the Search and Report Wizard – Configure Search Fields Screen, insert a header and footer.
2. Copy and paste the code below into the header.
3. Insert an HTML Block at the end of the list of fields.
4. Copy and paste the code below into the HTML Block.
5. In the Search and Report Wizard – Configure Details Page Fields, insert a header and footer.
6. Copy and paste the code below into the header.
7. Insert an HTML Block at the end of the list of fields.
8. Copy and paste the code below into the HTML Block.
Password Recovery Form1. In the Password Recovery Wizard – Configure Fields, insert a header and footer.
2. Copy and paste the code below into the header.
3. Insert an HTML Block at the end of the list of fields.
4. Copy and paste the code below into the HTML Block.