Skip to Main Content
Return to Navigation

Identifying Images and User Interface Elements

This section explains how to design applications to help satisfy the following Section 508 standards:

Ensure that all user interface elements have descriptive labels. PeopleTools provides the ability to add labels to user interface elements, but it does not automatically insert labels. You must add them manually.

User interface elements include functional images, page controls (such as push buttons and edit boxes), grids, group boxes, and scroll areas. Functional images include image buttons and links and images that convey meaningful information, such as status. Meaningful labels are vital for blind or visually impaired users so that they can understand the meaning of an image through screen readers. Image labels also clarify the meaning of images for sighted users, because the labels appear as mouse-over text in some browsers. Decorative images, such as invisible spacer files or images that do not serve a functional purpose other than to provide visual interest, should have blank labels.

Note: When you assign labels to images in PeopleSoft Application Designer, PeopleTools generates alternate text (<ALT> HTML tags) based on the labels at runtime. These labels are visible to all users as mouse-over text in some browsers, regardless of whether the system administrator makes the accessibility features available to users in PeopleTools Security.

Oracle recommends that you use the browser zoom utility, as opposed to the text zoom, to avoid distortion on the page. If the text zoom is used, the text becomes larger, but the corresponding buttons, grids, and so on, do not change, so the page becomes distorted.

This section discusses how to:

Creating Meaningful Label Text

This section provides general guidelines for creating label text, but this information is not meant to be a complete discussion about text. You should consult other resources, as well.

Follow these general guidelines when you create label text to assign to user interface elements:

  • Use descriptive text that explains the specific function or purpose of the user interface element.

    For example, do not create a link labeled “Click here.” Use a descriptive label, such as “Return to Previous Page.”

  • Use unique labels for all images and controls on a page.

    Many screen readers generate lists of the various controls (such as buttons and links) on a page to make it easier for users to navigate without having to tab through the entire page. If two buttons on a page have the same name, users may not be able to determine which one they need from the list that is generated by the screen reader.

    For example, if you create a page to send an email, do not include a “Find” link for the To field and another “Find” link for the CC field. In a screen reader, the list of links displays two “Find” links but no additional information to differentiate between them.

    Note: Within grids, the same fields, buttons, and links appear in every row. However, these are not considered duplicates because screen readers typically read the row number with each label (for example, “row 1 Details link,” “row 2 Details link,” and so on).

  • Avoid using abbreviations in labels.

    Screen readers read abbreviations differently. For example, some read Nbr as a word and others read it as individual letters, either of which could confuse users.

  • Avoid using punctuation and symbols in labels.

    Screen readers interpret symbols differently. For example, some read # as number and some read it as pound.

  • Do not modify formatting styles to add color, bold, or italicized text to labels because screen readers do not recognize formatting changes.

  • Do not use device-dependent language such as “Click” in link text.

    Not all users use a mouse, so the word click can be misleading.

Assigning Labels to User Interface Elements

To assign labels to user interface elements:

  1. Open the properties for the image or page control in PeopleSoft Application Designer.

  2. On the Label tab, select the type of label, and enter or select the label text.

    Label types include a message from the Message Catalog, custom label text, or the RFT long or RFT short label if the image or control is associated with a record field. (Not all label types are available for all types of controls.) The Message Catalog is the preferred source of label text because it can be translated. The Message Catalog contains labels for the following types of page elements: folder tabs, scroll left and right buttons, hide and show grid tabs, prompt buttons, expand and collapse grid buttons, group boxes, and scroll areas.

    Follow these principles when choosing the type of label:

    • For buttons and links that perform a function, choose a label that describes the function (for example, Search or Save).

    • For data entry fields, choose a label that describes what to enter in the field.

    • If an image displays text, choose a label that is exactly the same as the text in the image.

    • If an image is not active but conveys information, choose a label that conveys the same information (for example, a description of the status).

    • If an image is redundant or conveys no information, leave the label blank.

Guidelines for Data Entry Field Labels

To ensure that screen readers read data entry field labels properly, use the following general guidelines when creating field labels:

  • Avoid repeating group box labels in the field labels within the group box.

    When you include fields within a group box, screen readers read the group box label before each field label within the group box.

  • Avoid adding additional text after the field that explains information about what the user should enter.

    Screen readers do not typically read this type of text with the field labels. Instead, a user must specifically command the screen reader to read the entire page or a particular area of the page. As an alternative to including additional text after the field, make the field label more descriptive.

  • Do not use static text or a second independent field as the label for a data entry field.

    Doing so may cause confusion for some blind or visually impaired users because not all screen readers interpret these situations correctly. Always assign the label to the field in the properties for that field.

  • Do not insert a text field above a column of entry fields to simulate a table and column heading.

    Instead, assign a unique label to each field or use a grid, if appropriate.

  • Size edit boxes, long edit boxes, and drop-down list boxes so that the full contents are visible without horizontal scrolling.

  • Place labels close to the corresponding fields.

    For edited boxes, long edited boxes, and drop-down list boxes, place labels to the left (or above) the field. For check boxes and radio buttons, place labels to the right.

    Note: Do not place entry fields between radio buttons. This placement may interfere with how screen readers read the radio buttons.

Guidelines for Push Buttons and Links

If links are close together, include a vertical separator ( | ) between links to help users differentiate between the links on the screen.

Removing Labels from Decorative Images

If images have no information to convey to users and do not serve as navigation, they should not have labels. Images used as spacers, such as invisible GIFs, also should not have labels.

To remove labels from images:

  1. Open the properties for the image in PeopleSoft Application Designer.

  2. On the Label tab, set the Label Text Type field to Static Text.

  3. Delete any characters from the Text field if it is present.

    You do not need to enter a space. Leave the Text field blank.

Providing Text Equivalents for Charts and Graphs

Charts and graphs present data as images or client-side image maps with links to navigate to details about the data. Because charts and graphs typically display significant amounts of data, providing alternate text labels for the chart or graph images is usually not enough to make the data accessible to people using screen readers. To make charts and graphs accessible:

  • Do not use ASCII images to display charts and graphics; use the objects that are provided in PeopleTools.

  • Do not use color alone to convey information in charts and graphs.

    See Providing Alternatives to Color Coding to Convey Meaning.

  • Provide textual information to describe the content of charts and graphs.

    You can insert a static text field to describe the charts and graphs, but also consider displaying the underlying table information of the chart or graph in a grid format in Accessible Layout mode. This method ensures that users in Accessible Layout mode get the same information that the chart or graphic image conveys.

Note: The label that you specify on the Label tab of the Chart Properties dialog box is for information-only and does not appear at runtime. This label appears on the control order list on the Order tab of the page definition and any page definition report that you print.

Assigning Labels for Grid Columns and Rows

When you create grids, make sure that you include column headings for all visible columns, including columns that contain images and links. In addition, avoid adding grid controls (such as scroll actions). Grid controls that you add are not included automatically within the page area that is skipped by the PeopleTools-generated page anchor.

Column headings and their alignment are derived from the label text that you select on the Label tab in the properties for the page control or page field that you assign to the column. Therefore, you must make sure that the associated page controls or data entry fields have appropriate labels, according to the guidelines in the preceding sections. Also make sure that you select the Show Column Headings (runtime) check box on the Label tab in the Grid Properties dialog box.

If adding column headings will interfere with usability for sighted users, you can hide the grid column titles so that they appear only in Accessible Layout mode by adding PeopleCode that renames the column headings at runtime.

You can also assign row headings, which number the rows at runtime. The row headings option is selected by default. To assign the row headings, select the Show Row Headings (runtime) check box on the Label tab in the Grid Properties dialog box.

Assigning Titles and Summaries for Grids and Scroll Areas

Include titles and descriptive summaries for all grids and scroll areas. To do this:

  1. Open the properties for the grid or scroll area in PeopleSoft Application Designer.

  2. On the Label tab, select the Display Title check box.

  3. Click the Properties button for the display title to open the Title Properties dialog box.

  4. Enter the Label text that you want to appear in the title:

    Type

    Select the type of label text to appear in the navigation bar.

    Message Catalog: Select this option to use a message in the Message Catalog as the title.

    Static: Select this option to manually enter text as the title.

    Text

    Enter the text to appear as the title of the scroll area. This field is enabled when you select Static as the Label Text type.

    Message Set/Number

    Enter the message set number and message number of the message in the Message Catalog to appear as the title of the scroll area. This field is enabled when you select Message Catalog as the Label Text type.

  5. Click OK to return to the Label tab in the properties.

  6. Click the Properties button in the Summary group box to open the Summary Properties dialog box.

    Note: The default value of the summary matches the title. However, you should add a more detailed description of the contents of the grid or scroll area to make the summary more useful in Accessible Layout mode.

  7. Clear the Default to Title check box to activate the other Summary options.

  8. Enter static text or enter a message set and number to use text from the Message Catalog.

  9. Click OK twice.

Hiding Labels

In some cases you might want to hide labels so that they do not appear on screen but are still read by screen readers in Accessible Layout mode. For example, a currency field that appears to the right of an amount field may not require a visible label for sighted users. However, blind users often navigate to fields from a list of fields that the screen reader generates, so each field requires a label. In addition, you can hide grid column labels if making them visible will interfere with usability for sighted users. When you hide grid column labels, they still appear in Accessible Layout mode.

To hide labels while still enabling screen readers to access them:

  1. Open the properties for the page control or page field in PeopleSoft Application Designer.

  2. On the Label tab, make sure that a label is selected and change the style to PTTRANSPARENT.

    This style is set up to be invisible except for users in Accessible Layout mode.

    Note: If you use PTTRANSPARENT for a check box label, make sure that no fields are close to the check box label, even though it is transparent, because it might overlap the field.

Using Pop-Up Message Windows for Important Information

If you use a field or an HTML area to display text that contains important information, such as error messages, use PeopleCode to display the message in a pop-up window in Accessible Layout mode. Screen readers do not typically read display-only field values unless a user specifically commands the screen reader to read the entire page or a particular area of the page.

The following example shows how to create this type of PeopleCode:

If All(&CAL_FINAL_TS) Then
		If GetUserOption("PPTL", "ACCESS") = "A" Then
			MessageBox(%MsgStyle_OK, "", 17000, 407, "");
		End-If;
		&rs0(1).DERIVED_GP.TEXT254.Value = MsgGetText(17000, 407, "");
		&rs0(1),DERIVED_GP.TEXT254.Visible = True;
Else