role - Control Identifier
Provides a role for the use of assistive technologies.
Category
accessibilitySyntax
role="description"
Usage
In Design mode, click All Properties and look for role under accessibility.This property implements the W3C ARIA specification on roles at http://www.w3.org/TR/wai-aria/#Using_intro. Screen readers such as JAWS use roles to acquire contextual information about HTML pages. For valid values, see http://www.w3.org/TR/wai-aria/#roles.
Starting with 9.0.1, this property is obsolete for xp:tabbedPanel, xp:tabPanel, xp:pager, and xp:pagerControl. By default the appropriate compliant value is generated. For compliance with accessibility standards, do not specify a value for this property for those controls.
Examples
This Edit Box control provides a title and role for accessibility.<xp:inputText id="inputText1" value="#{document1.subject}"
title="Subject edit box" role="end user">
/xp:inputText>