Class sap.m.PageAccessibleLandmarkInfoModule: sap/m/PageAccessibleLandmarkInfo
Settings for accessible landmarks which can be applied to the container elements of a sap.m.Page
control. These landmarks are e.g. used by assistive technologies (like screenreaders) to provide a meaningful page overview.
sap.m.PageAccessibleLandmarkInfo
element.sClassName
and enriches it with the information contained in oClassInfo
.sap.m.PageAccessibleLandmarkInfo
element. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- rootRole : sap.ui.core.AccessibleLandmarkRole (default: Region)
- rootLabel : string
- contentRole : sap.ui.core.AccessibleLandmarkRole (default: Main)
- contentLabel : string
- headerRole : sap.ui.core.AccessibleLandmarkRole (default: Region)
- headerLabel : string
- subHeaderRole : sap.ui.core.AccessibleLandmarkRole
- subHeaderLabel : string
- footerRole : sap.ui.core.AccessibleLandmarkRole (default: Region)
- footerLabel : string
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
{string} | sId? | Id for the new element, generated automatically if no id is given |
{object} | mSettings? | Initial settings for the new element |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.core.Element.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
contentLabel
. Texts which describes the landmark of the content container of the corresponding sap.m.Page
control.
If not set (and a landmark different than sap.ui.core.AccessibleLandmarkRole.None
is defined), a predefined text is used.
{string} | Value of property contentLabel |
contentRole
. Landmark role of the content container of the corresponding sap.m.Page
control.
If set to sap.ui.core.AccessibleLandmarkRole.None
, no landmark will be added to the container.
Default value is Main
.
{sap.ui.core.AccessibleLandmarkRole} | Value of property contentRole |
footerLabel
. Texts which describes the landmark of the header container of the corresponding sap.m.Page
control.
If not set (and a landmark different than sap.ui.core.AccessibleLandmarkRole.None
is defined), a predefined text is used.
{string} | Value of property footerLabel |
footerRole
. Landmark role of the footer container of the corresponding sap.m.Page
control.
If set to sap.ui.core.AccessibleLandmarkRole.None
, no landmark will be added to the container.
Default value is Region
.
{sap.ui.core.AccessibleLandmarkRole} | Value of property footerRole |
headerLabel
. Texts which describes the landmark of the header container of the corresponding sap.m.Page
control.
If not set (and a landmark different than sap.ui.core.AccessibleLandmarkRole.None
is defined), a predefined text is used.
{string} | Value of property headerLabel |
headerRole
. Landmark role of the header container of the corresponding sap.m.Page
control.
If set to sap.ui.core.AccessibleLandmarkRole.None
, no landmark will be added to the container.
Default value is Region
.
{sap.ui.core.AccessibleLandmarkRole} | Value of property headerRole |
rootLabel
. Texts which describes the landmark of the root container of the corresponding sap.m.Page
control.
If not set (and a landmark different than sap.ui.core.AccessibleLandmarkRole.None
is defined), a predefined text is used.
{string} | Value of property rootLabel |
rootRole
. Landmark role of the root container of the corresponding sap.m.Page
control.
If set to sap.ui.core.AccessibleLandmarkRole.None
, no landmark will be added to the container.
Default value is Region
.
{sap.ui.core.AccessibleLandmarkRole} | Value of property rootRole |
subHeaderLabel
. Texts which describes the landmark of the subheader container of the corresponding sap.m.Page
control.
If not set (and a landmark different than sap.ui.core.AccessibleLandmarkRole.None
is defined), a predefined text is used.
{string} | Value of property subHeaderLabel |
subHeaderRole
. Landmark role of the subheader container of the corresponding sap.m.Page
control.
If set to sap.ui.core.AccessibleLandmarkRole.None
, no landmark will be added to the container.
{sap.ui.core.AccessibleLandmarkRole} | Value of property subHeaderRole |
contentLabel
. Texts which describes the landmark of the content container of the corresponding sap.m.Page
control.
If not set (and a landmark different than sap.ui.core.AccessibleLandmarkRole.None
is defined), a predefined text is used.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sContentLabel | New value for property contentLabel |
{sap.m.PageAccessibleLandmarkInfo} | Reference to this in order to allow method chaining |
contentRole
. Landmark role of the content container of the corresponding sap.m.Page
control.
If set to sap.ui.core.AccessibleLandmarkRole.None
, no landmark will be added to the container.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Main
.
{sap.ui.core.AccessibleLandmarkRole} | sContentRole | New value for property contentRole |
{sap.m.PageAccessibleLandmarkInfo} | Reference to this in order to allow method chaining |
footerLabel
. Texts which describes the landmark of the header container of the corresponding sap.m.Page
control.
If not set (and a landmark different than sap.ui.core.AccessibleLandmarkRole.None
is defined), a predefined text is used.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sFooterLabel | New value for property footerLabel |
{sap.m.PageAccessibleLandmarkInfo} | Reference to this in order to allow method chaining |
footerRole
. Landmark role of the footer container of the corresponding sap.m.Page
control.
If set to sap.ui.core.AccessibleLandmarkRole.None
, no landmark will be added to the container.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Region
.
{sap.ui.core.AccessibleLandmarkRole} | sFooterRole | New value for property footerRole |
{sap.m.PageAccessibleLandmarkInfo} | Reference to this in order to allow method chaining |
headerLabel
. Texts which describes the landmark of the header container of the corresponding sap.m.Page
control.
If not set (and a landmark different than sap.ui.core.AccessibleLandmarkRole.None
is defined), a predefined text is used.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sHeaderLabel | New value for property headerLabel |
{sap.m.PageAccessibleLandmarkInfo} | Reference to this in order to allow method chaining |
headerRole
. Landmark role of the header container of the corresponding sap.m.Page
control.
If set to sap.ui.core.AccessibleLandmarkRole.None
, no landmark will be added to the container.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Region
.
{sap.ui.core.AccessibleLandmarkRole} | sHeaderRole | New value for property headerRole |
{sap.m.PageAccessibleLandmarkInfo} | Reference to this in order to allow method chaining |
rootLabel
. Texts which describes the landmark of the root container of the corresponding sap.m.Page
control.
If not set (and a landmark different than sap.ui.core.AccessibleLandmarkRole.None
is defined), a predefined text is used.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sRootLabel | New value for property rootLabel |
{sap.m.PageAccessibleLandmarkInfo} | Reference to this in order to allow method chaining |
rootRole
. Landmark role of the root container of the corresponding sap.m.Page
control.
If set to sap.ui.core.AccessibleLandmarkRole.None
, no landmark will be added to the container.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Region
.
{sap.ui.core.AccessibleLandmarkRole} | sRootRole | New value for property rootRole |
{sap.m.PageAccessibleLandmarkInfo} | Reference to this in order to allow method chaining |
subHeaderLabel
. Texts which describes the landmark of the subheader container of the corresponding sap.m.Page
control.
If not set (and a landmark different than sap.ui.core.AccessibleLandmarkRole.None
is defined), a predefined text is used.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sSubHeaderLabel | New value for property subHeaderLabel |
{sap.m.PageAccessibleLandmarkInfo} | Reference to this in order to allow method chaining |
subHeaderRole
. Landmark role of the subheader container of the corresponding sap.m.Page
control.
If set to sap.ui.core.AccessibleLandmarkRole.None
, no landmark will be added to the container.
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.ui.core.AccessibleLandmarkRole} | sSubHeaderRole | New value for property subHeaderRole |
{sap.m.PageAccessibleLandmarkInfo} | Reference to this in order to allow method chaining |