Skip to content

ARIA heading role: aria-level is required #39482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This defines the text in the `<div>` to be the main heading of the page, indicat
### Associated WAI-ARIA roles, states, and properties

- [`aria-level`](/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-level)
- : The `aria-level` attribute specifies the heading level in the document structure. If no level is present, a value of 2 is the default.
- : The `aria-level` attribute specifies the heading level in the document structure. This attribute is required: authors must indicate the proper nesting level, to ensure elements with a role of heading are organized into a logical outline.

### Keyboard interactions

Expand Down