When to label, when to tooltip?

Proper labeling of all UI elements is needed in order to ensure that the screen reader announces everything correctly.

Here you can find information about available options and how and when they should be used.

Input elements should have labels.

<Label text="First Name" labelFor="name" />
<Input id="name" />
See Example

Tables should have titles

<Title id="title" text="Products" />
<Table ariaLabelledBy="title">
	<columns>
		<Column width="11rem">
			<Text text="Product Name" />
		</Column>
		<Column width="11rem">
			<Text text="Product Id" />
		</Column>
	</columns>
	<items>
		<ColumnListItem>
			<cells>
				<ObjectIdentifier title="Notebook" />
				<ObjectIdentifier title="00001" />
			</cells>
		</ColumnListItem>
	</items>
</Table>

Non-decorative sap.m.Image/sap.ui.core.Icon should provide a meaningful alternative description in the alt property.

<Image src="IMAGE_PATH" alt="This is an image showing an elephant" decorative=false />

Icon-only sap.m.Button should have a tooltip.

<Button icon="sap-icon://action" press=".onPress" tooltip="Action Name" />

Dialog with static content should be labeled

<Dialog ariaLabelledBy="title" title="Product">
		<content>
			<Text id="title" text="Notebook" />
		</content>
	</Dialog>
See Example