How to Use Partial Page Rendering How to Use Scripting

22-14 Web User Interface Developers Guide for Oracle Application Development Framework

22.4.5 How to Use WAI-ARIA Landmark Regions

The WAI-ARIA standard defines different sections of the page as different landmark regions. Together with WAI-ARIA roles, they convey information about the high-level structure of the page and facilitate navigation across landmark areas. This is particularly useful to users of assistive technologies such as screen readers. ADF Faces includes landmark attributes for several layout components, as listed in Table 22–3 . These attributes can be set to one of the WAI-ARIA landmark roles, including: ■ banner ■ complimentary ■ contentinfo ■ main ■ navigation ■ search When any of the landmark-related attributes is set, ADF Faces renders a role attribute with the value you specified.

22.5 Running Accessibility Audit Rules

JDeveloper provides ADF Faces accessibility audit rules to investigate and report compliance with many of the common requirements described in Section 22–1, ADF Faces Components Accessibility Guidelines. Running an audit report involves creating and running an audit profile. To create an audit profile: 1. From the main menu, choose Tools Preferences. 2. In the Audit: Profiles dialog, deselect all checkboxes except ADF Faces Accessibility Rules .

3. Save the profile with a unique name and click OK.

Table 22–3 ADF Faces Components with Landmark Attributes Component Attribute decorativeBox topLandmark centerLandmark panelGroupLayout landmark panelSplitter firstLandmark secondLandmark panelStretchLayout topLandmark startLandmark centerLandmark endLandmark bottomLandmark Developing Accessible ADF Faces Pages 22-15 To run the audit report: 1. From the main menu, choose Build Audit target. 2. Select the audit profile you created from the list.

3. Click OK to generate the report.

The audit report results are displayed in the Log window. After the report completes, you can export the results to HTML by clicking the Export icon in the Log window toolbar.