/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2018 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides control sap.m.PageAccessibleLandmarkInfo. sap.ui.define(['sap/ui/core/Element', './library'], function(Element, library) { "use strict"; /** * Constructor for a new sap.m.PageAccessibleLandmarkInfo element. * * @param {string} [sId] ID for the new element, generated automatically if no ID is given * @param {object} [mSettings] Initial settings for the new element * * @class * 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. * @extends sap.ui.core.Element * * @author SAP SE * @version 1.60.23 * * @constructor * @public * @alias sap.m.PageAccessibleLandmarkInfo * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel */ var PageAccessibleLandmarkInfo = Element.extend("sap.m.PageAccessibleLandmarkInfo", /** @lends sap.m.PageAccessibleLandmarkInfo.prototype */ { metadata : { library : "sap.m", properties : { /** * 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. */ rootRole : {type : "sap.ui.core.AccessibleLandmarkRole", defaultValue : "Region"}, /** * 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. */ rootLabel : {type : "string", defaultValue : null}, /** * 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. */ contentRole : {type : "sap.ui.core.AccessibleLandmarkRole", defaultValue : "Main"}, /** * 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. */ contentLabel : {type : "string", defaultValue : null}, /** * 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. */ headerRole : {type : "sap.ui.core.AccessibleLandmarkRole", defaultValue : "Region"}, /** * 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. */ headerLabel : {type : "string", defaultValue : null}, /** * 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. */ subHeaderRole : {type : "sap.ui.core.AccessibleLandmarkRole", defaultValue : "None"}, /** * 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. */ subHeaderLabel : {type : "string", defaultValue : null}, /** * 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. */ footerRole : {type : "sap.ui.core.AccessibleLandmarkRole", defaultValue : "Region"}, /** * 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. */ footerLabel : {type : "string", defaultValue : null} } }}); return PageAccessibleLandmarkInfo; });