"semantics" property of View

The "semantics" string property (Semantics constant) defines the semantic meaning of the View.This property may have no visible effect, but it allows search engines to understand the structure of your application.It also helps to voice the interface to systems for people with disabilities:

Value Name Semantics
0 "default" Unspecified. Default value.
1 "article" A stand-alone part of the application intended for independent distribution or reuse.
2 "section" A stand-alone section that cannot be represented by a more precise semantically element
3 "aside" A part of a document whose content is only indirectly related to the main content (footnote, label)
4 "header" Application Title
5 "main" Main content (content) of the application
6 "footer" Footer
7 "navigation" Navigation bar
8 "figure" Image
9 "figure-caption" Image Title. Should be inside "figure"
10 "button" Button
11 "p" Paragraph
12 "h1" Level 1 text heading. Changes the style of the text
13 "h2" Level 2 text heading. Changes the style of the text
14 "h3" Level 3 text heading. Changes the style of the text
15 "h4" Level 4 text heading. Changes the style of the text
16 "h5" Level 5 text heading. Changes the style of the text
17 "h6" Level 6 text heading. Changes the style of the text
18 "blockquote" Quote. Changes the style of the text
19 "code" Program code. Changes the style of the text