case h1
case h2
case h3
case h4
case h5
case h6
case unspecified
Availability 有効性
Technology
@frozen enum AccessibilityHeadingLevel
Assistive technologies can use this to improve a users navigation through multiple headings. When users navigate through top level headings they expect the content for each heading to be unrelated.
For example, you can categorize a list of available products into sections, like Fruits and Vegetables. With only top level headings, this list requires no heading hierarchy, and you use the Accessibility
heading level. On the other hand, if sections contain subsections, like if the Fruits section has subsections for varieties of Apples, Pears, and so on, you apply the Accessibility
level to Fruits and Vegetables, and the Accessibility
level to Apples and Pears.
Except for Accessibility
, be sure to precede all leveled headings by another heading with a level that’s one less.
init?(rawValue : UInt)
var rawValue : UInt
typealias RawValue
func accessibilityTextContentType (AccessibilityTextContentType ) -> ModifiedContent <Self, AccessibilityAttachmentModifier >
func accessibilityHeading (AccessibilityHeadingLevel ) -> ModifiedContent <Self, AccessibilityAttachmentModifier >
struct AccessibilityTextContentType