<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/AttributeScopes/AccessibilityAttributes/HeadingLevelAttribute/HeadingLevel",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation15AttributeScopesO13AccessibilityE0D10AttributesV012HeadingLevelB0O0fG0O"
  },
  "title" : "AttributeScopes.AccessibilityAttributes.HeadingLevelAttribute.HeadingLevel"
}
-->

# AttributeScopes.AccessibilityAttributes.HeadingLevelAttribute.HeadingLevel

The hierarchy of a heading in relation other headings.

```
enum HeadingLevel
```

## Overview

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.

## Topics

### Enumeration Cases

[`case h1`](/documentation/Foundation/AttributeScopes/AccessibilityAttributes/HeadingLevelAttribute/HeadingLevel/h1)

[`case h2`](/documentation/Foundation/AttributeScopes/AccessibilityAttributes/HeadingLevelAttribute/HeadingLevel/h2)

[`case h3`](/documentation/Foundation/AttributeScopes/AccessibilityAttributes/HeadingLevelAttribute/HeadingLevel/h3)

[`case h4`](/documentation/Foundation/AttributeScopes/AccessibilityAttributes/HeadingLevelAttribute/HeadingLevel/h4)

[`case h5`](/documentation/Foundation/AttributeScopes/AccessibilityAttributes/HeadingLevelAttribute/HeadingLevel/h5)

[`case h6`](/documentation/Foundation/AttributeScopes/AccessibilityAttributes/HeadingLevelAttribute/HeadingLevel/h6)

[`case unspecified`](/documentation/Foundation/AttributeScopes/AccessibilityAttributes/HeadingLevelAttribute/HeadingLevel/unspecified)

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Decodable`](/documentation/Swift/Decodable)

[`Escapable`](/documentation/Swift/Escapable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`Encodable`](/documentation/Swift/Encodable)

[`Copyable`](/documentation/Swift/Copyable)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)