Table of Contents

Enum LayoutElement

Namespace
TwBlazor.Enums
Assembly
TwBlazor.dll

The HTML element a layout component renders, so the layout can carry the right meaning for assistive technology.

public enum LayoutElement

Fields

Article = 2

An article, for self-contained content such as a product or a post.

Aside = 4

An aside (complementary landmark), for content related to the main content.

Div = 0

A div, which has no meaning of its own.

Dl = 11

A dl (description list).

Fieldset = 13

A fieldset, for a group of related form controls.

A footer.

Form = 12

A form.

Header = 5

A header.

Li = 10

An li (list item), for an item inside a list layout.

Main = 3

A main landmark. A page should have only one.

Nav = 7

A nav landmark. Give it an accessible name when a page has more than one.

Ol = 9

An ol (ordered list). Its children should be list items.

P = 15

A p (paragraph).

Section = 1

A section. It becomes a region landmark once it has an accessible name.

Span = 14

A span, for an inline layout inside text.

Ul = 8

A ul (unordered list). Its children should be list items.